High Performance Computing Service: Difference between revisions

From Brain Mapping Unit
Jump to navigationJump to search
No edit summary
Line 5: Line 5:


Kirstie x
Kirstie x
--[[User:kw401|kw401]] 13:00, 18 May 2013 (BST)
 
== Introduction ==
== Introduction ==
If you have many jobs that are very similar and, importantly, ''independent'' then you can use the High Performance Computing Service [[http://www.hpc.cam.ac.uk/]].
If you have many jobs that are very similar and, importantly, ''independent'' then you can use the High Performance Computing Service [[http://www.hpc.cam.ac.uk/]].

Revision as of 12:01, 18 May 2013

Disclaimer

This page is a work in progress!

I'm just using it as a repository for helpful hints that I've found useful!

Kirstie x

Introduction

If you have many jobs that are very similar and, importantly, independent then you can use the High Performance Computing Service [[1]].

The website is helpful, but below are a few commands that I think supplement their FAQs. Please do edit (or email me and I'll update the wiki) if you have any further suggestions.

If you want to see all the jobs you've submitted

As you may guess, qstat gives you some statistics on the queues. To look for just your jobs type:

qstat -u $USER

This $USER variable contains your user ID.

If you want to delete all the jobs you've submitted

To just get the job IDs you need to use qselect and pipe these to qdel (which deletes the job) using xargs.

qselect -u $USER | xargs qdel

Type man xargs if you want to know more about this terribly useful command which pipes information from standard input into the next command.

More specifically if you want to delete only your running jobs:

qselect -u $USER -s R | xargs qdel

Or if you want to delete only your queued jobs:

qselect -u $USER -s Q | xargs qdel