Difference between revisions of "Quickstart/Interactive"

From HPC
Jump to: navigation , search
m (GPU node interactive session)
m
 
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

Latest revision as of 10:31, 9 December 2022

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



Back / Next (Slurm)