Interface module to TORQUE (PBS).
- Stijn De Weirdt (Ghent University)
- Toon Willems (Ghent University)
- Kenneth Hoste (Ghent University)
Interaction with TORQUE
__init__(server, script, name, env_vars=None, hours=None, cores=None, conn=None, ppn=None)
create a new Job to be submitted to PBS env_vars is a dictionary with key-value pairs of environment variables that should be passed on to the job hours and cores should be integer values. hours can be 1 - (max walltime), cores depends on which cluster it is being run.
Return the job ID as a string.
Add dependencies to this job.
jobs is a sequence of
Return whether this job has holds or not.
Release hold on job of specified type.
Remove the job with id jobid
Set hold on job of specified type.
Return the state of the job State can be 'not submitted', 'running', 'queued' or 'finished',
Manage PBS server communication and create
Complete a bulk job submission.
Release all user holds on submitted jobs, and disconnect from server.
Connect to PBS server, set and return connection.
Disconnect current connection.
Initialise the job backend.
Connect to the PBS server & reset list of submitted jobs.
make_job(script, name, env_vars=None, hours=None, cores=None)
Create and return a
PbsJob object with the given parameters.
Add a job to the queue.
jobs on which this job depends.