Re: [slurm-users] How to look for free nodes of a certain constraint efficiently

2021-10-14 Thread Ole Holm Nielsen
Hi Matt, How about this sinfo command: $ sinfo -O NodeList:30,Features:30,StateLong NODELIST AVAIL_FEATURESSTATE i023 xeon2650v2,infiniband,xeon16 draining@ i[004-022,024-050]xeon2650v2,infiniband,xeon16 allocated

Re: [slurm-users] How to look for free nodes of a certain constraint efficiently

2021-10-14 Thread Carsten Beyer
Hi Matt, you may have a look to sinfo/squeue command with the --format / -o output options, e.g.: [root@ma1 slurm]# sinfo -t idle -o "%P %.5a %.10l %.6D %.6t %N %b" PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST ACTIVE_FEATURES compute    up    8:00:00 44   idle m[10474-10475,10594-105

[slurm-users] How to look for free nodes of a certain constraint efficiently

2021-10-14 Thread Thompson, Matt (GSFC-610.1)[SCIENCE SYSTEMS AND APPLICATIONS INC]
All, I work on a cluster that uses SLURM which has various types of nodes that are are controlled via --constraint flags in sbatch. Now, I started thinking "How can I figure out how many jobs are running/pending/etc on a certain type of node?". I first thought obviously "squeue --constraint=fo