crew_monitor_slurm {crew.cluster}R Documentation

[Experimental] Create a SLURM monitor object.

Description

Create an R6 object to monitor SLURM cluster jobs.

Usage

crew_monitor_slurm(
  verbose = TRUE,
  command_list = as.character(Sys.which("squeue")),
  command_terminate = as.character(Sys.which("scancel"))
)

Arguments

verbose

Logical, whether to see console output and error messages when submitting worker.

command_list

Character of length 1, file path to the executable to list jobs.

command_terminate

Character of length 1, file path to the executable to terminate a worker job. Set to "" to skip manually terminating the worker. Unless there is an issue with the platform, the job should still exit thanks to the NNG-powered network programming capabilities of mirai. Still, if you set command_terminate = "", you are assuming extra responsibility for manually monitoring your jobs on the cluster and manually terminating jobs as appropriate.

See Also

Other slurm: crew_class_launcher_slurm, crew_class_monitor_slurm, crew_controller_slurm(), crew_launcher_slurm()


[Package crew.cluster version 0.3.2 Index]