Skip to content

Commit

Permalink
Perlmutter: Load gpu Module
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ax3l committed Jan 3, 2024
1 parent ea8cadf commit f2ea134
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2ea134

Please sign in to comment.