mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-27 05:35:37 -04:00
replace icc with icx
This commit is contained in:
parent
d6ab8b0823
commit
c2edbb760a
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue