Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This repository contains Apptainer (Singularity) definitions of Mat3ra public
application containers. Containers are built automatically via GitHub workflow
and are hosted on GitHub Container Registry.

![Mat3ra Container Infrastructure](./inheritance-tree.png)


## Managing ENV variables

Expand Down
52 changes: 52 additions & 0 deletions espresso/espresso-7.5-host-cuda-12.8.def
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
Bootstrap: oras
From: ghcr.io/exabyte-io/application-containers-public/almalinux-apptainer-nvhpc:25.3-cuda-12.8-0
Stage: devel

%post
if [ -f /.singularity.d/env/91-environment.sh ]; then
. /.singularity.d/env/91-environment.sh
fi

QE_VER="7.5"
wget -q https://gitlab.com/QEF/q-e/-/archive/qe-${QE_VER}/q-e-qe-${QE_VER}.tar.gz
tar -xf q-e-qe-${QE_VER}.tar.gz
rm -f q-e-qe-${QE_VER}.tar.gz
cd q-e-qe-${QE_VER}

export CC=nvc
export CXX=nvc++
export F90=nvfortran
export NVHPC_INSTALL_DIR="/opt/nvidia/hpc_sdk"

./configure prefix=/opt/qe-${QE_VER} \
--libdir="${NVHPC_INSTALL_DIR}/Linux_x86_64/25.3/math_libs/12.8" \
--with-cuda="${NVHPC_INSTALL_DIR}/Linux_x86_64/25.3/cuda/12.8" \
--with-cuda-runtime=12.8 \
--with-cuda-cc=8.0 \
--enable-openmp

make all -j$(nproc)
make install

cd ..
rm -rf q-e-qe-${QE_VER}

#-------------------------------- Final image ---------------------------------#

Bootstrap: oras
From: ghcr.io/exabyte-io/application-containers-public/almalinux-apptainer-base:9.7-1

%labels
Maintainer Mat3ra.com
Version espresso-7.5-host-cuda-12.8

%help
Quantum ESPRESSO v7.5 (maps NVHPC v25.3 + CUDA 12.8 from the host installation)
Example command:
mpirun -np 1 apptainer exec --nv <image>.sif pw.x -in pw.in | tee pw.out

%files from devel
/opt/qe-7.5 /opt/

%environment
export PATH=/opt/qe-7.5/bin:$PATH
Binary file added inheritance-tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ images:
path: espresso/espresso-7.5-host-intel-2023.1-libxc-7.0.def
registry: ghcr.io/exabyte-io/application-containers-public/espresso
tag: 7.5-host-intel-2023.1-libxc-7.0-0
# CUDA
- name: espresso
path: espresso/espresso-7.5-host-cuda-12.8.def
registry: ghcr.io/exabyte-io/application-containers-public/espresso
tag: 7.5-host-cuda-12.8-0
# NWChem
# GNU
- name: nwchem
Expand Down