diff --git a/cfg/fsa-spirou/compilers.bashrc b/cfg/fsa-spirou/compilers.bashrc
index 707fb5310cd5eb06ed4f22453af6ebffada7b0e3..2bf97e60268d5e135bea092e324d0dab1526f828 100644
--- a/cfg/fsa-spirou/compilers.bashrc
+++ b/cfg/fsa-spirou/compilers.bashrc
@@ -25,3 +25,14 @@ if [ -d /opt/intel ] ; then
     . /opt/intel/oneapi/mkl/latest/env/vars.sh
     . /opt/intel/oneapi/tbb/latest/env/vars.sh
 fi
+
+function use_intel_compilers() {
+    source /opt/intel/oneapi/compiler/latest/env/vars.sh
+    export CC=icc
+    export CXX=icpc
+    export FC=ifort
+    echo "Intel compiler enabled!"
+    echo "  CC=`which $CC`"
+    echo "  CXX=`which $CXX`"
+    echo "  FC=`which $FC`"
+}