Skip to content


Interface for submitting jobs via GC3Pie.


  • Riccardo Murri (University of Zurich)
  • Kenneth Hoste (Ghent University)


Bases: AbortOnError, DependentTaskCollection

A DependentTaskCollection:class: that aborts execution upon error.

This is used to stop the build process in case some dependency fails. See also <>_


Bases: JobBackend

Use the GC3Pie framework to submit and monitor compilation jobs, see

In contrast with accessing an external service, GC3Pie implements its own workflow manager, which means eb --job --job-backend=GC3Pie will keep running until all jobs have terminated.

__init__(*args, **kwargs)

GC3Pie JobBackend constructor.


Complete a bulk job submission.

Create engine, and progress it until all jobs have terminated.


Initialise the GC3Pie job backend.

make_job(script, name, env_vars=None, hours=None, cores=None)

Create and return a job object with the given parameters.

Argument script is the content of the job script itself, i.e., the sequence of shell commands that will be executed.

Argument name sets the job's human-readable name.

Optional argument env_vars is a dictionary with key-value pairs of environment variables that should be passed on to the job.

Optional arguments hours and cores should be integer values: - hours must be in the range 1 .. MAX_WALLTIME; - cores depends on which cluster the job is being run.

queue(job, dependencies=frozenset())

Add a job to the queue, optionally specifying dependencies.


jobs on which this job depends.

DEFAULT: frozenset()