gc3libs.backends.pbs¶
Job control on PBS/Torque clusters (possibly connecting to the front-end via SSH).
-
class
gc3libs.backends.pbs.
PbsLrms
(name, architecture, max_cores, max_cores_per_job, max_memory_per_core, max_walltime, auth, frontend, transport, queue=None, **extra_args)¶ Job control on PBS/Torque clusters (possibly by connecting via SSH to a submit node).
-
get_resource_status
(*args, **kwargs)¶ Update the status of the resource associated with this LRMS instance in-place. Return updated Resource object.
-
-
gc3libs.backends.pbs.
count_jobs
(qstat_output, whoami)¶ Parse PBS/Torque’s
qstat
output (as contained in string qstat_output) and return a quadruple (R, Q, r, q) where:- R is the total number of running jobs in the PBS/Torque cell (from any user);
- Q is the total number of queued jobs in the PBS/Torque cell (from any user);
- r is the number of running jobs submitted by user whoami;
- q is the number of queued jobs submitted by user whoami