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
You should have basic familiarity with using a command shell, and the lesson text will at times request that you “open a shell window”, with an assumption that you know what this means. Under Linux or macOS it is assumed that you will access a bash shell (usually the default), using your Terminal application. Under Windows, Powershell or WSL should allow you to use the Unix instructions. The lessons will sometimes request that you use a text editor to create or edit files in particular directories. It is assumed that you either have an editor that you know how to use that runs within the working directory of your shell window (e.g. nano), or that if you use a graphical editor, that you can use it to read and write files into the working directory of your shell.
You should be familiar with logging into remote systems via SSH and copying data to remote systems using “scp” or similar tools.
Software installation
We recommend that you install Singularity/Apptainer locally on your system to participate in this tutorial. While the application is designed to run only on Linux, you install it on macOS via Lima and on Windows via WSL. See the setup page for this lesson for detailed instructions.
Course details
- Dates:
- 6 September 2023
- Location:
- RSECon23, Swansea Bay Campus, Swansea University
- Instructors:
- Jeremy Cohen, Imperial College London, UK
- Andy Turner, EPCC, University of Edinburgh, UK
- Chris Wood, EPCC, University of Edinburgh, UK
- Harvey Richardson, HPE
- Ian Cockshott, HPE