GPU job
To run GPU calculation, the user needs to specify number of GPU cards only. The PBS scheduler will route the job automatically into one of the gpu queues.
User group `iti` has a reserved GPU queue
Members of the iti
group (Institute of Theoretical Informatics, University of West Bohemia) have their own GPU cluster konos
with priority access through direct submit to iti@pbs-m1.metacentrum.cz
queue.
PBS resources
ngpus
Parameter ngpus
specifies how many GPU cards the job will use.
gpu mem
PBS parameter gpu_mem
specifies minimum amount of memory that the GPU card will have.
gpu_cap
PBS parameter gpu_cap
is Cuda compute capability as defined on this page.
Architecture
The user can specify a minimal required architecture (compute_XY
), or a minimal required version within a given architecture (sm_XY
).
Minimal architecture:
Minimal version of a chosen architecture, e.g. 7 (“Volta”):
The requirements can be combined in a comma-separated string.
Note
The commas are evaluated as an OR operand.
Example:
Note
Note that the quotes enclosing the gpu_cap
options must be protected against shell expansion either by escaping them or by enclosing the whole qsub
command into single quotes.
cuda_version
PBS parameter cuda_version
is version of CUDA installed.
System variables
IDs of GPU cards are stored in CUDA_VISIBLE_DEVICES
variable.
These IDs are mapped to CUDA tools virtual IDs. Though if CUDA_VISIBLE_DEVICES
contains value 2, 3 then CUDA tools will report IDs 0, 1.
Last updated on