[英]Slurm- transfer files, local scratch
Slurm's reversed sbcast
is sgather
. Slurm 的反向
sbcast
是sgather
。 An example on how to use it with 10 tasks launched on 5 different nodes关于如何在 5 个不同节点上启动的 10 个任务中使用它的示例
$ salloc -N 5 --exclusive
$ srun -n 10 -N 5 bash -c 'echo $(hostname):$SLURM_JOB_ID:$SLURM_TASK_PID >> /tmp/file'
$ sgather /tmp/file ./file
$ ls
file.node1273 file.node1274 file.node1275 file.node1276 file.node1285
$ cat file.node1273
node1273:246987:1777529
node1273:246987:1777528
See man 1 sgather
for details about options.有关选项的详细信息,请参阅
man 1 sgather
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.