[slurm-users] Re: Run only one time on a node

2025-02-19 Thread Daniel Letai via slurm-users
There are a couple of options here, not exactly convenient but will get the job done: 1. Use array, with `-N 1 -w ` defined for each array task. You can do the same without array, using for loop to submit different sbatchs. 2. Use `scontrol reboot`. Set the reb

[slurm-users] Re: Run only one time on a node

2025-02-18 Thread Shunran Zhang via slurm-users
Assuming all node need to run the same task once... How about -n num_of_nodes --ntasks-per-node=1 ? Otherwise if it is more deployment related I would use ansible to do that. S. Zhang On 2025/02/19 2:37, John Hearns via slurm-users wrote: I am running single node tests on a cluster. I can se