pyjob.sge module

class pyjob.sge.SGEConfigParameter[source]

Bases: enum.Enum

An enumeration.

ENVIRONMENT = 1
QUEUE = 2
class pyjob.sge.SunGridEngineTask(*args, **kwargs)[source]

Bases: pyjob.task.ClusterTask

SunGridEngine executable Task

JOB_ARRAY_INDEX = '$SGE_TASK_ID'
SCRIPT_DIRECTIVE = '#$'
classmethod get_sge_avail_configs(param)[source]

Get the set of available configurations for a given SGE parameter

Parameters:param (:obj:~SGEConfigParameter) – The parameter to be tested
Returns:A set with the available configurations for the parameter of interest
Return type:set
Raises:ValueError – Parameter is not found in :obj:~SGEConfigParameter
info

SunGridEngineTask information

kill()[source]

Immediately terminate the SunGridEngineTask