From 3ad6d8a303481bfb1a715ba2e23bf384dfb20abb Mon Sep 17 00:00:00 2001 From: Evan Parker Date: Tue, 7 May 2024 16:18:48 -0600 Subject: [PATCH] add python3-nacl as external package in intel-impi --- configs/containers/docker-ubuntu-intel-impi.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/configs/containers/docker-ubuntu-intel-impi.yaml b/configs/containers/docker-ubuntu-intel-impi.yaml index ac8c160f1..67a5a7830 100644 --- a/configs/containers/docker-ubuntu-intel-impi.yaml +++ b/configs/containers/docker-ubuntu-intel-impi.yaml @@ -75,6 +75,11 @@ spack: externals: - spec: mysql@8.0.32 prefix: /usr + py-pynacl: + buildable: false + externals: + - spec: py-pynacl@1.5.0 + prefix: /usr/lib/python3/dist-packages/nacl # Turn off crypt, because libxcrypt doesn't # build with Intel. python: @@ -180,7 +185,8 @@ spack: wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && \ echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list && \ apt update && \ - apt install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2022.1.0 intel-oneapi-compiler-fortran-2022.1.0 intel-oneapi-mkl-devel-2022.1.0 intel-oneapi-mpi-devel-2021.6.0 -y + apt install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2022.1.0 intel-oneapi-compiler-fortran-2022.1.0 intel-oneapi-mkl-devel-2022.1.0 intel-oneapi-mpi-devel-2021.6.0 python3-nacl -y && \ + rm -rf /var/lib/apt/lists/* pre_final: | # Set environment variables for installing tzdata ENV DEBIAN_FRONTEND=noninteractive @@ -199,7 +205,8 @@ spack: wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null && \ echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list && \ apt update && \ - apt install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2022.1.0 intel-oneapi-compiler-fortran-2022.1.0 intel-oneapi-mkl-devel-2022.1.0 intel-oneapi-mpi-devel-2021.6.0 -y + apt install intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic-2022.1.0 intel-oneapi-compiler-fortran-2022.1.0 intel-oneapi-mkl-devel-2022.1.0 intel-oneapi-mpi-devel-2021.6.0 -y && \ + rm -rf /var/lib/apt/lists/* # Copy spack find output from builder COPY --from=builder /root/spack_find.out /root/spack_find.out # Make a non-root user:nonroot / group:nonroot for running MPI