mirror of
https://github.com/sfilippone/amg4psblas.git
synced 2026-10-06 22:55:12 +00:00
mld2p4-2:
config/pac.m4 configure mlprec/impl/mld_dslud_interface.c mlprec/impl/mld_zslud_interface.c mlprec/mld_c_prec_type.f90 mlprec/mld_d_prec_type.f90 mlprec/mld_s_prec_type.f90 mlprec/mld_z_prec_type.f90 Added coarse_solver tracker in prec_type. Fixed configure and Xslud_interface for SuperLU_Dist version 5.
This commit is contained in:
+19
-2
@@ -753,9 +753,26 @@ if test "x$pac_sludist_header_ok" == "xyes" ; then
|
||||
LUstructInit(n, LUstruct);
|
||||
}]])],
|
||||
[ AC_MSG_RESULT([yes]); pac_sludist_version="4";],
|
||||
[ AC_MSG_RESULT([no]); pac_sludist_version="2_3";])
|
||||
[ AC_MSG_RESULT([no]); pac_sludist_version="3";])
|
||||
AC_LANG_POP([C])
|
||||
fi
|
||||
if test "x$pac_sludist_version" == "x4" ; then
|
||||
AC_MSG_CHECKING([for superlu_dist version 5])
|
||||
AC_LANG_PUSH([C])
|
||||
ac_cc=${MPICC-$CC}
|
||||
AC_COMPILE_IFELSE(
|
||||
[AC_LANG_SOURCE([[ #include "superlu_ddefs.h"
|
||||
int testdslud()
|
||||
{ superlu_dist_options_t options;
|
||||
int n;
|
||||
set_default_options_dist(&options);
|
||||
}]])],
|
||||
[ AC_MSG_RESULT([yes]); pac_sludist_version="5";],
|
||||
[ AC_MSG_RESULT([no]); pac_sludist_version="4";])
|
||||
AC_LANG_POP([C])
|
||||
|
||||
fi
|
||||
fi
|
||||
|
||||
LIBS="$save_LIBS";
|
||||
CPPFLAGS="$save_CPPFLAGS";
|
||||
CC="$save_CC";
|
||||
|
||||
Reference in New Issue
Block a user