Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.
Kommentar: subsection, monospace, code block formatting

...

No group membership or license is needed. Singularity can be used by all HLRN users by default.

Modules

Selecting the version and loading the environment

Load the modulefile

Codeblock
languagebash
$ module load singularity/3.2.1

This provides access to the binary singularity wich can be used to run containers.

Bash completion

By default bash completion for singularity is not loaded. To enjoy bash completion with Singularity commands and options, source the bash completion file as stated below:

Codeblock
languagebash
source $SING_AUTOC


After loading singularity module, environment variable SING_AUTOC contains the necessary bash completion file.

Building images and running containers

Building images for Singularity requires root privileges. Therefore you need to prepare the image locally on your computer and then move the image into HLRN.

Or you can use Singularity or Docker hubs to run images located there. For more information please use:

Codeblock
languagebash
singularity run --help

Example Jobscripts

Here is an example job of running the local Singularity image (.sif)

...