clusterjob.backends.lpbs module

LPBS backend

class clusterjob.backends.lpbs.LPbsBackend[source]

Bases: clusterjob.backends.pbs.PbsBackend

LPBS Backend

name = 'lpbs'
extension = 'pbs'
prefix = '#PBS'
cmd_submit(jobscript)[source]

Given a JobScript instance, return a lqsub command that submits the job to the scheduler, as a list of program arguments.

cmd_status(run, finished=False)[source]

Given a AsyncResult instance, return a lqstat command that queries the scheduler for the job status.

cmd_cancel(run)[source]

Given a AsyncResult instance, return a lqdel command that cancels the run, as a list of command arguments.