计算化学公社

标题: 用AOCC和AOCL编译openmpi时出现ld.lld: error错误应如何解决 [打印本页]

作者
Author:
dali    时间: 2024-2-23 22:35
标题: 用AOCC和AOCL编译openmpi时出现ld.lld: error错误应如何解决
请问大家AOCC和AOCL 4.1.0已经安装成功,系统为Rocky Linux 9.2,gcc,g++,gfortran都已经安装,安装OpenMPI 5.0.1时运行./configure CC=clang CXX=clang++ FC=flang --prefix=/opt/openmpi-5.0.1-aocc也成功了,但接下来运行make install过程中出现如下错误:
ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __extendhfsf2
>>> referenced by ../../../ompi/.libs/libmpi.so
ld.lld: error: undefined reference due to --no-allow-shlib-undefined: __truncsfhf2
>>> referenced by ../../../ompi/.libs/libmpi.so
clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
请问大家这个ld.lld: error应该如何解决?



作者
Author:
biogon    时间: 2024-2-26 17:57
用高版本的gnu编译器




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3