diff --git a/travis/build_env.sh b/travis/build_env.sh index 08082bb452..d14c4e2971 100755 --- a/travis/build_env.sh +++ b/travis/build_env.sh @@ -56,7 +56,8 @@ esac "$IONEAPI_ROOT"/ipp "$IONEAPI_ROOT"/conda_channel "$IONEAPI_ROOT"/dnnl \ "$IONEAPI_ROOT"/installer "$IONEAPI_ROOT"/vtune_profiler "$IONEAPI_ROOT"/tbb || true fi - source "$IONEAPI_ROOT"/setvars.sh || true + source "$IONEAPI_ROOT"/setvars.sh || true + export I_MPI_F90="$FC" ls -lrta ~/apps/oneapi ||true df -h rm -f *dmg || true diff --git a/travis/compile_nwchem.sh b/travis/compile_nwchem.sh index 462e55dfa1..21f922a449 100755 --- a/travis/compile_nwchem.sh +++ b/travis/compile_nwchem.sh @@ -53,6 +53,7 @@ else unset BUILD_OPENBLAS export BLAS_SIZE=8 export LAPACK_LIB="$BLASOPT" + export I_MPI_F90="$FC" elif [[ "$FC" == "flang" ]] || [[ "$(basename -- $FC | cut -d \- -f 1)" == "nvfortran" ]] ; then export BUILD_MPICH=1 if [[ "$FC" == "flang" ]]; then diff --git a/travis/nwchem.bashrc b/travis/nwchem.bashrc index 74a721baa4..47b2a579f0 100644 --- a/travis/nwchem.bashrc +++ b/travis/nwchem.bashrc @@ -66,6 +66,7 @@ if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]] ; then ;; esac source "$IONEAPI_ROOT"/compiler/latest/env/vars.sh + export I_MPI_F90="$FC" "$FC" -V if [ -f "$IONEAPI_ROOT"/mkl/latest/env/vars.sh ] ; then source "$IONEAPI_ROOT"/mkl/latest/env/vars.sh @@ -74,6 +75,7 @@ if [[ "$FC" == "ifort" ]] || [[ "$FC" == "ifx" ]] ; then fi if [[ "$MPI_IMPL" == "intel" ]]; then source /opt/intel/oneapi/mpi/latest/env/vars.sh + export I_MPI_F90="$FC" mpif90 -v mpif90 -show if [ -f /opt/intel/oneapi/mkl/latest/env/vars.sh ] ; then