mirror of
https://github.com/nwchemgit/nwchem.git
synced 2026-07-29 06:35:39 -04:00
I_MPI_F90="$FC" for Intel mpif90
This commit is contained in:
parent
28b8678838
commit
757e66be6d
3 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue