|
|
@ -4363,9 +4363,9 @@ fi
|
|
|
|
if eval "$FC -qversion 2>&1 | grep XL 2>/dev/null" ; then
|
|
|
|
if eval "$FC -qversion 2>&1 | grep XL 2>/dev/null" ; then
|
|
|
|
# Some configurations of the XLF want "-WF," prepended to -D.. flags.
|
|
|
|
# Some configurations of the XLF want "-WF," prepended to -D.. flags.
|
|
|
|
# TODO : discover the exact conditions when the usage of -WF is needed.
|
|
|
|
# TODO : discover the exact conditions when the usage of -WF is needed.
|
|
|
|
mld_cv_define_prepend="-WF,"
|
|
|
|
amg_cv_define_prepend="-WF,"
|
|
|
|
if eval "$MPIFC -qversion 2>&1 | grep -e\"Version: 10\.\" 2>/dev/null"; then
|
|
|
|
if eval "$MPIFC -qversion 2>&1 | grep -e\"Version: 10\.\" 2>/dev/null"; then
|
|
|
|
FDEFINES="$mld_cv_define_prepend-DXLF_10 $FDEFINES"
|
|
|
|
FDEFINES="$amg_cv_define_prepend-DXLF_10 $FDEFINES"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# Note : there could be problems with old xlf compiler versions ( <10.1 )
|
|
|
|
# Note : there could be problems with old xlf compiler versions ( <10.1 )
|
|
|
@ -8428,9 +8428,9 @@ $as_echo "$as_me: PSBLAS defines PSB_LPK_ as $pac_cv_psblas_lpk. MUMPS interfaci
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
MUMPS_FLAGS="-DHave_MUMPS_ $MUMPS_INCLUDES"
|
|
|
|
MUMPS_FLAGS="-DHave_MUMPS_ $MUMPS_INCLUDES"
|
|
|
|
if test "x$pac_mumps_fmods_ok" == "xyes" ; then
|
|
|
|
if test "x$pac_mumps_fmods_ok" == "xyes" ; then
|
|
|
|
FDEFINES="$mld_cv_define_prepend-DHAVE_MUMPS_ $mld_cv_define_prepend-DHAVE_MUMPS_MODULES_ $MUMPS_MODULES $FDEFINES"
|
|
|
|
FDEFINES="$amg_cv_define_prepend-DHAVE_MUMPS_ $amg_cv_define_prepend-DHAVE_MUMPS_MODULES_ $MUMPS_MODULES $FDEFINES"
|
|
|
|
elif test "x$pac_mumps_fincs_ok" == "xyes" ; then
|
|
|
|
elif test "x$pac_mumps_fincs_ok" == "xyes" ; then
|
|
|
|
FDEFINES="$mld_cv_define_prepend-DHAVE_MUMPS_ $mld_cv_define_prepend-DHAVE_MUMPS_INCLUDES_ $MUMPS_FINCLUDES $FDEFINES"
|
|
|
|
FDEFINES="$amg_cv_define_prepend-DHAVE_MUMPS_ $amg_cv_define_prepend-DHAVE_MUMPS_INCLUDES_ $MUMPS_FINCLUDES $FDEFINES"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
# This should not happen
|
|
|
|
# This should not happen
|
|
|
|
MUMPS_FLAGS=""
|
|
|
|
MUMPS_FLAGS=""
|
|
|
@ -8664,7 +8664,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$amg4psblas_cv_have_umfpack" == "xyes" ; then
|
|
|
|
if test "x$amg4psblas_cv_have_umfpack" == "xyes" ; then
|
|
|
|
UMF_FLAGS="-DHave_UMF_ $UMF_INCLUDES"
|
|
|
|
UMF_FLAGS="-DHave_UMF_ $UMF_INCLUDES"
|
|
|
|
FDEFINES="$mld_cv_define_prepend-DHAVE_UMF_ $FDEFINES"
|
|
|
|
FDEFINES="$amg_cv_define_prepend-DHAVE_UMF_ $FDEFINES"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
UMF_FLAGS=""
|
|
|
|
UMF_FLAGS=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
@ -8921,7 +8921,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$amg4psblas_cv_have_superlu" == "xyes" ; then
|
|
|
|
if test "x$amg4psblas_cv_have_superlu" == "xyes" ; then
|
|
|
|
SLU_FLAGS="-DHave_SLU_ -DSLU_VERSION_$pac_slu_version $SLU_INCLUDES"
|
|
|
|
SLU_FLAGS="-DHave_SLU_ -DSLU_VERSION_$pac_slu_version $SLU_INCLUDES"
|
|
|
|
FDEFINES="$mld_cv_define_prepend-DHAVE_SLU_ $FDEFINES"
|
|
|
|
FDEFINES="$amg_cv_define_prepend-DHAVE_SLU_ $FDEFINES"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
SLU_FLAGS=""
|
|
|
|
SLU_FLAGS=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
@ -9287,7 +9287,7 @@ if test "x$amg4psblas_cv_have_superludist" == "xyes" ; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
SLUDIST_FLAGS=""
|
|
|
|
SLUDIST_FLAGS=""
|
|
|
|
SLUDIST_FLAGS="-DHave_SLUDist_ -DSLUD_VERSION_$pac_sludist_version $SLUDIST_INCLUDES"
|
|
|
|
SLUDIST_FLAGS="-DHave_SLUDist_ -DSLUD_VERSION_$pac_sludist_version $SLUDIST_INCLUDES"
|
|
|
|
FDEFINES="$mld_cv_define_prepend-DHAVE_SLUDIST_ $FDEFINES"
|
|
|
|
FDEFINES="$amg_cv_define_prepend-DHAVE_SLUDIST_ $FDEFINES"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
SLUDIST_FLAGS=""
|
|
|
|
SLUDIST_FLAGS=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|