Hello,
I am trying to install lam-mpi running on Linux OpenSuse10.1
using either the 4.1.1. gcc compilers or the intel 9.0 fc
and 9.1. cc compilers.
Unfortunately neither seems to work. Under g77/gcc the
config step fails, under intel the compilation fails, see
logs below.
How can I get lam-mpi to compile?
Thanks a lot for any help, Jens.
---------------------------------------------------------------
Dr. Jens-Dominik Müller
School of Engineering and Materials Science
Mile End Road
Queen Mary, University of London
London, E1 4NS
-------------------
gcc
>> /usr/local/bin/g77 -v Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.1/configure --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.1.1
>> /usr/local/bin/g++ -v Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.1/configure --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.1.1
>> /usr/local/bin/gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.1/configure --enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.1.1
>> ./configure FC=/usr/local/bin/g77 CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ --prefix=/usr/local/lam-mpi-7.1.2
[...]
*** 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.
--------------------------
intel
>> ifort -v
Version 9.0
>> icc -v
Version 9.1
>> ./configure FC=ifc CC=icc CXX=icc --prefix=/usr/local/lam-mpi-7.1.2
[...]
============================================================================
== Final top-level LAM configuration
============================================================================
[..]
config.status: creating share/include/lam_config.h
config.status: executing depfiles commands
>> make
[..]
laminfo.cc:(.text+0x857b): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::basic_string(char const*, std::alloca tor<char> const&)'
laminfo.cc:(.text+0x858a): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x8598): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.cc:(.text+0x85a1): undefined reference to `std::allocator<char>::allocat or()'
laminfo.cc:(.text+0x85b7): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::basic_string(char const*, std::alloca tor<char> const&)'
laminfo.cc:(.text+0x85c6): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x85d4): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.cc:(.text+0x85dd): undefined reference to `std::allocator<char>::allocat or()'
laminfo.cc:(.text+0x85f3): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::basic_string(char const*, std::alloca tor<char> const&)'
laminfo.cc:(.text+0x8602): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x8610): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.cc:(.text+0x8619): undefined reference to `std::allocator<char>::allocat or()'
laminfo.cc:(.text+0x862f): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::basic_string(char const*, std::alloca tor<char> const&)'
laminfo.cc:(.text+0x863e): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x864c): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.cc:(.text+0x8655): undefined reference to `std::allocator<char>::allocat or()'
laminfo.cc:(.text+0x866b): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::basic_string(char const*, std::alloca tor<char> const&)'
laminfo.cc:(.text+0x867a): undefined reference to `std::basic_string<char, std:: char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x8688): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.cc:(.text+0x8698): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.cc:(.text+0x86af): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.cc:(.text+0x86c6): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.cc:(.text+0x86dd): undefined reference to `std::allocator<char>::~alloca tor()'
laminfo.o:laminfo.cc:(.text+0x86f4): more undefined references to `std::allocato r<char>::~allocator()' follow
laminfo.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
make[2]: *** [laminfo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
laminfo.cc:(.text+0x84e4): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x84ed): undefined reference to `std::allocator<char>::allocator()'
laminfo.cc:(.text+0x8503): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
laminfo.cc:(.text+0x8512): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x8520): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x8529): undefined reference to `std::allocator<char>::allocator()'
laminfo.cc:(.text+0x853f): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
laminfo.cc:(.text+0x854e): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x855c): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x8565): undefined reference to `std::allocator<char>::allocator()'
laminfo.cc:(.text+0x857b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
laminfo.cc:(.text+0x858a): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x8598): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x85a1): undefined reference to `std::allocator<char>::allocator()'
laminfo.cc:(.text+0x85b7): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
laminfo.cc:(.text+0x85c6): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x85d4): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x85dd): undefined reference to `std::allocator<char>::allocator()'
laminfo.cc:(.text+0x85f3): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
laminfo.cc:(.text+0x8602): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x8610): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x8619): undefined reference to `std::allocator<char>::allocator()'
laminfo.cc:(.text+0x862f): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
laminfo.cc:(.text+0x863e): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x864c): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x8655): undefined reference to `std::allocator<char>::allocator()'
laminfo.cc:(.text+0x866b): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
laminfo.cc:(.text+0x867a): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
laminfo.cc:(.text+0x8688): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x8698): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x86af): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x86c6): undefined reference to `std::allocator<char>::~allocator()'
laminfo.cc:(.text+0x86dd): undefined reference to `std::allocator<char>::~allocator()'
laminfo.o:laminfo.cc:(.text+0x86f4): more undefined references to `std::allocator<char>::~allocator()' follow
laminfo.o:(.eh_frame+0x12): undefined reference to `__gxx_personality_v0'
make[2]: *** [laminfo] Error 1
make[2]: Leaving directory `/export/home/jmuller/software/lam-mpi/lam-7.1.2/tools/laminfo'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/export/home/jmuller/software/lam-mpi/lam-7.1.2/tools'
make: *** [check-recursive] Error 1
|