User Tools

Site Tools


srun

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
srun [2021/03/01 11:12]
root
srun [2021/03/01 11:14] (current)
root
Line 10: Line 10:
  
 srun hostname srun hostname
- 
-srun -n3 hostname (runs 3 **tasks**: copies of the program specified, may run on the same node) 
- 
-srun -n30 hostname (runs 30 **tasks**, will run on multiple nodes) 
- 
-srun -N3 hostname (runs on 3 different nodes) 
  
 srun --pty bash -i  srun --pty bash -i 
Line 21: Line 15:
   * You can specify a specific node with -w node5 (for instance).   * You can specify a specific node with -w node5 (for instance).
     * Will only run if there is a slot available on the node.     * Will only run if there is a slot available on the node.
 +
 +srun -n3 hostname (runs 3 **tasks**: copies of the program specified, may run on the same node)
 +
 +srun -n30 hostname (runs 30 **tasks**, will run on multiple nodes since no node in that standard queue has as many as 30 cores)
 +
 +srun -N3 hostname (runs on 3 different nodes)
  
  
srun.1614615163.txt.gz ยท Last modified: 2021/03/01 11:12 by root