User Tools

Site Tools


users:interactive

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
users:interactive [2016/03/17 11:26] ecaloreusers:interactive [2016/04/12 10:27] (current) ecalore
Line 1: Line 1:
 ====== Interactive Session ====== ====== Interactive Session ======
  
-If needed, an interactive shell can be run on the cluster's nodes using the following SURM command:+If needed, an interactive shell can be run on cluster node using the following SURM command (omitting the //nodelist// argument will let SLURM choose one random free node):
  
 <code bash> <code bash>
-srun -u --nodelist=node02 --pty bash+srun -u --partition=interactive --nodelist=node02 --pty bash 
 +</code> 
 + 
 +You can also require one or more GPUs: 
 + 
 +<code bash> 
 +srun -u --partition=interactive --gres=gpu:--pty bash
 </code> </code>
  
 <WRAP center round info 80%> <WRAP center round info 80%>
-  * srun'-u option turns off buffering of stdout. +  * //-u// option turns off buffering of stdout. 
-  * bash'-i option tells it to run in interactive mode (with prompts).+  * //--partition=interactive// select the "//interactive//" partition (aka queue), which grants the highest chance of being immediately allocated (this partition allows CPUs sharing between more than one job)
 </WRAP> </WRAP>
  
 <WRAP center round important 60%> <WRAP center round important 60%>
-The login to the nodes via ssh is disabled.+Login to the nodes via ssh is disabled.
 </WRAP> </WRAP>
  
  
  
users/interactive.1458210376.txt.gz · Last modified: 2016/03/17 11:26 by ecalore