From 3c312b04fa3779609f2645b60f97cf45462f6ace Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Mon, 5 Aug 2024 06:00:40 -0700 Subject: [PATCH] Add cuda to pm-gpu spack yaml files --- mache/spack/pm-gpu_gnugpu_mpich.yaml | 12 ++++++++++++ mache/spack/pm-gpu_nvidiagpu_mpich.yaml | 13 +++++++++++++ 2 files changed, 25 insertions(+) diff --git a/mache/spack/pm-gpu_gnugpu_mpich.yaml b/mache/spack/pm-gpu_gnugpu_mpich.yaml index 6554b52f..df641937 100644 --- a/mache/spack/pm-gpu_gnugpu_mpich.yaml +++ b/mache/spack/pm-gpu_gnugpu_mpich.yaml @@ -110,6 +110,18 @@ spack: - craype/2.7.19 - libfabric/1.15.2.0 buildable: false + cuda: + externals: + - spec: cuda@11.7 + prefix: /opt/nvidia/hpc_sdk/Linux_x86_64/22.7/cuda/11.7 + modules: + - PrgEnv-gnu/8.3.3 + - gcc/11.2.0 + - cudatoolkit/11.7 + - craype-accel-nvidia80 + - craype/2.7.19 + - libfabric/1.15.2.0 + buildable: false cray-mpich: externals: - spec: cray-mpich@8.1.25 diff --git a/mache/spack/pm-gpu_nvidiagpu_mpich.yaml b/mache/spack/pm-gpu_nvidiagpu_mpich.yaml index f40d7f76..e43c1e65 100644 --- a/mache/spack/pm-gpu_nvidiagpu_mpich.yaml +++ b/mache/spack/pm-gpu_nvidiagpu_mpich.yaml @@ -98,6 +98,19 @@ spack: - spec: xz@5.2.3 prefix: /usr buildable: false + cuda: + externals: + - spec: cuda@11.7 + prefix: /opt/nvidia/hpc_sdk/Linux_x86_64/22.7/cuda/11.7 + modules: + - PrgEnv-nvidia + - nvidia/22.7 + - cudatoolkit/11.7 + - craype-accel-nvidia80 + - gcc-mixed/11.2.0 + - craype-x86-milan + - libfabric + buildable: false cray-mpich: externals: - spec: cray-mpich@8.1.25