Log in session
Goal
The goal of this optional sessions is to make sure that you have fulledfilled the
Preparations of environment to follow this course:
you can log in
you can start a text editor
We will also download exercise snippets and solutions that you can work with. Use the tarball with exercises
If/when you have done all this, see you at 10:00 sharp! Else, see you in this session.
Cluster-specific approaches
The course is a cooperation between UPPMAX (Rackham, Snowy, Bianca), HPC2N (Kebnekaise), and LUNARC (Cosmos) and will focus on the compute systems at all these centres, as well as select resources at NSC (Tetralith) and PDC (Dardel).
Although there are differences we will only have few separate sessions.
Most participants will use NSC’s or Dardel’s systems for the course, as Rackham, Kebnekaise and Cosmos are only for local (UU, UmU, IRF, MIUN, SLU, LTU, LU) users.
The general information given in the course will be true for all/most HPC centres in Sweden.
The examples will often have specific information, like module names and versions, which may vary. What you learn here should help you to make any changes needed for the other centres.
When present, links to the Julia/R/Matlab documentation at other NAISS centres are given in the corresponding session.
Note
You were invited to be part of the course project.
If you already have research projects in any of the clusters you can use them. The CPU-hours required during the course will be low!
Learning outcomes
Be able to login, where you are
Tip
If you have user account and research project on Kebnekaise, follow the HPC2N track below.
If you have user account and research project on Cosmos, follow the LUNARC track below.
If you have user account and course/research project on Rackham, follow the UPPMAX track below.
If you have user account and course/research project on Tetralith, follow the NSC track below.
If you have user account and course/research project on Dardel, follow the PDC track below.
Use Thinlinc or terminal?
It is up to you!
Graphics come easier with Thinlinc
For this course, when having many windows open, it may sometimes be better to run in terminal, for screen space issues.
Step 1: Log in!
For beginners: use the bold login method.
HPC cluster |
Login method [*] |
Documentation |
Video |
---|---|---|---|
COSMOS |
SSH client |
||
COSMOS |
Local ThinLinc client |
||
Dardel |
SSH client |
||
Dardel |
Local ThinLinc client |
||
Kebnekaise |
SSH client |
||
Kebnekaise |
Local ThinLinc client |
||
Kebnekaise |
Remote desktop website |
||
Rackham |
SSH client |
||
Rackham |
Local ThinLinc client |
||
Rackham |
Remote desktop website |
||
Tetralith |
SSH client |
||
Tetralith |
Local ThinLinc client |
here. Scroll down to ThinLinc |
What are the differences between these login methods?
These are the ways to access your HPC cluster and some of their features:
How to access your HPC cluster |
Features |
How it looks like |
---|---|---|
Remote desktop via a website |
Familiar remote desktop, clumsy, clunky, no need to install software, not available at all centers |
![]() |
Remote desktop via a local ThinLinc client |
Familiar remote desktop, clumsy, need to install ThinLinc |
![]() |
Console environment using an SSH client |
A console environment, powerful, need to install an SSH client |
![]() |
Type-Along
Please log in to Rackham, Kebnekaise, or other cluster that you are using.
Use Thinlinc or terminal?
It is up to you! (Except on Dardel—then just use terminal)
Graphics come easier with ThinLinc
For this course, when having many windows open, it may be better to run in terminal, for screen space issues.
Log in to Rackham!
Terminal:
ssh -X <user>@rackham.uppmax.uu.se
ThinLinc app:
<user>@rackham-gui.uppmax.uu.se
ThinLinc in web browser:
https://rackham-gui.uppmax.uu.se
If not already: create a working directory where you can code along.
We recommend creating it under the course project storage directory
Example. If your username is “mrspock” and you are at UPPMAX, then we recommend you create this folder:
$ mkdir /proj/r-matlab-julia-uppmax/mrspock/
Kebnekaise through terminal:
<user>@kebnekaise.hpc2n.umu.se
Kebnekaise through ThinLinc, use:
<user>@kebnekaise-tl.hpc2n.umu.se
Create a working directory where you can code along.
Example. If your username is bbrydsoe and you are at HPC2N, then we recommend you create this folder:
$ mkdir /proj/nobackup/r-matlab-julia/bbrydsoe/
Cosmos through terminal:
<user>@cosmos.lunarc.lu.se
Cosmos through ThinLinc, use:
<user>@cosmos-dt.lunarc.lu.se
Create a working directory in your home space where you can code along.
Example. Create this folder:
$ mkdir $HOME/r-matlab-julia
Tetralith through terminal or Thinlinc:
<user>@tetralith.nsc.liu.se
Create a working directory where you can code along.
Example. If your username is jlpicard and you are at NSC, then we recommend you create this folder:
$ mkdir /proj/r-matlab-julia-naiss/jlpicard
Dardel through terminal:
<user>@dardel.pdc.kth.se
Dardel through ThinLinc:
<user>@dardel-vnc.pdc.kth.se
Warning! Only 30 Dardel users at a time can use ThinLinc. Do not count on it being available.
Create a working directory where you can code along.
Example. If your username is sevenof9 and you are at PDC, then we recommend you create this folder:
$ mkdir /cfs/klemming/projects/supr/r-matlab-julia-naiss/sevenof9/
Test an editor
Learn how to use an text editor at Use a text editor.
Download and extract the tarball with exercises
Learn how to download and extract the tarball with exercises at Use the tarball with exercises.