Notes on Torque: Difference between revisions

From csml-wiki.northwestern.edu
Jump to navigation Jump to search
No edit summary
Line 21: Line 21:
</pre>
</pre>
where <tt>[destination]</tt> is the new queue (either 'fast' or 'default' for our system) and <tt>[job_id]</tt> is the job ID.
where <tt>[destination]</tt> is the new queue (either 'fast' or 'default' for our system) and <tt>[job_id]</tt> is the job ID.
<li>Delete sequence of jobs
<pre>
qdel `seq [job_id1] [job_id2]`
</pre>
where <tt>[job_id1]</tt> is the first job ID of the sequence of jobs you want to delete and <tt>[job_id2]</tt> is the last one.
</ul>
</ul>

Revision as of 17:27, 9 June 2014

Overview

General usage

Special usage notes

  • Change the total cpu time allotted to a job via
    qalter -l cput=[new_cput] [job_id]
    

    where [new_cput] is the desired amount of cpu time and [job_id] is the job's ID number. Multiple jobs can be changed simultaneously by using `seq [min_job_id] [max_job_id]` in the place of job_id. This will change all jobs [min_job_id] through [max_job_id]. Lowering the cpu time requirement of a job can decrease its wait time in the queue, as the scheduler is more likely to be able to use if for backfilling. On the other hand, increasing the cpu time requirement can be used to ensure that a job is able to finish properly (and can be done even while the job is running), but requires root permission.

  • Move a queued (i.e., waiting) job to a different queue via
    qmove [destination] [job_id]
    

    where [destination] is the new queue (either 'fast' or 'default' for our system) and [job_id] is the job ID.

  • Delete sequence of jobs
    qdel `seq [job_id1] [job_id2]`
    

    where [job_id1] is the first job ID of the sequence of jobs you want to delete and [job_id2] is the last one.