Cancel all jobs with Torque

If you use Torque to submit jobs to a cluster, you will need to cancel them sometimes. For a while I was doing:

qdel <job number>

If you have a lot of jobs that need cancelling, this is unrealistic. Instead, cancel all your jobs with:

qselect -u <username> | xargs qdel
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s