This is the material for day 2 of the workshop. The material for day 1 can be found at: Introduction to Docker.
This lesson provides an introduction to using the Singularity container platform. Singularity is particularly suited to running containers on infrastructure where users don’t have administrative privileges, for example shared infrastructure such as High Performance Computing (HPC) clusters.
This lesson will introduce Singularity from scratch showing you how to run a simple container and building up to creating your own containers and running parallel scientific workloads on HPC infrastructure.
Prerequisites
There are two core elements to this lesson - running containers and building containers. The prerequisites are slightly different for each and are explained below.
Running containers: (episodes 1-5 and 8)
- On this course we will use the ARCHER2 UK national supercomputing service as the platform to run the containers.
Building containers: (episodes 6 and 7) Building containers requires access to a platform with an installation of Singularity on which you also have administrative access. If you run Linux and are comfortable with following the Singularity installation instructions, then installing Singularity directly on your system is an option. However, we strongly recommend using the Docker Singularity container for this section of the material. Details are provided on how to use the container in the relevant section of the lesson material. To support building containers, the prerequisite is therefore:
Access to a system with Docker installed on which you can run the Docker Singularity container.
OR
Access to a local or remote Linux-based system on which you have administrator (root) access and can install the Singularity software.