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,
) -> salvus.flow.executors.base_executor.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 salvus.flow.executors.base_executor.BaseExecutor
Submodules
salvus.flow.executors.base_executorsalvus.flow.executors.executor_utilssalvus.flow.executors.functionssalvus.flow.executors.implementationssalvus.flow.executors.jobsalvus.flow.executors.remote_io_executorsalvus.flow.executors.salvus_jobsalvus.flow.executors.salvus_job_arraysalvus.flow.executors.task_chainsalvus.flow.executors.types