The simplest solution would probably be to define a generic resource (GRES) of "jobs", two per node, and then in a job_submit plugin, set every job to require one GRES of type "jobs" (at least that's what we did on some Cray systems). More information here:
http://slurm.schedmd.com/gres.html http://slurm.schedmd.com/job_submit_plugins.html Quoting "Ethier, Michael" <[email protected]>:
Hello, We have a user asking if there is a way to tell slurm to only schedule 2 jobs per node at any one time. Is there an easy way to do this ? Thanks, Mike
