sbatch: Run an R script through SLURM

Description Usage Arguments

View source: R/slurm_commands.R

Description

Run an R script through SLURM

Usage

1
2
3
4
5
6
7
8
sbatch(
  script,
  n_cpus = 4,
  queue = "intq",
  use_mpi = FALSE,
  use_gsl = FALSE,
  user_name = NULL
)

Arguments

script

The R script to execute on the cluster. The path should start with ~/

n_cpus

The number of cpus requested

use_mpi

Whether to use MPI for the job (required for multi-node jobs)

use_gsl

Whether to make GSL (GNU Scientific Library) available for linking

user_name

Username at the Nuvolos cluster, leave this empty from a Nuvolos application


nuvolos-cloud/r-nuvolos-tools documentation built on Feb. 10, 2021, 6:39 a.m.