|
NAMEpbs_gpumode - change GPU modeSYNOPSIS#include <pbs_error.h>#include <pbs_ifl.h> int pbs_gpumode(int connect, char *mom_node, int gpu_id, int gpu_mode) DESCRIPTIONIssue a batch request for the pbs_mom to change the mode on one of it's Nvidia GPUs. The GPU's mode is changed by sending a GPU Control batch request to the batch server.This call requires PBS Operator or Manager privilege. It also requires that Torque be configured with --enable-nvidia-gpu. The argument, mom_node, 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. The argument, gpu_id, specifies ID of the GPU on the MOM node. The argument, gpu_mode, specifies new mode of the GPU. Valid Nvidia GPU modes are:
SEE ALSOqgpumode(1B)DIAGNOSTICSWhen the batch request generated by the pbs_gpumode() function has been completed successfully by a batch server, the routine will return 0 (zero). Otherwise, a non zero error is returned. The error number is also set in pbs_errno.
Visit the GSP FreeBSD Man Page Interface. |