Template:FAQs HPCC Batch Jobs: Difference between revisions

From CSDMS
m (Add some questions and answers about batch processing)
 
m (TMPDIR question and answer)
 
Line 1: Line 1:
# '''What is a batch request?'''<br>Batch processing on ''Beach'' is managed by the Torque in conjunction with the Maui scheduler. Torque batch requests (jobs) are shell scripts that contain the same set of commands that you enter interactively. These requests may also include options for the batch system that provide requests for resources such as CPU time, memory, and processors. For example submission scripts, see the Help section under the Supercomputing section.
# '''What is a batch request?'''<br>Batch processing on ''Beach'' is managed by the Torque in conjunction with the Maui scheduler. Torque batch requests (jobs) are shell scripts that contain the same set of commands that you enter interactively. These requests may also include options for the batch system that provide requests for resources such as CPU time, memory, and processors. For example submission scripts, see the Help section under the Supercomputing section.
# '''How do I submit, check the status, and/or delete a batch job?'''<br>Use <tt>qsub</tt> to submit, <tt>qstat</tt> to check the status of your job, and <tt>qdel</tt> to delete a batch request. For more information, see the online man pages.
# '''How do I submit, check the status, and/or delete a batch job?'''<br>Use <tt>qsub</tt> to submit, <tt>qstat</tt> to check the status of your job, and <tt>qdel</tt> to delete a batch request. For more information, see the online man pages.
# '''My job is writing output to TMPDIR, how can I look at it as it's being created?'''<br>First find out what node your job is running on by using the ''checkjob'' command and your job's ID<syntaxhighlight lang=bash>
> checkjob <jobid>
</syntaxhighlight>The node (or nodes) on which your job is running is listed under ''Allocated Nodes''.  Now that you know what node your job is running on, you can ''ssh'' to that node and have a look at your files,<syntaxhighlight lang=bash>
> ssh <node>
</syntaxhighlight>Your files will be under ''/data2/<jobid>''.

Latest revision as of 13:11, 18 January 2011

  1. What is a batch request?
    Batch processing on Beach is managed by the Torque in conjunction with the Maui scheduler. Torque batch requests (jobs) are shell scripts that contain the same set of commands that you enter interactively. These requests may also include options for the batch system that provide requests for resources such as CPU time, memory, and processors. For example submission scripts, see the Help section under the Supercomputing section.
  2. How do I submit, check the status, and/or delete a batch job?
    Use qsub to submit, qstat to check the status of your job, and qdel to delete a batch request. For more information, see the online man pages.
  3. My job is writing output to TMPDIR, how can I look at it as it's being created?
    First find out what node your job is running on by using the checkjob command and your job's ID
    > checkjob <jobid>
    
    The node (or nodes) on which your job is running is listed under Allocated Nodes. Now that you know what node your job is running on, you can ssh to that node and have a look at your files,
    > ssh <node>
    
    Your files will be under /data2/<jobid>.