From 44b28dbd22061542d7d31b5dfb63ad5a7558336e Mon Sep 17 00:00:00 2001
From: joulinp <joulin.pierre-antoine@ifpen.fr>
Date: Tue, 4 Apr 2023 18:26:30 +0200
Subject: [PATCH] modification for CentOS7 / Rocky 8 identification

---
 src/configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/configure b/src/configure
index 08c284d73..caecb21e3 100755
--- a/src/configure
+++ b/src/configure
@@ -487,7 +487,7 @@ export I_MPI_PIN_PROCESSOR_LIST=all:map=spread
                 export VER_CDF=${VER_CDF:-CDFAUTO}
                 export   MNHENV=${MNHENV:-"
 module purge
-source /soft/irsrvsoft1/expl/eb/r17/el_7-x86_64/envs/mesonh.sh
+source /soft/irsrvsoft1/expl/eb/r17/$(echo el_`lsb_release -r | awk -F ":" ' {print $2}' | awk -F "." '{print $1}' | tr -d '\t'`-`uname -i`)/envs/mesonh.sh
 "}
               ;;
 
-- 
GitLab