Is there a built in way to get the ID of a slurm job when it is being run?
I can imagine determining the ID by parsing squeue and matching the ID to the hostname (e.g