From 63b543bb7ed02e3bc820eeffe5b46f3980972117 Mon Sep 17 00:00:00 2001
From: Romain Boman <romain.boman@gmail.com>
Date: Mon, 24 Mar 2025 16:00:10 +0100
Subject: [PATCH] add new intel compilers

---
 cfg/fsa-spirou/compilers.bashrc | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/cfg/fsa-spirou/compilers.bashrc b/cfg/fsa-spirou/compilers.bashrc
index 2bf97e6..ae8fe7c 100644
--- a/cfg/fsa-spirou/compilers.bashrc
+++ b/cfg/fsa-spirou/compilers.bashrc
@@ -26,7 +26,7 @@ if [ -d /opt/intel ] ; then
     . /opt/intel/oneapi/tbb/latest/env/vars.sh
 fi
 
-function use_intel_compilers() {
+function use_intel_compilers_old() {
     source /opt/intel/oneapi/compiler/latest/env/vars.sh
     export CC=icc
     export CXX=icpc
@@ -36,3 +36,14 @@ function use_intel_compilers() {
     echo "  CXX=`which $CXX`"
     echo "  FC=`which $FC`"
 }
+
+function use_intel_compilers_new() {
+    source /opt/intel/oneapi/compiler/latest/env/vars.sh
+    export CC=icx
+    export CXX=icpx
+    export FC=ifx
+    echo "Intel compiler enabled!"
+    echo "  CC=`which $CC`"
+    echo "  CXX=`which $CXX`"
+    echo "  FC=`which $FC`"
+}
-- 
GitLab