From c8c3548876fadf1524e365ec6a2fd73a8574e33b Mon Sep 17 00:00:00 2001 From: Juan ESCOBAR <juan.escobar@aero.obs-mip.fr> Date: Thu, 16 Nov 2023 10:21:27 +0100 Subject: [PATCH] Juan 16/11/2023:configure , add Leonardo --- src/configure | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/configure b/src/configure index e83c6c642..4d89e5f5b 100755 --- a/src/configure +++ b/src/configure @@ -52,6 +52,28 @@ cd ${LOCAL}/conf TARG=$(uname -s -n) # case "$TARG" in +'Linux login'*leonardo*) # Leonardo A100 + export ARCH=${ARCH:-LXnvhpc2202} + export VER_MPI=${VER_MPI:-MPIAUTO} + export OPTLEVEL=${OPTLEVEL:-OPENACCO2} + export MVWORK=${MVWORK:-NO} + export VER_CDF=${VER_CDF:-CDFAUTO} + +export MNHENV=${MNHENV:-" +module purge +module load git-lfs +module load nvhpc/23.1 +module load openmpi/4.1.4--nvhpc--23.1-cuda-11.8 +module load cuda/11.8 + +export CUDALEVEL=cuda11.8 +export OPT_CPTCAP=cc80 + +export NVHPC_CUDA_HOME=\$CUDA_HOME + +module list +"} +;; 'Linux login'*) # Adastra MI250 export ARCH=${ARCH:-LXcray} export VER_MPI=${VER_MPI:-MPICRAY} -- GitLab