SLURM is a job scheduler for cluster computing.
You can run commands via srun
(interactive mode) and sbatch
(batch processing).
There are tons of flags you can set. Some of these will change whether or not you get output (specifically, if you get it in a file, or piped to the shell)!
Importantly, when you submit a job, you get access to variables relating to it!
You get access to SLURM environment variables
This provides a crucial logging and attribution utility.
Super useful resource: https://github.com/abalter/slurm-tutorial/wiki/lesson-2:-submitting-jobs