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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值