From: Jeff Squyres <jsquyres_at_[hidden]>
In-Reply-To: <E1HI6F0-0005Nj-K3_at_[hidden]>
Date: Fri, 16 Feb 2007 20:01:49 -0500
Subject: Re: LAM: Installation problem
On Feb 16, 2007, at 11:47 AM, Jens-Dominik Mueller wrote:
> *** Fortran Compiler
> checking for FORTRAN compiler /usr/local/bin/g77... found
> checking how to add a library directory to /usr/local/bin/g77... "-L"
> checking /usr/local/bin/g77 external naming convention...
> FORTRANUNDERSCORE
> checking for FORTRAN optimization flags... -O
> checking size of FORTRAN INTEGER... unknown
> configure: WARNING: *** Problem running configure test!
> configure: WARNING: *** See config.log for details.
> configure: error: *** Cannot continue.
Can you send the output of config.log from this failed configure? It
should have the exact error that caused configure to fail.
Feel a bit sheepish now.
>> m config.log
[..]
./conftest: error while loading shared libraries: libgfortran.so.1: cannot open shared object file: No such file or directory
libgfortran.so.1 was installed in /usr/local/lib, but no LD_LIBRARY_PATH
variable was defined. If I define LD_LIBRARY_PATH (or add it to the Intel
ifortvars.csh) then lam-mpi configs ok.
>>> ./configure FC=ifc CC=icc CXX=icc --prefix=/usr/local/lam-mpi-7.1.2
Note that "icc" is the C compiler and "icpc" is the C++ compiler.
You need to specify CXX=icpc (not CXX=icc).
This should allow LAM to link properly.
Indeed, that compiles fine. On to run the testsuite. Thanks very much
for sorting out my pbs, Jens.
|