我正在尝试按照这份(可能是较旧的)指南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 &
我以前从未使用过类似的工具,所以我在这里有点迷失了。 谢谢
答案 0 :(得分:0)
全局配置文件中显然有一个错字:错误消息中的行
CPUd=24 Sockets=2 ...
应该是
CPU=24 Sockets=2 ...
只有管理员才能解决。
您可以做的是复制该文件,修复错字,然后运行
export SLURM_CONF=/path/to/your/copy
在运行sbatch
之前。