woom.job.PbsproJobManager

woom.job.PbsproJobManager#

class woom.job.PbsproJobManager[source]#

Pbspro Job Manager

__init__()#

Attributes

Methods

check_status([show])

Update jobs status and show them

create_job([script, name, args, fake])

Quickly create a job instance and add it to the manager

delete([jobids, name, queue])

drop(job)

dump()

Store jobs to json files

from_scheduler(scheduler)

get_command_args(command, **opts)

Convert commandline specifcations and values to a list of arguments

get_job(jobid)

Get Job from id

get_jobs([jobids, name, queue])

Get job ids

get_killed(content)

Check the terminated status from job output

get_overview([jobids, name, queue])

get_status([jobids, name, queue, fallback])

Update and return jobs status

get_submission_command(script, opts[, depend])

Build the qsub command, with two PBS Pro-specific behaviours:

kill([jobids, name, queue])

load(json_files)

Load jobs from json dump files

load_job(json_file[, append])

Load a single job from its json dump file

set_status([jobids, name, queue, fallback])

Query status

submit(script, opts[, depend, submdir, ...])

Submit the script and instantiate a Job object