From f2ea134d162d885dd5306fa7ec2cb19f9b7e2c3b Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 3 Jan 2024 14:25:12 -0800 Subject: [PATCH] Perlmutter: Load `gpu` Module If a user loaded the `cpu` module, they might lack the CUDA modules. This makes the load a bit more robust, in lieu of a working `module purge` on Cray/HPE systems. --- .../perlmutter-nersc/perlmutter_gpu_warpx.profile.example | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tools/machines/perlmutter-nersc/perlmutter_gpu_warpx.profile.example b/Tools/machines/perlmutter-nersc/perlmutter_gpu_warpx.profile.example index 13ab2ead605..54cd33fe476 100644 --- a/Tools/machines/perlmutter-nersc/perlmutter_gpu_warpx.profile.example +++ b/Tools/machines/perlmutter-nersc/perlmutter_gpu_warpx.profile.example @@ -6,6 +6,12 @@ export MY_PROFILE=$(cd $(dirname $BASH_SOURCE) && pwd)"/"$(basename $BASH_SOURCE if [ -z ${proj-} ]; then echo "WARNING: The 'proj' variable is not yet set in your $MY_PROFILE file! Please edit its line 2 to continue!"; return; fi # required dependencies +module load gpu +module load PrgEnv-gnu +module load craype +module load craype-x86-milan +module load craype-accel-nvidia80 +module load cudatoolkit module load cmake/3.22.0 # optional: for QED support with detailed tables