Version:

salvus.flow.executors

salvus.flow.executors 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()

Central function to get an instance of a executor object. Always use this function!
The created objects are cached, so subsequent calls are fast.
SIGNATURE
def get_site(
    site_name: str,
    config: dict,
    verbosity: int = 1,
    skip_version_number_check: bool = False,
) -> BaseExecutor: ...
ARGUMENTS
Required
site_name
Type:str
Description:
Name of the site.
Required
config
Type:dict
Description:
Site configuration.
Optional
verbosity
Type:int
Default value:1
Description:
Verbosity level.
Optional
skip_version_number_check
Type:bool
Default value:False
Description:
Skip the version number check of the local Python version vs the remote site. Useful for initializing and updating sites.
RETURNS
Return type: BaseExecutor

Submodules

PAGE CONTENTS