replace icc with icx

This commit is contained in:
edoapra 2024-05-31 10:51:09 -07:00
parent d6ab8b0823
commit c2edbb760a
No known key found for this signature in database
GPG key ID: 9E6A0B70826967BA
2 changed files with 4 additions and 3 deletions

View file

@ -230,7 +230,7 @@ if [[ "$os" == "Linux" ]]; then
source "$IONEAPI_ROOT"/setvars.sh || true
export I_MPI_F90="$FC"
"$FC" -V ; if [[ $? != 0 ]]; then echo "Intel SW install failed"; exit 1; fi
icc -V
icx -V
fi
if [[ "$FC" == 'flang-new-'* ]]; then

View file

@ -58,10 +58,11 @@ if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]] ; then
# source "$IONEAPI_ROOT"/compiler/latest/env/vars.sh
source "$IONEAPI_ROOT"/setvars.sh --force
export I_MPI_F90="$FC"
#force icc on macos to cross-compile x86 on arm64
#force icc on macos to cross-compile x86 on arm64
# icx not available on macos
if [[ "$os" == "Darwin" ]]; then
CC=icc
CXX=icpc
CXX=icc
# Intel MPI not available on macos
# export BUILD_MPICH=1
unset BUILD_PLUMED