define MPICH_FC when not set

This commit is contained in:
edoapra 2023-05-30 11:28:32 -07:00
parent 43160d0645
commit 61a049ae7f
No known key found for this signature in database
GPG key ID: 48E12DA1EDE9E1B0

View file

@ -89,6 +89,11 @@ if [[ -z "$I_MPI_F90" ]] ; then
export I_MPI_F90="$FC"
echo I_MPI_F90 is "$I_MPI_F90"
fi
#Mpich
if [[ -z "$MPICH_FC" ]] ; then
export MPICH_FC="$FC"
echo MPICH_FC is "$MPICH_FC"
fi
if [[ -z "$PE_ENV" ]] ; then
#check if mpif90 and FC are consistent
MPIF90_EXTRA=$(${NWCHEM_TOP}/src/config/strip_compiler.sh `${MPIF90} -show`)