Noam,

Thanks for the suggestion but no luck:

sbatch -p multinode -n 80 --ntasks-per-core=1 --wrap="..."
sbatch: error: Batch job submission failed: Node count specification invalid

sbatch -p multinode -n 2 -c 40 --ntasks-per-core=1 --wrap="..."
sbatch: error: Batch job submission failed: Node count specification invalid

sbatch -p multinode -N 2 -n 80 --ntasks-per-core=1 --wrap="..."
Submitted batch job

I guess that the MinNodes=2 in the partition def is now being enforced somewhat 
more strictly, or earlier in the submission process, before it can be 
determined that the request will satisfy the constraint.

Regards,
George

--
George Leaver
Research Infrastructure, IT Services, University of Manchester
http://ri.itservices.manchester.ac.uk | @UoM_eResearch

________________________________________
From: Bernstein, Noam CIV USN NRL WASHINGTON DC (USA) 
<noam.bernstein....@us.navy.mil>
Sent: 09 June 2024 19:33
To: George Leaver; slurm-users@lists.schedmd.com
Subject: Re: sbatch: Node count specification invalid - when only specifying 
--ntasks

It would be a shame to lose this capability.  Have you tried adding 
`--ntasks-per-core` explicitly (but not number of nodes)?

                                                                                
Noam


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

Reply via email to