Skip to content

Instantly share code, notes, and snippets.

@ugovaretto
Created March 22, 2013 09:49
Show Gist options
  • Save ugovaretto/5220136 to your computer and use it in GitHub Desktop.
Save ugovaretto/5220136 to your computer and use it in GitHub Desktop.
Retrieve node id from SLURM
env | grep SLURM_JOB_NODELIST | grep -P -o "\d+"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment