How to a CPU queue and GPU queue and hoe to utilising it

How to create a queue ?

  • as a root user on the PBS Server host
  • qmgr -c “create queue CPUQ queue_type=e,enabled=t,started=t”
  • qmgr -c “create queue GPUQ queue_type=e,enabled=t,started=t”

Now you can submit the jobs to either of the queues as below:
qsub -q GPUQ – /bin/sleep 100
qsub -q CPUQ – /bin/sleep 100

If in case you want to target nodes with cpus only and gpus only then please follow this link

Thank you