List Info

Thread: Re: LAM: Installation problem




Re: LAM: Installation problem
country flaguser name
United Kingdom
2007-02-19 10:22:56

   From: Jeff Squyres <jsquyrescisco.com>
   In-Reply-To: <E1HI6F0-0005Nj-K3smtp.qmul.ac.uk>
   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.



_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )