From ba59eea288e338ff76399fb094e9bbaa754581a4 Mon Sep 17 00:00:00 2001
From: Juan ESCOBAR <juan.escobar@aero.obs-mip.fr>
Date: Wed, 26 Oct 2022 15:51:24 +0200
Subject: [PATCH] Juan 26/10/2022:configure, add "Login2" noeud with Cray Env +
 AMD Trento CPU + AMD GPU MI250X

---
 src/configure | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/src/configure b/src/configure
index 8c46c4f94..dcb6c2ea3 100755
--- a/src/configure
+++ b/src/configure
@@ -52,6 +52,36 @@ cd ${LOCAL}/conf
 TARG=$(uname -s -n)
 #
 case "$TARG" in
+'Linux login2'*)
+                export ARCH=${ARCH:-LXcray}
+                export VER_MPI=${VER_MPI:-MPICRAY}
+                #export VER_MPI=${VER_MPI:-MPIAUTO}
+                #export OPTLEVEL=${OPTLEVEL:-MANAGED02}
+               export OPTLEVEL=${OPTLEVEL:-OPENACC}
+               # export OPTLEVEL=${OPTLEVEL:-OPENACCDEFONLY}
+                export MVWORK=${MVWORK:-NO}
+                export VER_CDF=${VER_CDF:-CDFAUTO}
+                #export VER_USER=${VER_USER:-ZSOLVER}
+                export MNHENV=${MNHENV:-"
+module purge
+module load craype-x86-trento
+module load craype-network-ofi
+module load PrgEnv-cray/8.3.3
+
+module load libfabric/1.15.0.0
+module load xpmem/2.4.4-2.3_2.12__gff0e1d9.shasta
+module load cray-pmi/6.1.2
+module load craype-accel-amd-gfx90a
+module load rocm
+
+
+ulimit -s unlimited
+
+
+#export CRAY_ACC_DEBUG=2
+"}
+              ;;
+
 'Linux jean-zay'*|'Linux idrsrv'*)
                 export ARCH=${ARCH:-LXifort}
                 export VER_MPI=${VER_MPI:-MPIINTEL}
-- 
GitLab