Essential VT ARC Commands


Loading wiki pages...

Wiki Version:
<p>One of the main things you will be doing on Virginia Tech Advanced Research Computing Resources (BlueRidge, NewRiver, Cascades, HuckleBerry) is running jobs. In order to do that you will need to know the basic necessary commands.</p> <p>To submit your job to the queuing system, use the command qsub. For example, if your script is in “<a href="" rel="nofollow"></a>”, the command would be:</p> <pre class="highlight"><code>qsub ./<a href="" rel="nofollow"></a></code></pre> <p>This will return your job name of the form</p> <pre class="highlight"><code>176618.master.cluster</code></pre> <p>Here 176618 is the job number. Once a job is submitted to a queue, it will wait until requested resources are available within that queue, and will then run if eligible. Eligibility to run is influenced by the resource policies in effect for the queue.</p> <p>To check a job’s status, use the checkjob command:</p> <pre class="highlight"><code>checkjob -v 176618</code></pre> <p>To check resource usage on the nodes available to a running job, use:</p> <pre class="highlight"><code>jobload 176618</code></pre> <p>To check the status of more than one job or the queues in general, use showq. Examples include:</p> <pre class="highlight"><code>showq -r #View all running jobs showq -u username #View only a given user's jobs qstat -u PID #View only a given user's jobs</code></pre> <p>If your job has not started and you are unsure why, <a href="" rel="nofollow">this FAQ</a> provides some common explanations.</p> <p>To remove a job from the queue, or stop a running job, use the command qdel. For job number 176618, the command would be:</p> <pre class="highlight"><code>qdel 176618</code></pre>
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.