[slurm-users] Distribute a single node resources across multiple partitons

Loris Bennett loris.bennett at fu-berlin.de
Thu Jul 6 12:55:47 UTC 2023


Hi Purvesh,

Purvesh Parmar <purveshp0507 at gmail.com> writes:

> Hi,
>
> Do I need separate slurmctld and slurmd to run for this? I am struggling for this. Any pointers.
>
> --
> Purvesh
>
> On Mon, 26 Jun 2023 at 12:15, Purvesh Parmar <purveshp0507 at gmail.com> wrote:
>
>  Hi,
>
>  I have slurm 20.11 in a cluster of 4 nodes, with each node having 16 cpus. I want to create two partitions (ppart and cpart) and want that 8 cores
>  from each of the 4 nodes should be part of part of ppart and remaining 8 cores should be part of cpart, this means, I want to distribute each
>  node's resources across multiple partitions exclusively.  How to go about this? 

I am not aware that you can do this.  My understanding is as follows:

A single node N can be a member of two partitions, say A and B, but as
soon as a job starts on N in partition A, then while the job is running,
any remaining resources on the node are only available via partition A.
A second job can only start on N in partition B if no jobs on N are running
in partition A.

Regards

Loris Bennett

-- 
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin



More information about the slurm-users mailing list