Mondaic
This API reference is not for the latest stable Salvus version.

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()

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_name str — Name of the site.
  • config Dict — Site configuration.
  • verbosity int — Verbosity level.
  • skip_version_number_check bool — 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