Part 1: Connecting to UPPMAX and reserving nodes

Before moving on to the exercises, you will first need to connect to Milou on Uppmax through ssh.
Instructions for mac
If you have a Mac, first check if you will be able to use X forwarding. It is included in older macs but was removed in the latest releases where you need to install it (see: http://support.apple.com/en-us/HT201341). Then start the terminal (black screen icon).

Instructions for PC
If you work on a PC, download and start MobaXterm (you can download it here: http://mobaxterm.mobatek.net/).

You will be using half a node (8 cores) per person. This means you will end up sharing one node for two people as one node consists of 16 cores. It is essential to log in with X forwarding (-X) option to be able to display graphical interfaces across remote computers. Type the following command but replace username with your login name.

Connect to Uppmax:

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

Next, request a compute node for the next 8 hours.
Do not repeat this command otherwise you will be using more than 8 cores and other might not be able to work.
Just type it once and see which node you are assigned to.

salloc -A g2015028 -t 08:00:00 -p core -n 8 --no-shell --qos=interact &

Type the following command to see the login node:

squeue -u username

The nodelist column gives you the name of the node that has been reserved for you.
Log in to compute node (replace mXX with the actual compute node you are assigned to)

ssh -X mXX

Make sure that you can launch graphical tools in your node by typing this command:

xclock

If you see the clock then you should be able to launch GUI-based tools such as MEGAN or Artemis remotely. Close the clock.

Previous page Next page