资讯详情

(repost)TLS definition in libmpi_mt.so section .tbss mismatches non-TLS definition in libmpi.so.12 .

found this post today - I try to compile hpl , in pdtest got an mismatch

mpchk -Wall ../HPL_pdtest.c

mpiicc -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DHPL_DETAILED_TIMING -DHPL_PROGRESS_REPORT -I/home/lindne03/hpl/include -I/home/lindne03/hpl/include/Linux_Intel64 -I/cluster/intel/compilers_and_libraries_2017.1.132/linux/mkl/mkl/include -I/cluster/intel/impi/4.1.3.048/include64 -O3 -w -ansi-alias -i-static -z noexecstack -z relro -z now -nocompchk -Wall -openmp -o /home/lindne03/hpl/bin/Linux_Intel64/xhpl HPL_pddriver.o HPL_pdinfo.o HPL_pdtest.o /home/lindne03/hpl/lib/Linux_Intel64/libhpl.a -L/cluster/intel/compilers_and_libraries_2017.1.132/linux/mkl/mkl/lib/intel64 -Wl,--start-group /cluster/intel/compilers_and_libraries_2017.1.132/linux/mkl/lib/intel64/libmkl_intel_lp64.a /cluster/intel/compilers_and_libraries_2017.1.132/linux/mkl/lib/intel64/libmkl_intel_thread.a /cluster/intel/compilers_and_libraries_2017.1.132/linux/mkl/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -ldl /cluster/intel/impi/4.1.3.048/lib64/libmpi.a

ld: MPIR_Thread: TLS definition in /cluster/intel/impi/4.1.3.048/intel64/lib/libmpi_mt.so section .tbss mismatches non-TLS definition in /cluster/intel/impi/4.1.3.048/lib64/libmpi.a(initthread.o) section .bss

mpiicpc -show

icpc -I/cluster/intel/impi/4.1.3.048/intel64/include -L/cluster/intel/impi/4.1.3.048/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /cluster/intel/impi/4.1.3.048/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/4.1 -lmpigc4 -lmpigf -lmpi -lmpigi -ldl -lrt -lpthread

# LINKFLAGS = $(CCFLAGS) $(OMP_DEFS) -mt_mpi

modiefied to LINKFLAGS = $(CCFLAGS) $(OMP_DEFS)

should adjust "both sides" TLS / non-TLS but didn't found the other side ..

Regards

Gert

标签: 直线位移传感器lmpi

锐单商城拥有海量元器件数据手册IC替代型号,打造 电子元器件IC百科大全!

锐单商城 - 一站式电子元器件采购平台