|
本帖最后由 乐平 于 2022-2-16 06:43 编辑
谢谢您的回复。我按照您的提示修改了提交任务的脚本
- #!/bin/sh
- export EXE="singularity exec --bind /public/home/huan/:/opt /public/home/huan/cp2k82-avx512-1.sif"
- source /public/apps/intel2018/parallel_studio_xe_2018/psxevars.sh
- ## cpu cores
- export cpu_cores=6
- ulimit -s unlimited
- mpirun -np ${cpu_cores} ${EXE} cp2k.popt cp2k.inp 1>cp2k.out 2>cp2k.err
复制代码
但是,提交任务后,cp2k.out 内为空,cp2k.err 内显示
- source: open /opt/cp2k-toolchain/install/setup: no such file or directory
- source: open /opt/cp2k-toolchain/install/setup: no such file or directory
- source: open /opt/cp2k-toolchain/install/setup: no such file or directory
- source: open /opt/cp2k-toolchain/install/setup: no such file or directory
- source: open /opt/cp2k-toolchain/install/setup: no such file or directory
- FATAL: "cp2k.popt": executable file not found in $PATH
- FATAL: "cp2k.popt": executable file not found in $PATH
- FATAL: "cp2k.popt": executable file not found in $PATH
- FATAL: "cp2k.popt": executable file not found in $PATH
- FATAL: "cp2k.popt": executable file not found in $PATH
- source: open /opt/cp2k-toolchain/install/setup: no such file or directory
- FATAL: "cp2k.popt": executable file not found in $PATH
复制代码
很疑惑…… 这是从楼主的百度网盘里下载的 cp2k82-avx512-1.sif 文件,按理说楼主编译的时候应该添加了 source: open /opt/cp2k-toolchain/install/setup 和环境变量,为什么没有呢?
|
|