Difference between revisions of "Quickstart/Interactive"
From HPC
m (→GPU node interactive session) |
m (→GPU node interactive session) |
||
Line 58: | Line 58: | ||
− | [[Newmainpage #Quickstart| Back]] / [[ | + | [[Newmainpage #Quickstart| Back]] / [[Quickstart/Slurm| Next (Slurm)]] |
Revision as of 11:14, 9 November 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