Welcome to the course: Selecting software modules¶
This NAISS course is given under under NAISS, by staff working at the branches located at UPPMAX, LUNARC, and HPC2N.
This material
Here you will find the content of the workshop “Login and selecting software modules”
- Documentation about selecting modules at some of the Swedish HPC centres
- HPC2N: https://docs.hpc2n.umu.se/software/modules/
- UPPMAX: https://docs.uppmax.uu.se/cluster_guides/modules/
- LUNARC: https://lunarc-documentation.readthedocs.io/en/latest/manual/manual_modules/
- PDC: https://support.pdc.kth.se/doc/basics/quickstart/#how-to-use-easybuild
- NSC: https://www.nsc.liu.se/software/modules/
- Documentation from Software Carpentry:
Prerequisites
- Basic Linux
Learning outcome
- What is the module system?
- Why do I want to use the module system?
- What happens when I load/unload modules?
- paths
- environment variables
- more?
- some talk about EasyBuild?
- Useful commands
- Load examples
- Compiler toolchains
Cluster-specific approaches
Important info¶
- There is an “important info” page for this course, containing info on the course project, login info for Tetralith/Dardel????, etc.
- It can be found here:
- There is a Q/A page for use during the lectures. Since the lectures are recorded, you may get recorded if you ask questions in the Zoom, but you can always write questions on the Q/A and get answers there. It also has the advantage that you can go back and look at the answers later.
- The Q/A page can be found here:
Preliminary schedule¶
Time | Topic | Activity |
---|---|---|
10:00 | Welcome+Syllabus | Lecture |
10:15 | The module system: overview | Lecture |
10:35 | The module system: Useful commands | Lecture+type along+exercise |
10:55 | Break | |
11:05 | Compiler toolchains | Lecture+type along |
11:20 | Software modules | Lecture+type along |
11:40 | Modules in batch scripts | Lecture+type along |
11:55 | Summary | |
12:00 | END |
Preparations¶
In order to type along and do the exercises, please prepare your course environment now:
1. Login
Login to the system you are using (Tetralith/Dardel, other Swedish HPC system)
- You will not need a graphical user interface for this course.
- Even so, if you do not have a favourite SSH client, we recomment using ThinLinc
Connection info:
- HPC2N
- SSH:
ssh <user>@kebnekaise.hpc2n.umu.se
- ThinLinc:
- Server:
kebnekaise-tl.hpc2n.umu.se
- Username:
<your-hpc2n-username>
- Password:
<yout-hpc2n-password>
- Server:
- ThinLinc Webaccess:
- Put
https://kebnekaise-tl.hpc2n.umu.se:300/
in browser address bar - Put
<your-hpc2n-username>
and<your-hpc2n-password>
in th e login box that opens and clickLogin
- Put
- SSH:
- UPPMAX
- SSH:
ssh <user>@rackham.uppmax.uu.se
- ThinLinc:
- Server:
rackham-gui.uppmax.uu.se
- Username:
<your-uppmax-username>
- Password:
<your-uppmax-password>
- Server:
- ThinLinc Webaccess:
- Put
https://rackham-gui.uppmax.uu.se
in browser address bar - Put
<your-uppmax-username>
and<your-uppmax-password>
in the login box that opens and clickLogin
- Put
- Note that you may have to setup TFA for Uppmax when using either of the ThinLinc connections.
- SSH:
- LUNARC
- SSH:
ssh <user>@cosmos.lunarc.lu.se
- ThinLinc:
- Server:
cosmos-dt.lunarc.lu.se
- Username:
<your-lunarc-username>
- Password:
<your-lunarc-password>
- Server:
- Note that you need to setup TFA (PocketPass) to use LUNARC!
- SSH:
- NSC
- SSH:
ssh <user>@tetralith.nsc.liu.se
- ThinLinc:
- Server:
tetralith.nsc.liu.se
- Username:
<your-nsc-username>
- Password:
<your-nsc-password>
- Server:
- Note that you need to setup TFA to use NSC!
- SSH:
- PDC
- SSH:
ssh <user>@dardel.pdc.kth.se
- ThinLinc:
- Server:
dardel-vnc.pdc.kth.se
- Username:
<your-pdc-username>
- Password:
<your-pdc-password>
- Server:
- Note that you need to setup SSH keys or kerberos in order to login to PDC!
- SSH:
2. Setup a working directory
You will not need a lot of space for the exercises, so you can create the directory under your home directory.
- Create a directory to work in (
mkdir $HOME/selecting-modules
) - and then switch to it (
cd $HOME/selecting-modules
)
3. Download the exercises
wget ...
4. Extract the exercises
tar zxvf exercises.tar.gz
5. Enter the directory that was created
cd exercises