Skip to content
Snippets Groups Projects
Commit 63b543bb authored by Boman Romain's avatar Boman Romain
Browse files

add new intel compilers

parent 05d53602
No related branches found
No related tags found
No related merge requests found
......@@ -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`"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment