slurm: sbatch: fatal: 无法处理配置文件



我正在尝试按照这个(可能是旧的(指南使用大学的网格计算 http://cmp.felk.cvut.cz/cmp/hardware/grid/问题是我收到此错误

There was an error running the Slurm sbatch command.
The command was:
'/usr/bin/sbatch -e scr.sh.e%A -o scr.sh.o%A /datagrid/temporary/beliansky/repeats/scr.sh 2>&1'
and the output was:
'sbatch: error: Parsing error at unrecognized key: CPUd
sbatch: error: Parse error in file /etc/slurm-llnl/slurm.conf line 189: " CPUd=24 Sockets=2 CoresPerSocket=6 ThreadsPerCore=2 RealMemory=198000 TmpDisk=360000 "
sbatch: fatal: Unable to process configuration file
'

这些是我尝试 scr.sh:

#!/bin/sh
nohup /usr/local/bin/matlab -nodesktop -nodisplay < /datagrid/temporary/beliansky/repeats/repeats/cg.m > /datagrid/temporary/beliansky/repeats/outfile.txt 2> /datagrid/temporary/beliansky/repeats/error.txt &
#!/bin/sh -l
nohup /usr/local/bin/matlab -nodesktop -nodisplay < /datagrid/temporary/beliansky/repeats/repeats/cg.m > /datagrid/temporary/beliansky/repeats/outfile.txt 2> /datagrid/temporary/beliansky/repeats/error.txt &
#!/bin/sh
/usr/local/bin/matlab -nodesktop -nodisplay < /datagrid/temporary/beliansky/repeats/repeats/cg.m > /datagrid/temporary/beliansky/repeats/outfile.txt 2> /datagrid/temporary/beliansky/repeats/error.txt &
#!/bin/sh -l
/usr/local/bin/matlab -nodesktop -nodisplay < /datagrid/temporary/beliansky/repeats/repeats/cg.m > /datagrid/temporary/beliansky/repeats/outfile.txt 2> /datagrid/temporary/beliansky/repeats/error.txt &

我以前从未使用过这样的事情,所以我在这里有点迷茫。 谢谢

全局配置文件中显然有一个拼写错误:错误消息中的行

CPUd=24 Sockets=2 ...

应该是

CPU=24 Sockets=2 ...

这是只有管理员才能解决的问题。

您可以做的是复制该文件,修复拼写错误,然后运行

export SLURM_CONF=/path/to/your/copy

在运行sbatch之前。

最新更新