User Tools

Site Tools


interactive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
interactive [2016/03/07 20:40]
pwolinsk
interactive [2017/03/29 17:33]
root
Line 1: Line 1:
 ===== Interactive Jobs ===== ===== Interactive Jobs =====
- 
-All jobs on AHPCC clusters which require a significant amount of CPU or memory should be submitted throught the queueing system. ​ In general, two types of jobs may be passed into the queue:  ​ 
- 
-  * A //**batch job**// - a specific command is executed on the node(s) assigned to the job without the need for user interaction. ​ A vast majority of jobs ran on the HPC clusters are batch jobs. 
-  * An //​**interactive job**// - a login shell is started on the first node assigned to the job.  The user, in turn, specifies the commands to execute at the command prompt. 
- 
 To start an interactive use the **''​qsub''​** command with the **''​-I''​** option: ​ To start an interactive use the **''​qsub''​** command with the **''​-I''​** option: ​
 <​code>​ <​code>​
Line 22: Line 16:
    * 1 core on 1 node on the ''​tiny12core''​ queue for 3 hours     * 1 core on 1 node on the ''​tiny12core''​ queue for 3 hours 
  
-To explicitly specify these options please use the following parameters to the qsub command:+To explicitly specify these options please use the following parameters to the qsub command.
  
 ^ parameter ^ value ^ meaning ^ ^ parameter ^ value ^ meaning ^
-| ''​-I''​ |                      | request an interactive job | +| ''​-I''​ |                      | (uppercase "​i"​) ​request an interactive job | 
-| ''​-l''​ | ''​walltime=2:​01:​00''​ | request a runtime of 2 hours 1 minute and 0 seconds | +| ''​-l''​ | ''​walltime=2:​01:​00''​ | (lowercase "​L"​) ​request a runtime of 2 hours 1 minute and 0 seconds | 
-| ''​-l''​ | ''​nodes=1:​ppn=2'' ​   | request 2 computing cores on 1 node |+| ''​-l''​ | ''​nodes=1:​ppn=2'' ​   | (lowercase "​L"​) ​request 2 computing cores on 1 node |
 | ''​-q''​ | ''​student48core'' ​   | request a node in the '​student48core'​ queue | | ''​-q''​ | ''​student48core'' ​   | request a node in the '​student48core'​ queue |
  
Line 42: Line 36:
  
 For information about the available queues on Razor and Trestles please see [[queues|]]. For information about the available queues on Razor and Trestles please see [[queues|]].
 +
 +Interactive jobs end when you disconnect. ​ If your job is done computing and is at a system prompt, please exit the compute node so it can be reused. If you have unreliable network access that doesn'​t last as long as an interactive job, see [[http://​research.computing.yale.edu/​support/​hpc/​user-guide/​preserve-session-screen|GNU Screen at Yale CRC]].
interactive.txt · Last modified: 2017/03/29 17:33 by root