detectHPC: Detect HPC environment

detectHpcR Documentation

Detect HPC environment

Description

Detect if R is running on a high-performance computing (HPC) cluster.

Usage

detectHpc()

Details

Currently supports detection of Slurm or LSF.

Value

character(1) or logical(1). Workload manager (scheduler) name if HPC is detected (e.g. "SLURM" or "LSF"), otherwise FALSE.

Note

Updated 2021-08-13.

See Also

  • Sys.getenv.

  • Sys.info.

  • R.version.

  • .Platform.

Examples

detectHpc()

acidgenomics/r-koopa documentation built on Oct. 31, 2023, 9:21 a.m.