you may also be interested in using this:
https://github.com/cinek810/misc/tree/master/jobsubmit/job_sane

this plugin allows you to reject jobs that are trying to use more than one
node, and not the full nodes. It uses separate configuration file to allow
specific users jobs not to be checked and feature combinations to force
jobs placement on full nodes for heterogenous clusters.

Rounding slurm job specification may not work, because users can for
example specify -np to mpirun or set
OMP_NUM_THREADS and "rounded" resources may not be used.

Let me know if you are intersted in using this plugin.

cheers,
marcin

2015-02-12 4:47 GMT+01:00 <je...@schedmd.com>:

>
> You can use a job submit plugin to modify any job submit request. See:
> http://slurm.schedmd.com/job_submit_plugins.html
>
>
>
> Quoting Simon Michnowicz <simon.michnow...@monash.edu>:
>
>> Dear Group,
>> is it possible to configure SLURM so that it rounds up resource requests
>> for hardware, For example, if a user requests 11 cores out of a 12 core
>> machine we would like to force this to be rounded up to12.  Another
>> example
>> is the use of a GPU, so if a user wants 1 core of a socket with a GPU
>> attached, we force them to request the entire socket (for performance
>> reasons)
>>
>> regards
>>
>> --
>> Simon Michnowicz
>> Monash e-Research Centre
>> PH:   (03) 9902 0794
>> Mob: 0418 302 046
>> www.monash.edu.au/eresearch
>>
>
>
> --
> Morris "Moe" Jette
> CTO, SchedMD LLC
> Commercial Slurm Development and Support
>

Reply via email to