Jeff Squyres wrote: > On Apr 14, 2010, at 10:17 PM, max marconi wrote: > >> I have just installed openmpi on my system and tried to run the example >> Hello_f90. The following error was generated upon executing. >> >> : error while loading shared libraries: libmpi_f90.so.0: cannot open >> shared object file: No such file or directory >> >> The library with libmpi_f90 is located in /usr/local/lib > > The usual cause for this is that the shared library cannot be found at run > time. Can you verify if /usr/local/lib is in your LD_LIBRARY_PATH on all > nodes, and/or /usr/local/lib is in the normal run-time linker search paths? > > Note that you might need to check this in a non-interactive rsh/ssh login -- > the setups may be different than for interactive logins. > > Also, can you verify that libmpi_f90.so.0 is in /usr/local/lib? You > mentioned "the library with libmpi_f90" -- there should likely be one library > and one or more sym links. >
If everything above checks out, check the file permissions of the library file and the directories above it, too. -- Prentice