Specialization of BaseConnector that, in addition to offering ssh connection, supports slurm connections with the HPC.

Hierarchy (view full)

Constructors

Properties

isContainer: boolean = false
is_cvmfs: boolean

properties

maintainer: default

parent pointer

modules: string[] = []
remoteDataFolderPath: string
remoteExecutableFolderPath: string
remoteResultFolderPath: string
slurm_id: string
sshConnector: SSHConnector

config

template: string

Methods

  • Get Container CVMFS folder path

    Parameters

    • Optional providedPath: null | string = null

      specified path

    Returns string

    executable path

  • Get Container data folder path

    Parameters

    • Optional providedPath: null | string = null

      specified path

    Returns string

    executable path

  • Get Container executable folder path

    Parameters

    • Optional providedPath: null | string = null

      specified path

    Returns string

    executable path

  • Get Container result folder path

    Parameters

    • Optional providedPath: null | string = null

      specified path

    Returns string

    executable path

  • gets remote data folder path

    Parameters

    • Optional providedPath: null | string = null

      specified path

    Returns null | string

    command execution output

  • gets remote executable folder path

    Parameters

    • Optional providedPath: null | string = null

      specified path

    Returns string

    command execution output

  • gets remote result folder path

    Parameters

    • Optional providedPath: null | string = null

      specified path

    Returns string

    command execution output

  • Get sbatch tags

    Parameters

    • tag: string

      sbatch tags

    • vals: string[]

      values of sbatch tags

    Returns string

    sbatch string

  • Creates slurm string with specified configuation. Saves it to this.template.

    Parameters

    • cmd: string

      command that needs to be executed

    • config: slurm

      slurm configuration

    Returns void

  • Creates a SlurmConnector, ensuring that the connector is functional while doing so

    Parameters

    • maintainer: default

      maintainer to create a slurmconnector for

    • is_cvmfs: boolean = false

      whether this connector should be cvmfs

    Returns Promise<undefined | SlurmConnector>

    the desired connector, or undefined if the construction was unsuccessful

Generated using TypeDoc