salvus.flow.executors
Remote job execution for Salvus jobs.
This module defines executors, that are responsible for running Salvus and other things on various machines and job queuing systems.
A site is a fully configured executor for one specific machine.
Functions
get_site()
get_site()def get_site(
site_name: str,
config: dict,
verbosity: int = 1,
skip_version_number_check: bool = False,
) -> BaseExecutor: ...Central function to get an instance of a executor object. Always use this function!
The created objects are cached, so subsequent calls are fast.
Parameters
site_namestr — Name of the site.configdict — Site configuration.verbosityint — Verbosity level.skip_version_number_checkbool — Skip the version number check of the local Python version vs the remote site. Useful for initializing and updating sites.
Returns BaseExecutor
Submodules
salvus.flow.executors.base_executorsalvus.flow.executors.directsalvus.flow.executors.executor_utilssalvus.flow.executors.functionssalvus.flow.executors.implementationssalvus.flow.executors.jobsalvus.flow.executors.mpisalvus.flow.executors.remote_io_executorsalvus.flow.executors.salvus_jobsalvus.flow.executors.salvus_job_arraysalvus.flow.executors.task_chainsalvus.flow.executors.types