[slurm-users] Query about sbatch: Request X nodes in a range?

Max Voit max.voit_mlsl at with-eyes.net
Wed Jul 14 17:33:15 UTC 2021


On Wed, 14 Jul 2021 17:04:45 +0000
"Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC]"
<matthew.thompson at nasa.gov> wrote:

> Namely, I needed say, 20 nodes on a cluster on the same rack
> ...
> So, my question is, is there a way to say, "Please give me X nodes
> inside this specific range of nodes?"

Is the requirement actually the nodes being in the same rack, or rather
being connected to the same switch? For the latter: If you specify a
topology.conf file you can use --switch=... , c.f.
https://slurm.schedmd.com/topology.html

Best,
Max



More information about the slurm-users mailing list