我正在尝试用Slurm在多语言环境模式下运行Chapel。但是,“make check”失败。有人能帮我一下吗?
我使用的是Chapel 1.23.0。以下是我使用的实际命令:
cd chapel-1.23.0/
export CHPL_HOME=$PWD
source $CHPL_HOME/util/setchplenv.bash
export CHPL_COMM=gasnet
export CHPL_LAUNCHER=slurm-srun
export CHPL_TARGET_CPU=native
make && make check下面是我得到的错误消息:
== Actual Test Output (raw, with verbose) ==
srun --job-name=CHPL-hello6-tas --quiet --nodes=4 --ntasks=4 --ntasks-per-node=1 --cpus-per-task=16 --exclusive --mem=0 --kill-on-bad-exit /home/user1/.chpl/chapel-test-P4CwK/hello6-taskpar-dist_real -nl4 --printLocaleName=false -v
GASNet: Invalid number of nodes: -nl4
GASNet: Usage '/home/user1/.chpl/chapel-test-P4CwK/hello6-taskpar-dist_real <num_nodes> {program arguments}'发布于 2021-01-20 09:08:50
假设您使用的是gasnet的udp基板($CHPL_HOME/util/printchplenv显示为CHPL_COMM_SUBSTRATE: udp),那么slurm-srun在该特定配置中不起作用。udp基板需要CHPL_LAUNCHER=amudprun。在https://chapel-lang.org/docs/platforms/udp.html#using-the-udp-conduit-with-slurm中,您应该能够执行以下操作:
export CHPL_LAUNCHER=amudprun
export GASNET_SPAWNFN=C
export GASNET_CSPAWN_CMD="srun -N%N %C"请注意,您必须重做顶级make命令。
这告诉Chapel使用ssh启动器,然后让amudprun知道如何在这个系统上生成(在本例中使用srun,而不是默认使用ssh)。
https://stackoverflow.com/questions/65747355
复制相似问题