Due to recent developments Singularity hub will not allow to build containers anymore. Currently migrating to docker hub.
Singularity recipe allowing to set up an enviroment where QUDA can be built. Currently supports Scientific Linux 7 systems.
To build the container as a sandbox run
sudo singularity build --sandbox AMD.sandbox Singularity
As an alternative (recommended) , clone the sif image from Singularity-hub and convert the image to sandbox
sudo singularity build --sandbox AMD.sandbox singularity-quda-hip.sif
Edit the Sandbox with
sudo singularity shell --writable AMD.sandbox
The folder /workdir
contains the QUDA repository. The script install_quda.sh
, contains the cmake setup allowing to build the library.
Please refer to the QUDA repo.
Transfer the sif image to the HPC facility and run a Slurm job to convert the sif image back into a sandbox. At this stage, the setup is ready and the QUDA executable can be executed from the sandbox with a Slurm job.