Solved by adding $LD_LIBRARY_PATH ...
It is probably the lack of knowledge, but is it necessary to have
$LD_LIBRARY_PATH if I compiled the executable with shared libraries (it
has paths to libraries during compilations) ? I do not understand this
properly.
Arturas
Arturas Ziemys wrote:
> Hi,
>
> I have compiled Amber in parallel with g95/mpif90 and OpenMPI on
> RedHat/Xeon(32). OpenMPI is installed in custom folder and $MPI_HOME
> is set to it; as well as $AMBERHOME is done as described. However,
> when I run make test.parallel in $AMBERHOME/test I get error that
> sander.MPI can not load shared library libmpi_f90.so.0 (see below the
> output).
>
> I have checked - that library is as link in $MPI_HOME/lib. Could
> anyone give apiece of advice ?
>
> #------------------------------------------------------------------
> [aziemys.medusa test]$ make test.parallel
> export TESTsander=/home/aziemys/bin/amber9/exe/sander.MPI; make
> test.sander.BASIC
> make[1]: Entering directory `/home/aziemys/bin/amber9/test'
> cd dmp; ./Run.dmp
> /home/aziemys/bin/amber9/exe/sander.MPI: error while loading shared
> libraries: libmpi_f90.so.0: cannot open shared object file: No such
> file or directory
> ./Run.dmp: Program error
> make[1]: *** [test.sander.BASIC] Error 1
> make[1]: Leaving directory `/home/aziemys/bin/amber9/test'
> make: *** [test.sander.BASIC.MPI] Error 2
>
> #------------------------------------------------------------------
>
> Arturas
>
> -----------------------------------------------------------------------
> The AMBER Mail Reflector
> To post, send mail to amber.scripps.edu
> To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
> to majordomo.scripps.edu
>
--
Arturas Ziemys, PhD
postdoc
School of Health Information Sciences
University of Texas Health Science Center at Houston
7000 Fannin, Suit 880
Houston, TX 77030
Phone: (713) 500-3975
Fax: (713) 500-3929
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" (in the *body* of the email)
to majordomo.scripps.edu
Received on Sun Jun 01 2008 - 06:07:13 PDT