Command to show which computer nodes have GPU.
condor_status -compact -constraint 'TotalGpus > 0'
Command to show type of GPUs installed in compute nodes.
condor_status -af Machine GPUs_DeviceName -constraint 'SlotType == "Partitionable" && gpus > 0'
Sample GPU command file.
gpu.cmd ---- script
universe = vanilla
getenv = true
requirements = ((Machine == "isye-gpu0416.isye.gatech.edu") || (Machine == "isye-hpc0421.isye.gatech.edu" ) || (Machine == "isye-hpc0307.isye.gatech.edu") ||(Machine == "isye-gpu1001.isye.gatech.edu"))
executable = /usr/bin/python3
arguments = train_vanilla.py 89_pegase randb cuda:0
output = $(Cluster).$(process).out
error = $(cluster).$(Process).error
request_memory = 2000
request_gpus = 1
queue
Sample output:
Gen_bound_p 0.0006776065565645695
Gen_bound_q 0.0011324542574584484
Ohm_line_p 0.06564187776761052
Ohm_line_q 0.2055218917450071
Ohm_t_p 0.0258265200786913
Ohm_t_q 0.018976932933859932
Balance_constraint 0.008012299223364789 0.005123137865485003
119.9494059085846