Ralf Wildenhues wrote:
> * Robert LeBlanc wrote on Tue, Mar 21, 2006 at 06:14:52PM CET:
>
>>>/opt/intel/cc/9.0/bin/icpc -O3 -pthread -o mpicc mpicc.o wrap_cc.o
>>>wrap_engine_cc.o ../../share/liblam/.libs/liblam.a -ldl -lutil
>>>mpicc.o(.text+0xca7): In function `main':
>>>mpicc.cc: undefined reference to `__gthrw_pthread_once(int*, void (*)())'
>>>mpicc.o(.gnu.linkonce.t._ZNSt6vectorISsSaISsEE9push_backERKSs[.gnu.linkonc
>>>e.t._ZNSt6vectorISsSaISsEE9push_backERKSs]+0x88f):
>>>In function `std::vector<std::string, std::allocator<std::string>
>>> >::push_back(std::string const&)':
>>>mpicc.cc: undefined reference to `__gthrw_pthread_once(int*, void (*)())'
>
>
> FWIW, a bit of web searching turned this up:
> http://softwareforums.intel.com/ids/board/message?board.id=16&message.id=3484
>
> So you may want to try
>
> ./configure --prefix=/usr/local/lam/lam-7.1.2_intel \
> --without-exflags \
> --with-boot-tm=/var/spool/PBS \
> CC=/opt/intel/cc/9.0/bin/icc \
> CXX=/opt/intel/cc/9.0/bin/icpc \
> FC=/opt/intel/fc/9.0/bin/ifort \
> CPPFLAGS=-D_GLIBCXX_GTHREAD_USE_WEAK=0 \
> CXXFLAGS=-pthread
>
> Hope that helps (feedback appreciated).
>
> Cheers,
> Ralf
Yes, Installation of LAM/MPI 7.1.2 is complete using your configure
directions. I hope to have time to run thru the test suite tomorrow.
Many thanks!
Paul
|