title: Slurm job, knowing what node it is on
body: <p>Is there a way in bash/slurm for the script to know which node it is running on?</p>
  
  <p>so I sbatch a bash script called wrapCode.sh, and I am monitoring script time as well as which node it is running on.  I know how to monitor the script time, but is there a way to echo out at the end which node I was on?</p>
  
  <p>sstat does this, but I need to know what my job id is, which the script also doesn't seem to know (or at least I haven't been able to find it).</p>