On the one hand, you say you want "to allocate a whole node for a single multi-threaded process," but on the other you say you want to allow it to "share nodes with other running jobs." Those seem like mutually exclusive requirements.

Jason

On Thu, Aug 1, 2024 at 1:32 PM Henrique Almeida via slurm-users <slurm-users@lists.schedmd.com> wrote:
 Hello, I'm testing it right now and it's working pretty well in a
normal situation, but that's not exactly what I want. --exclusive
documentation says that the job allocation cannot share nodes with
other running jobs, but I want to allow it to do so, if that's
unavoidable. Are there other ways to configure it ?

 The current parameters I'm testing:

    sbatch -N 1 --exclusive --ntasks-per-node=1 --mem=0 pz-train.batch

On Thu, Aug 1, 2024 at 12:29 PM Davide DelVento
<davide.quantum@gmail.com> wrote:
>
> In part, it depends on how it's been configured, but have you tried --exclusive?
>
> On Thu, Aug 1, 2024 at 7:39 AM Henrique Almeida via slurm-users <slurm-users@lists.schedmd.com> wrote:
>>
>>  Hello, everyone, with slurm, how to allocate a whole node for a
>> single multi-threaded process?
>>
>> https://stackoverflow.com/questions/78818547/with-slurm-how-to-allocate-a-whole-node-for-a-single-multi-threaded-process
>>
>>
>> --
>>  Henrique Dante de Almeida
>>  hdante@gmail.com
>>
>> --
>> slurm-users mailing list -- slurm-users@lists.schedmd.com
>> To unsubscribe send an email to slurm-users-leave@lists.schedmd.com



--
 Henrique Dante de Almeida
 hdante@gmail.com

--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com


--
Jason L. Simms, Ph.D., M.P.H.
Manager of Research Computing
Swarthmore College
Information Technology Services
(610) 328-8102
Schedule a meeting: https://calendly.com/jlsimms