[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
slurm [2022/08/29 16:40]
vodrazka created
slurm [2022/08/31 11:15]
vodrazka [Interactive mode]
Line 5: Line 5:
 ===== Basic usage ===== ===== Basic usage =====
  
 +==== Interactive mode ====
  
 +This mode can be useful for testing You should be using batch mode for any serious computation.
 +You can use **''srun''** command to get an interactive shell on an arbitrary node from the default partition (queue):
  
 +<code>srun --pty bash</code>
 +
 +There are many more parameters available to use. For example:
 +
 +<code>srun -p cpu-troja --mem=64G --pty bash</code>
 +
 +Where:
 +  * ''-p cpu-troja'' explicitly requires partition ''cpu-troja''
 +  * ''--mem=64G'' requires 64G of memory for the job
 +
 +To see all the available options type:
 +
 +<code>man srun</code>
  

[ Back to the navigation ] [ Back to the content ]