Log in and other preparations

Goal

Learning outcomes

  • Be able to login, where you are

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!

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.

To be done before

  • Follow the steps in the emailed instructions.

  • First time you need to use a terminal to set password

  • When password is set you can begin to use ThinLinc as well.

Step 1: Log in!

For beginners: use the bold login method.

HPC cluster

Login method [*]

Documentation

Video

COSMOS

SSH client

here

here

COSMOS

Local ThinLinc client

here

here

Dardel

SSH client

here

here

Dardel

Local ThinLinc client

here

here

Kebnekaise

SSH client

here

here

Kebnekaise

Local ThinLinc client

here

here

Kebnekaise

Remote desktop website

here

here

Rackham

SSH client

here

here

Rackham

Local ThinLinc client

here

here

Rackham

Remote desktop website

here

here

Tetralith

SSH client

here

here

Tetralith

Local ThinLinc client

here. Scroll down to ThinLinc

here

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.

Warning

  • When logging in to UPPMAX the first time in ThinLinc, choose XFCE desktop.

  • On HPC2N, you will use the MATE desktop as default.

  • Whe logging in to LUNARC the first time in ThinLinc, choose GNOME Classis Desktop.

  • On NSC you will use XFCE desktop as default.

Warning

  • Please log in to the cluster that you are using.

  1. 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

Keypoints

  • When you log in from your local computer you will always arrive at a login node with limited resources.
    • You reach the calculations nodes from within the login node (See Submitting jobs section)

  • You reach UPPMAX/HPC2N/LUNARC/NSC clusters either using a terminal client or Thinlinc

  • Graphics are included in Thinlinc and from terminal if you have enabled X11.

  • Which client to use?
    • Graphics and easy to use

    • ThinLinc

  • Best integrated systems
    • Visual Studio Code has several extensions (remote, SCP, programming IDE:s)

    • Windows: MobaXterm is somewhat easier to use.

Step 2: Make a work directory

  • Directory names OK?

  1. If not already: create a working directory where you can code along.

  • We recommend creating it under the course project storage directory

  1. Example. If your username is “mrspock” and you are at UPPMAX, then we recommend you create this folder:

    $ mkdir /proj/hpc-python-uppmax/mrspock/
    

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.