The functions of the family Slurm_*apply generate a set of temporary files that are used for the job design, submission and collection. This function will remove all the contents of directory created by calling those functions.
Slurm_clean(x)
An object of class slurm_job
.
If the job is finalized, it returns 0 if able to clean the directory otherwise return whatever unlink returns after trying to remove the job path.
Other post submission:
Slurm_collect()
,
Slurm_log()
,
status()
Other utilities:
Slurm_env()
,
Slurm_log()
,
WhoAmI()
,
parse_flags()
,
snames()
,
status()
if (FALSE) {
job <- Slurm_EvalQ(1 + 1, 2, plan = "collect")
# This will remove all the files generated by Slurm_EvalQ
Slurm_clean(job)
}