parsl.providers.CondorProvider

class parsl.providers.CondorProvider(channel=None, nodes_per_block=1, init_blocks=1, min_blocks=0, max_blocks=10, parallelism=1, environment=None, project='', scheduler_options='', walltime='00:10:00', worker_init='', launcher=SingleNodeLauncher(), requirements='')[source]

HTCondor Execution Provider.

Parameters:
  • channel (Channel) – Channel for accessing this provider. Possible channels include LocalChannel (the default), SSHChannel, or SSHInteractiveLoginChannel.
  • nodes_per_block (int) – Nodes to provision per block.
  • init_blocks (int) – Number of blocks to provision at time of initialization
  • min_blocks (int) – Minimum number of blocks to maintain
  • max_blocks (int) – Maximum number of blocks to maintain.
  • parallelism (float) – Ratio of provisioned task slots to active tasks. A parallelism value of 1 represents aggressive scaling where as many resources as possible are used; parallelism close to 0 represents the opposite situation in which as few resources as possible (i.e., min_blocks) are used.
  • environment (dict of str) – A dictionary of environmant variable name and value pairs which will be set before running a task.
  • project (str) – Project which the job will be charged against
  • scheduler_options (str) – String to add specific condor attributes to the HTCondor submit script.
  • worker_init (str) – Command to be run before starting a worker.
  • requirements (str) – Condor requirements.
  • launcher (Launcher) – Launcher for this provider. Possible launchers include SingleNodeLauncher (the default),
__init__(channel=None, nodes_per_block=1, init_blocks=1, min_blocks=0, max_blocks=10, parallelism=1, environment=None, project='', scheduler_options='', walltime='00:10:00', worker_init='', launcher=SingleNodeLauncher(), requirements='')[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([channel, nodes_per_block, …]) Initialize self.
cancel(job_ids) Cancels the jobs specified by a list of job IDs.
execute_wait(cmd[, timeout])
status(job_ids) Get the status of a list of jobs identified by their ids.
submit(command, blocksize, tasks_per_node[, …]) Submits the command onto an Local Resource Manager job of blocksize parallel elements.

Attributes

current_capacity Returns the currently provisioned blocks.
scaling_enabled The callers of ParslExecutors need to differentiate between Executors and Executors wrapped in a resource provider