Peano
Loading...
Searching...
No Matches
Installation with Apptainer

Here we maintain Apptainer Definition Files for different compilers.

Build

At the moment, we do not host pre-built Apptainer containers on some cloud repository. Therefore, anyone who is interested in using Apptainer needs to first build the container. One alternative approach is to pull a Docker image from Dockerhub and then convert to Apptainer. See the Apptainer documentation for details. In our experience this only works for simple images. There is no guarantee that this will work with our Docker images. Therefore, we do not recommend it.

To build the Apptainer containers, make sure to execute the following commands in the Peano root directory

apptainer build apptainer/gcc.sif apptainer/Apptainer.gcc
apptainer build apptainer/intel.sif apptainer/Apptainer.intel
apptainer build apptainer/nvidia.sif apptainer/Apptainer.nvidia
apptainer build apptainer/amd.sif apptainer/Apptainer.amd
apptainer build apptainer/llvm.sif apptainer/Apptainer.llvm

Usage

apptainer shell -e --bind "$PWD" apptainer/<compiler>.sif

With GPU Support

apptainer shell --nv -e --bind "$PWD" apptainer/<compiler>.sif
apptainer shell --rocm -e --bind "$PWD" apptainer/<compiler>.sif

For more details, see https://apptainer.org/docs/user/1.0/gpu.html