From cf619b3c39c845f5110547887ccb1f95a355adc6 Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Wed, 2 Oct 2024 14:30:59 -0500 Subject: [PATCH] Update ALCF Polaris profile (#5358) * Explicitly use gcc-12, because gcc points to gcc/7.5. * Load the non-cray version of hdf5 because the cray version has some cmake issues. --- .../machines/polaris-alcf/polaris_gpu_warpx.profile.example | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/machines/polaris-alcf/polaris_gpu_warpx.profile.example b/Tools/machines/polaris-alcf/polaris_gpu_warpx.profile.example index d5cb1ec7a07..e1bd4e0fdd3 100644 --- a/Tools/machines/polaris-alcf/polaris_gpu_warpx.profile.example +++ b/Tools/machines/polaris-alcf/polaris_gpu_warpx.profile.example @@ -20,7 +20,7 @@ module load cmake/3.27.7 module load boost # optional: for openPMD and PSATD+RZ support -module load cray-hdf5-parallel/1.12.2.9 +module load hdf5/1.14.3 export CMAKE_PREFIX_PATH=/home/${USER}/sw/polaris/gpu/c-blosc-1.21.1:$CMAKE_PREFIX_PATH export CMAKE_PREFIX_PATH=/home/${USER}/sw/polaris/gpu/adios2-2.8.3:$CMAKE_PREFIX_PATH export CMAKE_PREFIX_PATH=/home/${USER}/sw/polaris/gpu/blaspp-2024.05.31:$CMAKE_PREFIX_PATH @@ -53,7 +53,7 @@ export CXXFLAGS="-march=znver3" export CFLAGS="-march=znver3" # compiler environment hints -export CC=$(which gcc) -export CXX=$(which g++) +export CC=$(which gcc-12) +export CXX=$(which g++-12) export CUDACXX=$(which nvcc) export CUDAHOSTCXX=${CXX}