slurm.job.R: Builds a shell script that runs a job on a compute cluster

View source: R/slurm.job.R

slurm.job.RR Documentation

Builds a shell script that runs a job on a compute cluster

Description

Builds a shell script that runs a job on a compute cluster

Usage

slurm.job.R(
  maxTime,
  account,
  memory,
  modules = slurm.job.standard.modules(),
  exports = slurm.job.standard.exports(),
  strRun
)

Arguments

maxTime

A string specifying the maximum run time after which the job is canceled.

account

A string specifying the account for billing.

memory

A string specifying the memory requirements for the job.

modules

A vector of strings with the modules.

exports

A vector of strings with exports.

strRun

A vector of strings with the instructions (bash code) for the job.

Value

A string that can be written with writeLines to a .sh file that can be executed on a cluster.


KlausHerrmann/khermisc documentation built on May 6, 2023, 7:08 p.m.