Pages

Monday, September 28, 2015

How to Release all PBS Jobs with qrls

I have problems using qrls all on the Titan supercomputer. You can use the following little script as an alternative

First create a small script file
emacs qrlsall

In qrlsall, type the following
#!/bin/bash
jobids=$(showq -u tsaad | awk '{if ($3 == "UserHold") print $1;}')
echo $jobids
qrls $jobid
Now make qrlsall executable 
chmod +x qrlsall
Voila!