Difference between revisions of "Quickstart/Interactive"
From HPC
m (→GPU node interactive session) |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 46: | Line 46: | ||
==GPU node interactive session== | ==GPU node interactive session== | ||
− | GPU node with a single GPU and non exclusive. | + | GPU node with a single GPU and non-exclusive. |
<pre style="background-color: #000000; color: white; border: 2px solid black; font-family: monospace, sans-serif;"> | <pre style="background-color: #000000; color: white; border: 2px solid black; font-family: monospace, sans-serif;"> | ||
[username@login01 ~]$ interactive -pgpu | [username@login01 ~]$ interactive -pgpu | ||
Line 58: | Line 58: | ||
− | [[ | + | [[Main Page #Quickstart| Back]] / [[Quickstart/Slurm| Next (Slurm)]] |
Latest revision as of 10:31, 9 December 2022
Contents
What is an interactive session?
An interactive session can be started on Viper that can be used for any task that requires interaction and should be used for any computationally demanding task rather than using the login node.
Examples of interactive usage include:
- Code compilation
- Data analysis
- Basic visualisation
- Console based interactive applications such as Python, R, Matlab, SAS or Stata
- Graphical user interfaces such as Matlab, SAS or Stata
How to start an interactive session
An interactive session can be started by using the interactive command:
[username@login01 ~]$ interactive salloc: Granted job allocation 306844 Job ID 306844 connecting to c068, please wait... [username@c068 ~]$
How to exit an interactive session
To exit from an interactive session just type exit:
[username@c068 ~]$ exit logout salloc: Relinquishing job allocation 306844 [username@login01 ~]$
Exclusive interactive session
This will give you the whole node for your job exclusively, if this is not specified there may be other jobs that are running on the allocated node at the same time.
[username@login01 ~]$ interactive --exclusive salloc: Granted job allocation 306848 Job ID 306848 connecting to c174, please wait...
High Memory Node interactive session
[username@login01 ~]$ interactive -phighmem salloc: Granted job allocation 306153 Job ID 306153 connecting to c233, please wait...
GPU node interactive session
GPU node with a single GPU and non-exclusive.
[username@login01 ~]$ interactive -pgpu salloc: Granted job allocation 306855 Job ID 306855 connecting to gpu02, please wait...
Further information on interactive sessions