Slurm_log | R Documentation |
After submission, the functions of type Slurm_*apply generate
log files, one per each job in the job array. The Slurm_log
function can be
used to check the log files of jobs in the array that failed.
Slurm_log(x, which. = NULL, cmd = NULL)
x |
An object of class slurm_job. |
which. |
An integer scalar. The number of the array job to check. This
should range between 1 and |
cmd |
Character scalar. The name of the command to use to call view the
log file. Default to |
If other than less
is used, then the function will try to
check by calling cmd --version
. If returns with error, it assumes the
function is not available. Using the cmd
argument only works in interactive
mode.
Whatever the command-line call returns.
Other post submission:
Slurm_clean()
,
Slurm_collect()
,
status()
Other utilities:
Slurm_clean()
,
Slurm_env()
,
WhoAmI()
,
parse_flags()
,
snames()
,
status()
## Not run:
x <- Slurm_EvalQ(slurmR::whoami(), plan = "wait")
Slurm_log(x) # Checking the R log
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.