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
I have have played around a lot with the LD_LIBRARY_PATH and my .bashrc file, but to no avail. Lisandro D. graciously recommended to me that I should try to hard link the library to the gcc compilers used to build numpy. However, I am not exactly sure how to do this. Is there some option I can put in the setup.py file that will do it?
Thanks in advance, Frank
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
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