Login instructions

1. Connecting to UPPMAX

The first step of this lab is to open a ssh connection to UPPMAX. To do this you need to start a terminal program on your computer. Which program is used depends on the system of your computer (MacOSX, Windows or Linux). On MacOSX you should use Terminal (icon looks like a black screen), on Windows you should use MobaXterm. For Linux it depends on which version of Linux you are running, but it should be fairly obvious which program to use.

Once you have started your terminal program, type in (change username to your own username):

$ ssh -X username@milou.uppmax.uu.se

and give your password when prompted. As you type the password, nothing will show on screen. No stars, no dots. It is supposed to be that way. Just type the password and press enter, it will be fine.

You should now get a welcoming message from Uppmax to show that you have successfully logged in.

2. Logging into the reserved node

For this course, we have arranged for you to have one half of a node (=8 cores) each. To get this reservation you need to use the salloc command like this:

$ salloc -A g2016007 -t 08:00:00 -p core -n 8 --no-shell --reservation=check_below &

where you should substitute “check_below” with one of these alternatives depending on the day.

Monday: g2016007_tuesday

Tuesday: g2016007_wednesday

Now check which node you got (replace username with your uppmax user name) like this:

$ squeue -u username

Under Nodelist you will see the name of the node that has been reserved for you. The names follow the format qXX, e.g., q34.

Connect to the node you were dealt like this:

$ ssh -X q34

Note: there is a uppmax specific tool called jobinfo that supplies the same kind of information as squeue that you can use as well ( $ jobinfo -u username).

You are now logged in to your reserved node, and there is no need for you to use the SLURM queuing system. You can now continue with the specific exercise instructions, but please remember to never use more than 8 cores as you will be sharing a node (i.e., a single computer) with someone else in the course and there are only 16 cores available in total per node.

By Martin Dahlö, revised by Henrik Lantz.