This function cancels the specified Slurm job by invoking the Slurm
scancel command. It does not delete the temporary files
(e.g. scripts) created by slurm_apply or
slurm_call. Use cleanup_files to remove those
files.
cancel_slurm(slr_job)A slurm_job object.