Re: AMBER: Parallel compile: ld: cannot find -lfmpi

From: David A. Case <case.scripps.edu>
Date: Mon, 11 Sep 2006 11:19:12 -0700

On Mon, Sep 11, 2006, Lachele Foley (Lists) wrote:

> Amber9 on an itanium machine (RHEL 3 build 4):
> 2.4.21-27.EL #1 SMP Wed Dec 1 21:54:21 EST 2004 ia64 ia64 ia64 GNU/Linux
>
> The parallel compile fails with the following:
>
> ...
> qm_div.o force.o \
> ../lmod/lmod.a ../lapack/lapack.a ../blas/blas.a \
> ../lib/nxtsec.o ../lib/sys.a -L/opt/scali/lib -lfmpi -lmpi
> /opt/intel/mkl721//lib/64/libmkl_lapack.a
> /opt/intel/mkl721//lib/64/libmkl_ipf.a -L/opt/intel/mkl721//lib/64
> -lguide -lpthread -ldl
> ld: cannot find -lfmpi
>
> The file libfmpi.so exists in /opt/scali/lib, and is
> world-readable/executable.

Just a guess: is it possible that you had the -static flag on the load line
when the above error occurred? If so, remove it (to allow the linker to look
for shared libraries). I gather you tried this, but maybe you get some
different error(?) when -static is not present.

...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Wed Sep 13 2006 - 06:07:10 PDT
Custom Search