操作系统版本:CentOS 8
DTK 版本:DTK-23.04.1
驱动版本:rock-5.7.1-6.2.18-1.x86_64
DCU 版类型:K100
问题描述:
使用 DCU 运行一宇宙学流体模拟代码:https://github.com/gamer-project/gamer/wiki。
按照文档中的描述设置.config文件(示例于附件中),在 src 文件夹中使用python configure.py --machine=XXX --fftw=FFTW3 --mpi=true --openmp=true --hdf5=true --gpu=true 生成 Makefile文件,make -j 编译。(使用24年版本的 DTK 会在编译阶段报错,可见https://forum.sourcefind.cn/thread/701,之前与曙光的工作人员沟通未解决,切换到 DTK-23.04.1 可以成功编译。)编译生成的执行程序 gamer 在 bin 文件夹中。
将example/test_problem/Hydro/BlastWave示例文件夹复制到 bin 中,进入 BlastWave。将 gamer 复制进来。执行 ./gamer 会报错./gamer: error while loading shared libraries: Object/gpu_link.o: cannot open shared object file: No such file or directory。将 src 文件夹中的 Object 文件夹复制到 BlastWave 下,ldd gamer 可以找到 gpu_link.o了。此时再执行 ./gamer 出现报错:
目前到这一步不知道如何解决,希望能获得帮助。:baoquan::baoquan:
暂无数据
暂无数据