AMBER Archive (2006)

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

From: David A. Case (
Date: Mon Sep 11 2006 - 13:19:12 CDT

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 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.

The AMBER Mail Reflector
To post, send mail to
To unsubscribe, send "unsubscribe amber" to