Chris, it does not appear you can do this with currently with sbatch, I don't easily see any reason it shouldn't work though. You can currently alter it with the NumCPUs option of scontrol (it takes a range). Perhaps this can be added in a future version.

Danny

On 10/16/13 12:25, Chris Harwell wrote:
Is there a --MaxCPUs?
Hi Slurm Experts,

Does Slurm support the user requesting a range of CPUs?

I know we can specify a range of nodes like  --nodes=1-100
and  one can specify --mincpus 2
and in a QOS one can specify MaxCPUsPerJob.
so,I guess one could create a bunch of QOSs which the user could select (or assign them based on some other criteria in a job submit plugin maybe).

Am I missing it or is there no way to specify a range of cpus as an argument to sbatch?

Thanks in advance,
Chris




Reply via email to