spack-manager
spack-manager copied to clipboard
Container for (spack-manager) CPU Build of Exawind
This PR proposes a CPU - only build of exawind (GPU containers to follow).
Build
podman-hpc build --no-cache -t <TAG_NAME> -f Dockerfile-containercpu .
Run
podman-hpc run --rm -it <TAG_NAME>
root@073e26667af0:/exawind-entry/spack-manager# which exawind
/exawind-entry/spack-manager/snapshots/exawind/containercpu/2023-10-12/opt/linux-ubuntu22.04-zen3/gcc-11.4.0/exawind-git.d3c1aa4656fc3c6eccaec8c684671c82a3895172=multiphase-tr5yl3atifvjgzpwzu4i2vmgtwnob5yf/bin/exawind
root@073e26667af0:/exawind-entry/spack-manager# exawind --help
usage: exawind [--awind NPROCS] [--nwind NPROCS] input_file
-h,--help Show this help message
--awind NPROCS Number of ranks for AMR-Wind (default = all ranks)
--nwind NPROCS Number of ranks for Nalu-Wind (default = all ranks)
After exiting a container, you will need to build the container again using a new tag name.
*Nota bene: * Docker can be used instead of podman-hpc
Concerns around this build include rather dated Trilinos (13.4.0) and Spack (ee68baf254ce8f401704ef1a62b77057487d4a12) versions.