SLURM: Changing the maximum number of simultaneously running tasks for a running array job

6.2k Views Asked by At

I have set of an array job as follows:

sbatch --array=1:100%5 ...

which will limit the number of simultaneously running tasks to 5. The job is now running, and I would like to change this number to 10 (i.e. I wish I'd run sbatch --array=1:100%10 ...).

The documentation on array jobs mentions that you can use scontrol to change options after the job has started. Unfortunately, it's not clear what this option's variable name is, and I don't think it is listed in the documentation of the sbatch command here.

Any pointers well received.

1

There are 1 best solutions below

0
Carles Fenoy On BEST ANSWER

You can change the array throttling limit with the following command:

scontrol update ArrayTaskThrottle=<count> JobId=<jobID>