List Info

Thread: LAM: Installation problem




LAM: Installation problem
country flaguser name
United Kingdom
2007-02-16 10:47:22
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 bond
  bond, 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/lamin
fo'
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




_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
Re: LAM: Installation problem
user name
2007-02-16 19:01:49
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.

>>> ./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.

-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems

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

[1-2]

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