qgpumode(1B)
π NAME π
Bestie, meet qgpumode(1B) from the PBS manual β the little command that literally changes GPU mode. It is giving βflip the switch on an Nvidia GPUβ energy, and honestly? Iconic. π
β¨ SYNOPSIS β¨
qgpumode -H host -g gpuid -m mode
π¦ DESCRIPTION π¦
Okay so hereβs the tea: the qgpumode command will request a MOM to change the mode on one of its Nvidia GPUs. The GPUβs mode is changed by sending a GPU Control batch request to the batch server. No cap, thatβs the whole vibe. π₯
Changing the GPU mode requires PBS Operator or Manager privilege. It also requires that Torque be configured with --enable-nvidia-gpu.
Privilege check, bestie β this is not a βjust anyone can do itβ situation. You need the right PBS Operator or Manager access, and Torque has to be built/configured with --enable-nvidia-gpu. π«Ά
π OPTIONS π
-H hostβ Specifies the host within the cluster on which the GPU is located. The argument is the name of a host that is a member of the cluster of hosts managed by the server.-g gpuidβ Specifies the ID of the GPU.-m modeβ Specifies the new mode of the GPU. Valid Nvidia GPU modes are:0β Normal mode.1β COMPUTE exclusive thread mode (only one COMPUTE thread is allowed to run on the GPU).2β COMPUTE prohibited mode (no COMPUTE contexts are allowed to run on the GPU).3β COMPUTE exclusive process mode (only one COMPUTE process is allowed to run on the GPU). This mode is new with Nvidia driver version270.
πΈ OPERANDS πΈ
None. Like, zero operands. Periodt. π
π STANDARD ERROR π
The qgpumode command will write diagnostic messages to standard error for each error occurrence.
π EXIT STATUS π
Upon successful processing of all the operands presented to the qgpumode command, the exit status will be a value of zero.
If the qgpumode command fails to process any operand, the command exits with a value greater than zero.
π SEE ALSO π
Check out pbs_mom(8B) and pbs_server(8B) β those are the besties in the SEE ALSO section. π«Ά
Signed off from the Local source/version tag in the footer, with qgpumode(1B) energy at the very end β and no date printed on the footer, so thatβs the whole story, bestie. πβ¨
π¦ where this page comes from
- epel 9: torque-client 6.1.3-8.el9 Β· OpenPBS and TORQUEv1.1
- nixos 26.05: torque 6.1.3h2
- nixpkgs unstable: torque 6.1.3h2
- Copyright (c) 1999-2000 Veridian Information Solutions, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms