How to submit a job to a specific node using Slurm's sbatch command?

36,149

I figured it out. You need to use -w node0xx or --nodelist=node0xx.

Share:
36,149

Related videos on Youtube

Amir
Author by

Amir

Doing research on building models that mimic human behavior. Hope to take steps towards building real AI models in the future GitHub

Updated on September 18, 2022

Comments

  • Amir
    Amir over 1 year

    Our nodes are named node001 ... node0xx in our cluster. I wonder, is it possible to submit a job to a specific node using Slurm's sbatch command? If so, can someone post an example code for that?

  • runlevel0
    runlevel0 about 4 years
    You need to provide the partition too lest you want to get a "requested node not in this partition" error as some nodes can be in several partitions (in my case we have a node that's in the fat and the fat_short partitions).