[Numpy-discussion] library linking during numpy build

Frank Lagor dfranci@seas.upenn....
Tue Nov 4 12:08:01 CST 2008


On Tue, Nov 4, 2008 at 12:07 PM, David Cournapeau <
david@ar.media.kyoto-u.ac.jp> wrote:

> Frank Lagor wrote:
> > Hi Everyone,
> >
> > I previously had a problem with installing numpy on a cluster of mine,
> > but it seemed to be resolved. The installation was successful and the
> > numpy code ran well.  Unfortunately, this was not the case when I
> > tried to run parallel code.  The other processors have difficulty
> > finding a particular library file, libg2c.so.0.
> > I get the following error:
> > ImportError: libg2c.so.0: cannot open shared object file: No such file
> > or directory
>
> libg2c.so is part of the g77 compiler, normally. You need to install it
> on every machine if you build numpy/scipy with g77 (g2c is part of the
> fortran runtime),
>
> cheers,
>
> David
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


Hi David,

You are correct-- g77 is not installed on every node.  I ssh to each node
and perform which g77 and get no response. What is the easiest way to
install g77 on every node (WITHOUT ROOT PRIVILEGES)?  If I install in my
home directory, will it propagate to every node? I have access to a
directory which is above my home directory which I use for other installs
and is accessible to all nodes.  Which do you recommmend? And finally, what
env vars need to be set, etc, to ensure that the g77 will be visible to each
node?

Thanks again,
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20081104/95cf6996/attachment.html 


More information about the Numpy-discussion mailing list