How can I find out how long my slurm job took to execute?
One idea I have to find out how long my slurm job is taking is to use
squeue --job <myid>
How do I find out how long my job took to complete though once the job is complete?
Use the sacct
command:
sacct -l -j <myid>
and look for the 'elapsed' column
sacct -j <myid> --format=Elapsed
is a very succinct way to show this (Thanks to Sparhawk & damienfrancois for these suggestions, I thought I'd suggest this as a full answer).