<div dir="ltr">Hi,<div>We have a cluster with 2 slave nodes. These are the slurm.conf lines describing nodes and partitions:</div><div><br></div><div><i>NodeName=slurm-gpu-1 NodeAddr=192.168.0.200  Procs=16 Gres=gpu:2 State=UNKNOWN<br>NodeName=slurm-gpu-2 NodeAddr=192.168.0.124  Procs=1 Gres=gpu:0 State=UNKNOWN<br>PartitionName=gpu Nodes=slurm-gpu-1 Default=YES MaxTime=INFINITE State=UP<br>PartitionName=compute Nodes=slurm-gpu-2 Default=YES MaxTime=INFINITE State=UP</i><br></div><div><br></div><div>Running sinfo gives the following:</div><div><br></div><div><i>PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST<br>gpu          up   infinite      1   idle slurm-gpu-1<br>compute*     up   infinite      1   idle slurm-gpu-2</i><br></div><div><br></div><div>When I request a gpu job to be run using the following command:</div><div><br></div><div><i>srun --gres=gpu:2 nvidia-smi</i></div><div><br></div><div>I get the error:</div><div><br></div><div><i>srun: error: Unable to allocate resources: Requested node configuration is not available<br></i></div><div><br></div><div>and in slurmctld.log these are the entries:</div><div><br></div><div><i>[2020-05-12T14:33:47.578] _pick_best_nodes: JobId=55 never runnable in partition compute<br>[2020-05-12T14:33:47.578] _slurm_rpc_allocate_resources: Requested node configuration is not available </i><br></div><div><br></div><div>It seems like slurm is looking only in the partition "compute" and not in the other partitions.<br>Even if I explicitly specify the gpu node to srun it fails:</div><div><br></div><div><i>srun --nodelist=slurm-gpu-1 nvidia-smi<br></i></div><div><i><br></i></div><div>I get the same error:</div><div><br></div><div><i>srun: error: Unable to allocate resources: Requested node configuration is not available<br></i></div><div><i><br></i></div><div>and in slurmctld.log:</div><div><br></div><div><i>[2020-05-12T14:38:57.242] No nodes satisfy requirements for JobId=56 in partition compute<br>[2020-05-12T14:38:57.242] _slurm_rpc_allocate_resources: Requested node configuration is not available</i><br></div><div><br></div><div>It is still looking in partition "compute" even after specifying the node to srun. </div><div><br></div><div>But when I specify a partition, it works:</div><div><br></div><div><i>srun -p gpu nvidia-smi</i></div><div><br></div><div>But I would not like to specify the partition and would like slurm to select nodes based on the options specified in the srun command. Does anyone understand what is wrong in the setup?</div><div><br></div><div>Thanks,</div><div>Durai</div><div><br></div><div><br></div><div><br></div><div><br><br></div></div>