Dear OpenMPI users,

I am trying to compile OpenMPI 1.6 (1.6.3) with Intel 11.0.081 set of compilers. The compilation fails with

  CXXLD  otfprofile
otfprofile-create_latex.o: In function `std::locale::_Impl::_M_remove_reference()': ./create_latex.cpp:(.gnu.linkonce.t._ZNSt6locale5_Impl19_M_remove_referenceEv[.gnu.linkonce.t._ZNSt6locale5_Impl19_M_remove_referenceEv]+0x38): undefined reference to `__sync_fetch_and_add_4'
make[10]: *** [otfprofile] Error 1
make[10]: Leaving directory `/usr/local/programs/openmpi/openmpi-1.6.3/src/openmpi-1.6.3-amd64-intel_11.0.081/ompi/contrib/vt/vt/extlib/otf/tools/otfprofile'

Although I found some hints on the Internet I have not been able to resolve the problem. The gcc version is 'gcc (Debian 4.3.2-1.1) 4.3.2'. I cannot install newer Intel compiler version. Any ideas, please?

My 'configure' is

CC=icc CXX=icpc F77=ifort FC=ifort ./configure --prefix=../../arch/${ARCH} --enable-shared --enable-static --enable-mpirun-prefix-by-default --enable-mpi-threads --with-sge --with-libnuma --with-hwloc

Best regards,

Jiri Polach


Reply via email to