Re: [Numpy-discussion] library linking during numpy build

2008-11-04 Thread David Cournapeau
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


Re: [Numpy-discussion] library linking during numpy build

2008-11-04 Thread Frank Lagor
On Tue, Nov 4, 2008 at 12:07 PM, David Cournapeau <
[EMAIL PROTECTED]> 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
___
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion