Skip to content

Exercises 4: Running jobs with Slurm

Intro

For these exercises, you'll need to take care of some settings:

  • For the CPU exercises we advise to use the small partition and for the exercises on GPU the standard-g partition.

  • During the course you can use the course training project project_465003355 for these exercises. A few days after the course you will need to use a different project on LUMI.

  • On April 23 we have a reservation that you can use (through #SBATCH --reservation=...):

    • For the small partition, the reservation name is lumi-intro-small

    • For the standard-g partition, the reservation name is lumi-intro-standard_g

An alternative (during the course only) for manually specifying the account, the partition and the reservation, is to set them through modules. For this, first add an additional directory to the module search path:

module use /appl/local/training/modules/2day-20261109

and then you can load either the module exercises/small (to use the reservation in the small partition of LUMI-C) or exercises/standard-g (to use the reservation in the standard-g partition of LUMI-G).

Check what these modules do...

Try, e.g.,

module show exercises/small

to get an idea of what these modules do. Can you see which environment variables they set?

Exercises

A&A

/