Skip to content

Instantly share code, notes, and snippets.

@goraj
Last active February 15, 2019 22:55
Show Gist options
  • Save goraj/56e9e5b9c80b2f3ff73a18459bca35a3 to your computer and use it in GitHub Desktop.
Save goraj/56e9e5b9c80b2f3ff73a18459bca35a3 to your computer and use it in GitHub Desktop.
Add and retrieve additional attributes (-ac) for SGE/UGE cluster jobs

Add and retrieve additional attributes (-ac) for SGE/UGE cluster jobs

Add tags to running job

qalter -ac tag1=test 18458303

qalter -ac tag2=test 18458303

qalter -ac -ac tag1=test tag2=test 18458303

Retrieve attributes in xml

qstat -j 18458303 -xml |grep -E "tag1|tag2"

<VA_variable>tag1</VA_variable>

<VA_variable>tag2</VA_variable>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment