Local#

class lsst.ctrl.bps.parsl.sites.Local(*args, **kwargs)#

Bases: SiteConfig

Configuration for running jobs on the local machine.

Parameters#

*argsAny

Parameters forwarded to base class constructor.

**kwargsAny

Keyword arguments passed to base class constructor, augmented by the resource_list argument.

Notes#

The number of cores to use is specified in the site configuration, under site.<computeSite>.cores (int).

Methods Summary

get_executors()

Get a list of executors to be used in processing.

select_executor(job)

Get the label of the executor to use to execute a job.

Methods Documentation

get_executors() list[ParslExecutor]#

Get a list of executors to be used in processing.

Each executor should have a unique label.

select_executor(job: ParslJob) str#

Get the label of the executor to use to execute a job.

Parameters#

joblsst.ctrl.bps.parsl.ParslJob

Job to be executed.

Returns#

labelstr

Label of executor to use to execute job.