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.
Usage
Slurm_log(x, which. = NULL, cmd = NULL)
Value
Whatever the command-line call returns.
Arguments
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 x$njobs.
cmd
Character scalar. The name of the command to use to call view the
log file. Default to less when interactive mode, otherwise cat (see details).
Details
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.
See Also
Other post submission:
Slurm_clean(),
Slurm_collect(),
status()
Other utilities:
Slurm_clean(),
Slurm_env(),
WhoAmI(),
parse_flags(),
snames(),
status()