本地在HIP version: 4.3.21300-5bbc51d8环境下(本地显卡是nvdia显卡,程序只能编译无法运行)编译为可执行文件上传至云平台,加载compiler/rocm/dtk-21.10环境,提交作业出现以下错误
[ghfund_1_a5@login01 ceshi]$ srun -p kshdtest -N 1 -n 1 --gres=dcu:1 ./yuan
srun: job 15175378 queued and waiting for resources
srun: job 15175378 has been allocated resources
srun: ROUTE: split_hostlist: hl=j17r2n14 tree_width 0
/public/home/ghfund_1_a5/ceshi/./yuan: /public/software/compiler/rocm/dtk-21.10/lib/libamdhip64.so.4: version `hip_4.2' not found (required by /public/home/ghfund_1_a5/ceshi/./yuan)
srun: error: j17r2n14: task 0: Exited with exit code 1
srun: Terminating job step 15175378.0
compiler/rocm/dtk-21.04环境下出现
/data/jenkins_workspace/workspace/hip_21.04/hip/rocclr/hip_code_object.cpp:120: guarantee(false && "hipErrorNoBinaryForGpu: Coudn't find binary for current devices!")

暂无数据
使用dtk-21.10报错是因为版本间目前暂时不兼容,建议使用对应版本进行编译。dtk-21.04报错提示表示无法正确加载,通常是因为编译过程不正确导致