LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Tim Prince (tprince_at_[hidden])
Date: 2005-01-12 14:31:03


At 10:18 AM 1/12/2005, John Young wrote:

>I am trying to build LAM 7.0.4 on an AMD64 box running SuSE
>Linux Enterprise Server 9 using the Intel EM64T Fortran, C,
>and C++ compilers.
>
>My configure command is "./configure CC=/opt/intel/bin/icc
>CXX=/opt/intel/bin/icc FC=/opt/intel/bin/ifc --disable-tv-queue --with-rsh=ssh
>
>Configure hits some bumps but seems to complete successfully.
>Make goes along until I get the message(s):
>
>/opt/intel/bin/icc -O3 -pthread -o laminfo laminfo.o
>.../../share/.libs/libmpi.a ../../share/.libs/liblam.a -laio -lutil
>laminfo.o(.text+0x256): In function `main':
>: undefined reference to `std::allocator<char>::allocator()'
>laminfo.o(.text+0x26a): In function `main':
>: undefined reference to `std::basic_string<char, std::char_traits<char>,
>std::allocator<char> >::basic_string(char const*, std::allocator<char>
>const&)' and so on....

In your configure command, you have specified the use of icc (C compiler)
as both the C and CXX compiler. It looks like you have a recent version,
where you need to specify icpc as the CXX compiler. Your scripts show
warning messages about the change in name of the Fortran compiler,
currently ifort.

Tim Prince