I'm trying to use sbcast to copy an executable to the nodes I wish to run a task on, but it seems to be failing.
Any suggestions would be appreciated  :)


I have an executable:  /tmp/myexe

Starting the job:

sbatch -v -w nid00[020-021] my.job
sbatch: Serial Job Resource Selection plugin loaded with argument 52
sbatch: Linear node selection plugin loaded with argument 52
Submitted batch job 50

The contents of my.job:

#!/bin/bash
sbcast /tmp/myexe /tmp/myexe
srun /tmp/myexe -t 5


The result, on nid 20:

cat slurm-50.out
sbcast: error: Can't open `/tmp/myexe`: No such file or directory
slurmstepd: execve(): /tmp/myexe: No such file or directory
slurmstepd: execve(): /tmp/myexe: No such file or directory
srun: error: nid00020: task 0: Exited with exit code 2
srun: Terminating job step 50.0
srun: Job step aborted: Waiting up to 2 seconds for job step to finish.
srun: error: nid00021: task 1: Exited with exit code 2

Reply via email to