From c2edbb760a7ca5d970ad5b76ccba16205fc19dbf Mon Sep 17 00:00:00 2001 From: edoapra Date: Fri, 31 May 2024 10:51:09 -0700 Subject: [PATCH] replace icc with icx --- travis/build_env.sh | 2 +- travis/nwchem.bashrc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/travis/build_env.sh b/travis/build_env.sh index 61b9ed7c35..4cd15eb9bf 100755 --- a/travis/build_env.sh +++ b/travis/build_env.sh @@ -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 diff --git a/travis/nwchem.bashrc b/travis/nwchem.bashrc index a53d48dee4..259aeecf8e 100644 --- a/travis/nwchem.bashrc +++ b/travis/nwchem.bashrc @@ -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