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

salvus.flow.sites

Remote job execution for Salvus jobs.

Functions

get_site()

def get_site(
    site_name: str,
    config: Dict,
    verbosity: int = 1,
    skip_version_number_check: bool = False,
) -> salvus.flow.sites.base_site.BaseSite:
    ...

Central function to get an instance of a Site 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.sites.base_site.BaseSite

Submodules