Thanks a lot! It looks like this did the trick:
"-Wl,-rpath,/opt/intel_cc_80/lib"
Thanks,
Keith Stevens
Johns Hopkins University
-----Original Message-----
From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf Of
Richard Hadsell
Sent: Wednesday, June 30, 2004 3:51 PM
To: General LAM/MPI mailing list
Subject: Re: LAM: Compiling LAM 7.0.6 with Intel C Compiler 8.0
Keith Stevens wrote:
>Hello,
>
>
>
>Can someone please shed some light on this problem?
>
>
>
>We are trying to compile LAM v.7.0.6 with Intel C Compiler v.8.0 (icc) OS
is
>a RedHat Linux 9.0Beowulf Cluster with latest updates with dual Intel Xeon
>2.8GHz processors and 2GB memory.
>
>
>
>
>
>Steps made prior to running the configure script:
>
>
>
>export CC=icc
>
>export CCFLAGS='-03 -tpp6'
>
>export CFLAGS=-O3
>
>export CXX=icc
>
>export CXXFLAGS='-03 -tpp6'
>
>export CXXLDFLAGS=-static-libcxa
>
>export LD_RUN_PATH=/opt/intel_cc_80/lib
>
>
>
>============================
>
>./configure --prefix=/usr/local/installs/LAM/mylam
>
>
>
>The following output was generated by the configure script:
>
>
>
>Configuring LAM version 7.0.6
>
>============================
>
>
>
>*** Initialization, setup
>
>checking for a BSD-compatible install... /usr/bin/install -c
>
>checking whether build environment is sane... yes
>
>checking for gawk... gawk
>
>checking whether make sets $(MAKE)... yes
>
>checking build system type... i686-pc-linux-gnu
>
>checking host system type... i686-pc-linux-gnu
>
>installing to directory "/usr/local/installs/LAM/mylam"
>
>
>
>*** C Compiler and preprocessor
>
>checking if want debugging output support... no
>
>checking for gcc... icc
>
>checking for C compiler default output file name... a.out
>
>checking whether the C compiler works... yes
>
>checking whether we are cross compiling... no
>
>checking for suffix of executables...
>
>checking for suffix of object files... o
>
>checking whether we are using the GNU C compiler... yes
>
>checking whether icc accepts -g... yes
>
>checking for icc option to accept ANSI C... none needed
>
>checking for style of include used by make... GNU
>
>checking dependency style of icc... gcc
>
>checking how to run the C preprocessor... icc -E
>
>checking for egrep... grep -E
>
>checking whether icc needs -traditional... no
>
>checking for AIX... no
>
>checking if need special C compiler/linker flags... none needed
>
>checking for C optimization flags... -O3
>
>checking whether the C compiler (icc -O3) accepts ANSI prototypes... no
>
>[configure:
>
> WARNING: *** LAM requires a compiler which understands ANSI C
>prototypes
>
>configure: error: *** Cannot continue.
>
>
Do you have the latest patch level of Intel C++ 8.0 for Linux? I was
using a fairly recent version (not the very latest), and I did not have
this problem. The other difference I see is that the answer to
"checking dependency style of icc" was "gcc3". All other responses up
to this point were the same.
The other thing you might need to do is to add
"-Wl,-rpath,/opt/intel_cc_80/lib" to your LDFLAGS and CXXLDFLAGS in
order to build executables that can find the runtime libraries.
--
Dick Hadsell 914-259-6320 Fax: 914-259-6499
Reply-to: hadsell_at_[hidden]
Blue Sky Studios http://www.blueskystudios.com
44 South Broadway, White Plains, NY 10601
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|