I'm facing the following error while compiling my application using mpiicpc. I'm using the compiler option -lmpi_mt, as well as -openmp flag for all files.
x86_64-k1om-linux-ld: MPIR_Thread: TLS definition in /opt/intel//impi/4.1.3.048/mic/lib/libmpi_mt.so section .tbss mismatches non-TLS definition in /opt/intel//impi/4.1.3.048/mic/lib/libmpi.so.4 section .bss
/opt/intel//impi/4.1.3.048/mic/lib/libmpi.so.4: could not read symbols: Bad value
The mpiicpc -show output is:
icpc -I/opt/intel//impi/4.1.3.048/intel64/include -L/opt/intel//impi/4.1.3.048/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /opt/intel//impi/4.1.3.048/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpigc4 -lmpigf -lmpi -lmpigi -ldl -lrt -lpthread
Can anyone suggest how to get rid of this error.
I went through this thread https://software.intel.com/en-us/forums/topic/392483 but couldn't resolve my issue.