diff --git a/config/pac.m4 b/config/pac.m4 index 40a83c4f..a6ce8dd4 100644 --- a/config/pac.m4 +++ b/config/pac.m4 @@ -545,42 +545,42 @@ dnl AC_DEFUN(PAC_CHECK_UMFPACK, [AC_ARG_WITH(umfpack, AC_HELP_STRING([--with-umfpack=LIBNAME], [Specify the library name for UMFPACK and its support libraries. Default: "-lumfpack -lamd"]), - [mld2p4_cv_umfpack=$withval], - [mld2p4_cv_umfpack='-lumfpack -lamd']) + [amg4psblas_cv_umfpack=$withval], + [amg4psblas_cv_umfpack='-lumfpack -lamd']) AC_ARG_WITH(umfpackdir, AC_HELP_STRING([--with-umfpackdir=DIR], [Specify the directory for UMFPACK library and includes.]), - [mld2p4_cv_umfpackdir=$withval], - [mld2p4_cv_umfpackdir='']) + [amg4psblas_cv_umfpackdir=$withval], + [amg4psblas_cv_umfpackdir='']) AC_ARG_WITH(umfpackincdir, AC_HELP_STRING([--with-umfpackincdir=DIR], [Specify the directory for UMFPACK includes.]), - [mld2p4_cv_umfpackincdir=$withval], - [mld2p4_cv_umfpackincdir='']) + [amg4psblas_cv_umfpackincdir=$withval], + [amg4psblas_cv_umfpackincdir='']) AC_ARG_WITH(umfpacklibdir, AC_HELP_STRING([--with-umfpacklibdir=DIR], [Specify the directory for UMFPACK library.]), - [mld2p4_cv_umfpacklibdir=$withval], - [mld2p4_cv_umfpacklibdir='']) + [amg4psblas_cv_umfpacklibdir=$withval], + [amg4psblas_cv_umfpacklibdir='']) AC_LANG_PUSH([C]) save_LIBS="$LIBS" save_CPPFLAGS="$CPPFLAGS" -if test "x$mld2p4_cv_umfpackincdir" != "x"; then - AC_MSG_NOTICE([umfp include dir $mld2p4_cv_umfpackincdir]) - UMF_INCLUDES="-I$mld2p4_cv_umfpackincdir" -elif test "x$mld2p4_cv_umfpackdir" != "x"; then - AC_MSG_NOTICE([umfp dir $mld2p4_cv_umfpackdir]) - UMF_INCLUDES="-I$mld2p4_cv_umfpackdir" +if test "x$amg4psblas_cv_umfpackincdir" != "x"; then + AC_MSG_NOTICE([umfp include dir $amg4psblas_cv_umfpackincdir]) + UMF_INCLUDES="-I$amg4psblas_cv_umfpackincdir" +elif test "x$amg4psblas_cv_umfpackdir" != "x"; then + AC_MSG_NOTICE([umfp dir $amg4psblas_cv_umfpackdir]) + UMF_INCLUDES="-I$amg4psblas_cv_umfpackdir" fi CPPFLAGS="$UMF_INCLUDES $CPPFLAGS" AC_CHECK_HEADER([umfpack.h], [pac_umf_header_ok=yes], [pac_umf_header_ok=no; UMF_INCLUDES=""]) -if test "x$mld2p4_cv_umfpacklibdir" != "x"; then - LIBS="-L$mld2p4_cv_umfpacklibdir $LIBS $EXTRA_LIBS" - UMF_LIBDIR="-L$mld2p4_cv_umfpacklibdir" -elif test "x$mld2p4_cv_umfpackdir" != "x"; then - LIBS="-L$mld2p4_cv_umfpackdir $LIBS $EXTRA_LIBS" - UMF_LIBDIR="-L$mld2p4_cv_umfpackdir" +if test "x$amg4psblas_cv_umfpacklibdir" != "x"; then + LIBS="-L$amg4psblas_cv_umfpacklibdir $LIBS $EXTRA_LIBS" + UMF_LIBDIR="-L$amg4psblas_cv_umfpacklibdir" +elif test "x$amg4psblas_cv_umfpackdir" != "x"; then + LIBS="-L$amg4psblas_cv_umfpackdir $LIBS $EXTRA_LIBS" + UMF_LIBDIR="-L$amg4psblas_cv_umfpackdir" fi if test "x$pac_umf_header_ok" == "xno" ; then unset ac_cv_header_umfpack_h - UMF_INCLUDES="-I$mld2p4_cv_umfpackdir" + UMF_INCLUDES="-I$amg4psblas_cv_umfpackdir" CPPFLAGS="$UMF_INCLUDES $SAVE_CPPFLAGS" AC_CHECK_HEADER([umfpack.h], [pac_umf_header_ok=yes], @@ -589,7 +589,7 @@ fi if test "x$pac_umf_header_ok" == "xno" ; then dnl Maybe Include or include subdirs? unset ac_cv_header_umfpack_h - UMF_INCLUDES="-I$mld2p4_cv_umfpackdir/include -I$mld2p4_cv_umfpackdir/Include " + UMF_INCLUDES="-I$amg4psblas_cv_umfpackdir/include -I$amg4psblas_cv_umfpackdir/Include " CPPFLAGS="$UMF_INCLUDES $SAVE_CPPFLAGS" AC_MSG_CHECKING([for umfpack_di_symbolic in $UMF_INCLUDES]) @@ -600,7 +600,7 @@ fi if test "x$pac_umf_header_ok" == "xno" ; then dnl Maybe new structure with UMFPACK UFconfig AMD? unset ac_cv_header_umfpack_h - UMF_INCLUDES="-I$mld2p4_cv_umfpackdir/UFconfig -I$mld2p4_cv_umfpackdir/UMFPACK/Include -I$mld2p4_cv_umfpackdir/AMD/Include" + UMF_INCLUDES="-I$amg4psblas_cv_umfpackdir/UFconfig -I$amg4psblas_cv_umfpackdir/UMFPACK/Include -I$amg4psblas_cv_umfpackdir/AMD/Include" CPPFLAGS="$UMF_INCLUDES $SAVE_CPPFLAGS" AC_CHECK_HEADER([umfpack.h], [pac_umf_header_ok=yes], @@ -609,34 +609,34 @@ fi if test "x$pac_umf_header_ok" == "xyes" ; then - UMF_LIBS="$mld2p4_cv_umfpack $UMF_LIBDIR" + UMF_LIBS="$amg4psblas_cv_umfpack $UMF_LIBDIR" LIBS="$UMF_LIBS -lm $LIBS $EXTRA_LIBS"; AC_MSG_CHECKING([for umfpack_di_symbolic in $UMF_LIBS]) AC_TRY_LINK_FUNC(umfpack_di_symbolic, - [mld2p4_cv_have_umfpack=yes;pac_umf_lib_ok=yes; ], - [mld2p4_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS=""]) + [amg4psblas_cv_have_umfpack=yes;pac_umf_lib_ok=yes; ], + [amg4psblas_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS=""]) AC_MSG_RESULT($pac_umf_lib_ok) if test "x$pac_umf_lib_ok" == "xno" ; then dnl Maybe Lib or lib? - UMF_LIBDIR="-L$mld2p4_cv_umfpackdir/Lib -L$mld2p4_cv_umfpackdir/lib" - UMF_LIBS="$mld2p4_cv_umfpack $UMF_LIBDIR -lm $SAVE_LIBS $EXTRA_LIBS" + UMF_LIBDIR="-L$amg4psblas_cv_umfpackdir/Lib -L$amg4psblas_cv_umfpackdir/lib" + UMF_LIBS="$amg4psblas_cv_umfpack $UMF_LIBDIR -lm $SAVE_LIBS $EXTRA_LIBS" LIBS="$UMF_LIBS" AC_MSG_CHECKING([for umfpack_di_symbolic in $UMF_LIBS]) AC_TRY_LINK_FUNC(umfpack_di_symbolic, - [mld2p4_cv_have_umfpack=yes;pac_umf_lib_ok=yes; ], - [mld2p4_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS=""]) + [amg4psblas_cv_have_umfpack=yes;pac_umf_lib_ok=yes; ], + [amg4psblas_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS=""]) AC_MSG_RESULT($pac_umf_lib_ok) fi if test "x$pac_umf_lib_ok" == "xno" ; then dnl Maybe UMFPACK/Lib? - UMF_LIBDIR="-L$mld2p4_cv_umfpackdir/AMD/Lib -L$mld2p4_cv_umfpackdir/UMFPACK/Lib" - UMF_LIBS="$mld2p4_cv_umfpack $UMF_LIBDIR -lm $SAVE_LIBS $EXTRA_LIBS" + UMF_LIBDIR="-L$amg4psblas_cv_umfpackdir/AMD/Lib -L$amg4psblas_cv_umfpackdir/UMFPACK/Lib" + UMF_LIBS="$amg4psblas_cv_umfpack $UMF_LIBDIR -lm $SAVE_LIBS $EXTRA_LIBS" LIBS="$UMF_LIBS" AC_MSG_CHECKING([for umfpack_di_symbolic in $UMF_LIBS]) AC_TRY_LINK_FUNC(umfpack_di_symbolic, - [mld2p4_cv_have_umfpack=yes;pac_umf_lib_ok=yes; ], - [mld2p4_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS=""]) + [amg4psblas_cv_have_umfpack=yes;pac_umf_lib_ok=yes; ], + [amg4psblas_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS=""]) AC_MSG_RESULT($pac_umf_lib_ok) fi fi @@ -662,31 +662,31 @@ dnl AC_DEFUN(PAC_CHECK_SUPERLU, [AC_ARG_WITH(superlu, AC_HELP_STRING([--with-superlu=LIBNAME], [Specify the library name for SUPERLU library. Default: "-lsuperlu"]), - [mld2p4_cv_superlu=$withval], - [mld2p4_cv_superlu='-lsuperlu']) + [amg4psblas_cv_superlu=$withval], + [amg4psblas_cv_superlu='-lsuperlu']) AC_ARG_WITH(superludir, AC_HELP_STRING([--with-superludir=DIR], [Specify the directory for SUPERLU library and includes.]), - [mld2p4_cv_superludir=$withval], - [mld2p4_cv_superludir='']) + [amg4psblas_cv_superludir=$withval], + [amg4psblas_cv_superludir='']) AC_ARG_WITH(superluincdir, AC_HELP_STRING([--with-superluincdir=DIR], [Specify the directory for SUPERLU includes.]), - [mld2p4_cv_superluincdir=$withval], - [mld2p4_cv_superluincdir='']) + [amg4psblas_cv_superluincdir=$withval], + [amg4psblas_cv_superluincdir='']) AC_ARG_WITH(superlulibdir, AC_HELP_STRING([--with-superlulibdir=DIR], [Specify the directory for SUPERLU library.]), - [mld2p4_cv_superlulibdir=$withval], - [mld2p4_cv_superlulibdir='']) + [amg4psblas_cv_superlulibdir=$withval], + [amg4psblas_cv_superlulibdir='']) AC_LANG_PUSH([C]) save_LIBS="$LIBS" save_CPPFLAGS="$CPPFLAGS" -if test "x$mld2p4_cv_superluincdir" != "x"; then - AC_MSG_NOTICE([slu include dir $mld2p4_cv_superluincdir]) - SLU_INCLUDES="-I$mld2p4_cv_superluincdir" -elif test "x$mld2p4_cv_superludir" != "x"; then - AC_MSG_NOTICE([slu dir $mld2p4_cv_superludir]) - SLU_INCLUDES="-I$mld2p4_cv_superludir" +if test "x$amg4psblas_cv_superluincdir" != "x"; then + AC_MSG_NOTICE([slu include dir $amg4psblas_cv_superluincdir]) + SLU_INCLUDES="-I$amg4psblas_cv_superluincdir" +elif test "x$amg4psblas_cv_superludir" != "x"; then + AC_MSG_NOTICE([slu dir $amg4psblas_cv_superludir]) + SLU_INCLUDES="-I$amg4psblas_cv_superludir" fi -if test "x$mld2p4_cv_superlulibdir" != "x"; then - SLU_LIBS="-L$mld2p4_cv_superlulibdir" -elif test "x$mld2p4_cv_superludir" != "x"; then - SLU_LIBS="-L$mld2p4_cv_superludir" +if test "x$amg4psblas_cv_superlulibdir" != "x"; then + SLU_LIBS="-L$amg4psblas_cv_superlulibdir" +elif test "x$amg4psblas_cv_superludir" != "x"; then + SLU_LIBS="-L$amg4psblas_cv_superludir" fi LIBS="$SLU_LIBS $LIBS" @@ -697,7 +697,7 @@ AC_CHECK_HEADERS([slu_ddefs.h], if test "x$pac_slu_header_ok" == "xno" ; then dnl Maybe include subdirs? unset ac_cv_header_slu_ddefs_h - SLU_INCLUDES="-I$mld2p4_cv_superludir/include " + SLU_INCLUDES="-I$amg4psblas_cv_superludir/include " CPPFLAGS="$SLU_INCLUDES $save_CPPFLAGS" AC_CHECK_HEADERS([slu_ddefs.h], @@ -707,7 +707,7 @@ fi if test "x$pac_slu_header_ok" == "xno" ; then dnl Maybe Include subdirs? unset ac_cv_header_slu_ddefs_h - SLU_INCLUDES="-I$mld2p4_cv_superludir/Include " + SLU_INCLUDES="-I$amg4psblas_cv_superludir/Include " CPPFLAGS="$SLU_INCLUDES $save_CPPFLAGS" AC_CHECK_HEADERS([slu_ddefs.h], @@ -716,27 +716,27 @@ dnl Maybe Include subdirs? fi if test "x$pac_slu_header_ok" == "xyes" ; then - SLU_LIBS="$mld2p4_cv_superlu $SLU_LIBS" + SLU_LIBS="$amg4psblas_cv_superlu $SLU_LIBS" LIBS="$SLU_LIBS -lm $save_LIBS"; AC_MSG_CHECKING([for superlu_malloc in $SLU_LIBS]) AC_TRY_LINK_FUNC(superlu_malloc, - [mld2p4_cv_have_superlu=yes;pac_slu_lib_ok=yes;], - [mld2p4_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; ]) + [amg4psblas_cv_have_superlu=yes;pac_slu_lib_ok=yes;], + [amg4psblas_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; ]) if test "x$pac_slu_lib_ok" == "xno" ; then dnl Maybe lib? - SLU_LIBS="$mld2p4_cv_superlu -L$mld2p4_cv_superludir/lib"; + SLU_LIBS="$amg4psblas_cv_superlu -L$amg4psblas_cv_superludir/lib"; LIBS="$SLU_LIBS -lm $save_LIBS"; AC_TRY_LINK_FUNC(superlu_malloc, - [mld2p4_cv_have_superlu=yes;pac_slu_lib_ok=yes;], - [mld2p4_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; ]) + [amg4psblas_cv_have_superlu=yes;pac_slu_lib_ok=yes;], + [amg4psblas_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; ]) fi if test "x$pac_slu_lib_ok" == "xno" ; then dnl Maybe lib64? - SLU_LIBS="$mld2p4_cv_superlu -L$mld2p4_cv_superludir/lib64"; + SLU_LIBS="$amg4psblas_cv_superlu -L$amg4psblas_cv_superludir/lib64"; LIBS="$SLU_LIBS -lm $save_LIBS"; AC_TRY_LINK_FUNC(superlu_malloc, - [mld2p4_cv_have_superlu=yes;pac_slu_lib_ok=yes;], - [mld2p4_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; ]) + [amg4psblas_cv_have_superlu=yes;pac_slu_lib_ok=yes;], + [amg4psblas_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; ]) fi AC_MSG_RESULT($pac_slu_lib_ok) fi @@ -780,19 +780,19 @@ dnl @author Salvatore Filippone dnl AC_DEFUN(PAC_CHECK_SUPERLUDIST, [AC_ARG_WITH(superludist, AC_HELP_STRING([--with-superludist=LIBNAME], [Specify the libname for SUPERLUDIST library. Requires you also specify SuperLU. Default: "-lsuperlu_dist"]), - [mld2p4_cv_superludist=$withval], - [mld2p4_cv_superludist='-lsuperlu_dist']) + [amg4psblas_cv_superludist=$withval], + [amg4psblas_cv_superludist='-lsuperlu_dist']) AC_ARG_WITH(superludistdir, AC_HELP_STRING([--with-superludistdir=DIR], [Specify the directory for SUPERLUDIST library and includes.]), - [mld2p4_cv_superludistdir=$withval], - [mld2p4_cv_superludistdir='']) + [amg4psblas_cv_superludistdir=$withval], + [amg4psblas_cv_superludistdir='']) AC_ARG_WITH(superludistincdir, AC_HELP_STRING([--with-superludistincdir=DIR], [Specify the directory for SUPERLUDIST includes.]), - [mld2p4_cv_superludistincdir=$withval], - [mld2p4_cv_superludistincdir='']) + [amg4psblas_cv_superludistincdir=$withval], + [amg4psblas_cv_superludistincdir='']) AC_ARG_WITH(superludistlibdir, AC_HELP_STRING([--with-superludistlibdir=DIR], [Specify the directory for SUPERLUDIST library.]), - [mld2p4_cv_superludistlibdir=$withval], - [mld2p4_cv_superludistlibdir='']) + [amg4psblas_cv_superludistlibdir=$withval], + [amg4psblas_cv_superludistlibdir='']) AC_LANG_PUSH([C]) save_LIBS="$LIBS" @@ -800,17 +800,17 @@ save_CPPFLAGS="$CPPFLAGS" save_CC="$CC" CC=${MPICC} CPP="${CC} -E" -if test "x$mld2p4_cv_superludistincdir" != "x"; then - AC_MSG_NOTICE([sludist dir $mld2p4_cv_superludistincdir]) - SLUDIST_INCLUDES="-I$mld2p4_cv_superludistincdir" -elif test "x$mld2p4_cv_superludistdir" != "x"; then - AC_MSG_NOTICE([sludist dir $mld2p4_cv_superludistdir]) - SLUDIST_INCLUDES="-I$mld2p4_cv_superludistdir" +if test "x$amg4psblas_cv_superludistincdir" != "x"; then + AC_MSG_NOTICE([sludist dir $amg4psblas_cv_superludistincdir]) + SLUDIST_INCLUDES="-I$amg4psblas_cv_superludistincdir" +elif test "x$amg4psblas_cv_superludistdir" != "x"; then + AC_MSG_NOTICE([sludist dir $amg4psblas_cv_superludistdir]) + SLUDIST_INCLUDES="-I$amg4psblas_cv_superludistdir" fi -if test "x$mld2p4_cv_superludistlibdir" != "x"; then - SLUDIST_LIBS="-L$mld2p4_cv_superludistlibdir" -elif test "x$mld2p4_cv_superludistdir" != "x"; then - SLUDIST_LIBS="-L$mld2p4_cv_superludistdir" +if test "x$amg4psblas_cv_superludistlibdir" != "x"; then + SLUDIST_LIBS="-L$amg4psblas_cv_superludistlibdir" +elif test "x$amg4psblas_cv_superludistdir" != "x"; then + SLUDIST_LIBS="-L$amg4psblas_cv_superludistdir" fi LIBS="$SLUDIST_LIBS $save_LIBS" @@ -822,7 +822,7 @@ AC_CHECK_HEADERS([superlu_ddefs.h], if test "x$pac_sludist_header_ok" == "xno" ; then dnl Maybe include subdirs? unset ac_cv_header_superlu_ddefs_h - SLUDIST_INCLUDES="-I$mld2p4_cv_superludistdir/include" + SLUDIST_INCLUDES="-I$amg4psblas_cv_superludistdir/include" CPPFLAGS="$SLUDIST_INCLUDES $save_CPPFLAGS" AC_CHECK_HEADERS([superlu_ddefs.h], @@ -832,7 +832,7 @@ fi if test "x$pac_sludist_header_ok" == "xno" ; then dnl Maybe Include subdirs? unset ac_cv_header_superlu_ddefs_h - SLUDIST_INCLUDES="-I$mld2p4_cv_superludistdir/Include" + SLUDIST_INCLUDES="-I$amg4psblas_cv_superludistdir/Include" CPPFLAGS="$SLUDIST_INCLUDES $save_CPPFLAGS" AC_CHECK_HEADERS([superlu_ddefs.h], @@ -841,29 +841,29 @@ dnl Maybe Include subdirs? fi if test "x$pac_sludist_header_ok" == "xyes" ; then - SLUDIST_LIBS="$mld2p4_cv_superludist $SLUDIST_LIBS" + SLUDIST_LIBS="$amg4psblas_cv_superludist $SLUDIST_LIBS" LIBS="$SLUDIST_LIBS -lm $save_LIBS"; AC_MSG_CHECKING([for superlu_malloc_dist in $SLUDIST_LIBS]) AC_TRY_LINK_FUNC(superlu_malloc_dist, - [mld2p4_cv_have_superludist=yes;pac_sludist_lib_ok=yes;], - [mld2p4_cv_have_superludist=no;pac_sludist_lib_ok=no; + [amg4psblas_cv_have_superludist=yes;pac_sludist_lib_ok=yes;], + [amg4psblas_cv_have_superludist=no;pac_sludist_lib_ok=no; SLUDIST_LIBS=""; ]) if test "x$pac_sludist_lib_ok" == "xno" ; then dnl Maybe lib? - SLUDIST_LIBS="$mld2p4_cv_superludist -L$mld2p4_cv_superludistdir/lib"; + SLUDIST_LIBS="$amg4psblas_cv_superludist -L$amg4psblas_cv_superludistdir/lib"; LIBS="$SLUDIST_LIBS -lm $save_LIBS"; AC_TRY_LINK_FUNC(superlu_malloc_dist, - [mld2p4_cv_have_superludist=yes;pac_sludist_lib_ok=yes;], - [mld2p4_cv_have_superludist=no;pac_sludist_lib_ok=no; + [amg4psblas_cv_have_superludist=yes;pac_sludist_lib_ok=yes;], + [amg4psblas_cv_have_superludist=no;pac_sludist_lib_ok=no; SLUDIST_LIBS="";]) fi if test "x$pac_sludist_lib_ok" == "xno" ; then dnl Maybe lib64? - SLUDIST_LIBS="$mld2p4_cv_superludist -L$mld2p4_cv_superludistdir/lib64"; + SLUDIST_LIBS="$amg4psblas_cv_superludist -L$amg4psblas_cv_superludistdir/lib64"; LIBS="$SLUDIST_LIBS -lm $save_LIBS"; AC_TRY_LINK_FUNC(superlu_malloc_dist, - [mld2p4_cv_have_superludist=yes;pac_sludist_lib_ok=yes;], - [mld2p4_cv_have_superludist=no;pac_sludist_lib_ok=no; + [amg4psblas_cv_have_superludist=yes;pac_sludist_lib_ok=yes;], + [amg4psblas_cv_have_superludist=no;pac_sludist_lib_ok=no; SLUDIST_LIBS="";SLUDIST_INCLUDES=""]) fi AC_MSG_RESULT($pac_sludist_lib_ok) @@ -884,8 +884,8 @@ if test "x$pac_sludist_lib_ok" == "xyes" ; then { int i=SUPERLU_DIST_MAJOR_VERSION; printf("%d\n",i); } ]])], - [mld2p4_cv_superludist_major=`./conftest${ac_exeext} | sed 's/^ *//'`], - [mld2p4_cv_superludist_major="unknown"]) + [amg4psblas_cv_superludist_major=`./conftest${ac_exeext} | sed 's/^ *//'`], + [amg4psblas_cv_superludist_major="unknown"]) AC_LINK_IFELSE( [AC_LANG_SOURCE([[#include #include @@ -894,10 +894,10 @@ if test "x$pac_sludist_lib_ok" == "xyes" ; then { int i=SUPERLU_DIST_MINOR_VERSION; printf("%d\n",i); }]])], - [mld2p4_cv_superludist_minor=`./conftest${ac_exeext} | sed 's/^ *//'`], - [mld2p4_cv_superludist_minor="unknown"]) + [amg4psblas_cv_superludist_minor=`./conftest${ac_exeext} | sed 's/^ *//'`], + [amg4psblas_cv_superludist_minor="unknown"]) AC_LANG_POP([C]) - if test "x$mld2p4_cv_superludist_major" == "xunknown" ; then + if test "x$amg4psblas_cv_superludist_major" == "xunknown" ; then AC_MSG_CHECKING([for superlu_dist version 4]) AC_LANG_PUSH([C]) ac_cc=${MPICC-$CC} @@ -908,10 +908,10 @@ if test "x$pac_sludist_lib_ok" == "xyes" ; then int n; LUstructInit(n, LUstruct); }]])], - [ AC_MSG_RESULT([yes]); mld2p4_cv_superludist_major="4"; mld2p4_cv_superludist_minor="";], - [ AC_MSG_RESULT([no]); mld2p4_cv_superludist_major="3"; mld2p4_cv_superludist_minor="";]) + [ AC_MSG_RESULT([yes]); amg4psblas_cv_superludist_major="4"; amg4psblas_cv_superludist_minor="";], + [ AC_MSG_RESULT([no]); amg4psblas_cv_superludist_major="3"; amg4psblas_cv_superludist_minor="";]) AC_LANG_POP([C]) - if test "x$mld2p4_cv_superludist_major" == "x4" ; then + if test "x$amg4psblas_cv_superludist_major" == "x4" ; then AC_MSG_CHECKING([for superlu_dist version 5]) AC_LANG_PUSH([C]) ac_cc=${MPICC-$CC} @@ -922,12 +922,12 @@ if test "x$pac_sludist_lib_ok" == "xyes" ; then int n; set_default_options_dist(&options); }]])], - [ AC_MSG_RESULT([yes]); mld2p4_cv_superludist_major="5"; mld2p4_cv_superludist_minor="";], - [ AC_MSG_RESULT([no]); mld2p4_cv_superludist_major="4"; mld2p4_cv_superludist_minor="";]) + [ AC_MSG_RESULT([yes]); amg4psblas_cv_superludist_major="5"; amg4psblas_cv_superludist_minor="";], + [ AC_MSG_RESULT([no]); amg4psblas_cv_superludist_major="4"; amg4psblas_cv_superludist_minor="";]) AC_LANG_POP([C]) fi fi - AC_MSG_NOTICE([SuperLU_dist version $mld2p4_cv_superludist_major.$mld2p4_cv_superludist_minor.]) + AC_MSG_NOTICE([SuperLU_dist version $amg4psblas_cv_superludist_major.$amg4psblas_cv_superludist_minor.]) else SLUDIST_LIBS=""; @@ -955,46 +955,46 @@ dnl @author Salvatore Filippone dnl AC_DEFUN(PAC_CHECK_MUMPS, [AC_ARG_WITH(mumps, AC_HELP_STRING([--with-mumps=LIBNAME], [Specify the libname for MUMPS. Default: autodetect with minimum "-lmumps_common -lpord"]), - [mld2p4_cv_mumps=$withval], - [mld2p4_cv_mumps='-lsmumps -ldmumps -lcmumps -lzmumps -lmumps_common -lpord']) + [amg4psblas_cv_mumps=$withval], + [amg4psblas_cv_mumps='-lsmumps -ldmumps -lcmumps -lzmumps -lmumps_common -lpord']) AC_ARG_WITH(mumpsdir, AC_HELP_STRING([--with-mumpsdir=DIR], [Specify the directory for MUMPS library and includes. Note: you will need to add auxiliary libraries with --extra-libs; this depends on how MUMPS was configured and installed, at a minimum you will need SCALAPACK and BLAS]), - [mld2p4_cv_mumpsdir=$withval], - [mld2p4_cv_mumpsdir='']) + [amg4psblas_cv_mumpsdir=$withval], + [amg4psblas_cv_mumpsdir='']) AC_ARG_WITH(mumpsincdir, AC_HELP_STRING([--with-mumpsincdir=DIR], [Specify the directory for MUMPS includes.]), - [mld2p4_cv_mumpsincdir=$withval], - [mld2p4_cv_mumpsincdir='']) + [amg4psblas_cv_mumpsincdir=$withval], + [amg4psblas_cv_mumpsincdir='']) AC_ARG_WITH(mumpsmoddir, AC_HELP_STRING([--with-mumpsmoddir=DIR], [Specify the directory for MUMPS Fortran modules.]), - [mld2p4_cv_mumpsmoddir=$withval], - [mld2p4_cv_mumpsmoddir='']) + [amg4psblas_cv_mumpsmoddir=$withval], + [amg4psblas_cv_mumpsmoddir='']) AC_ARG_WITH(mumpslibdir, AC_HELP_STRING([--with-mumpslibdir=DIR], [Specify the directory for MUMPS library.]), - [mld2p4_cv_mumpslibdir=$withval], - [mld2p4_cv_mumpslibdir='']) + [amg4psblas_cv_mumpslibdir=$withval], + [amg4psblas_cv_mumpslibdir='']) AC_LANG_PUSH([Fortran]) save_LIBS="$LIBS" save_FC="$FC" FC=${MPIFC} -if test "x$mld2p4_cv_mumpsincdir" != "x"; then - AC_MSG_NOTICE([mumps dir $mld2p4_cv_mumpsincdir]) - MUMPS_INCLUDES="-I$mld2p4_cv_mumpsincdir" -elif test "x$mld2p4_cv_mumpsdir" != "x"; then - AC_MSG_NOTICE([mumps dir $mld2p4_cv_mumpsdir]) - MUMPS_INCLUDES="-I$mld2p4_cv_mumpsdir" +if test "x$amg4psblas_cv_mumpsincdir" != "x"; then + AC_MSG_NOTICE([mumps dir $amg4psblas_cv_mumpsincdir]) + MUMPS_INCLUDES="-I$amg4psblas_cv_mumpsincdir" +elif test "x$amg4psblas_cv_mumpsdir" != "x"; then + AC_MSG_NOTICE([mumps dir $amg4psblas_cv_mumpsdir]) + MUMPS_INCLUDES="-I$amg4psblas_cv_mumpsdir" fi -if test "x$mld2p4_cv_mumpsmoddir" != "x"; then - AC_MSG_NOTICE([mumps dir $mld2p4_cv_mumpsmoddir]) - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsmoddir" -elif test "x$mld2p4_cv_mumpsdir" != "x"; then - AC_MSG_NOTICE([mumps dir $mld2p4_cv_mumpsdir]) - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir" +if test "x$amg4psblas_cv_mumpsmoddir" != "x"; then + AC_MSG_NOTICE([mumps dir $amg4psblas_cv_mumpsmoddir]) + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsmoddir" +elif test "x$amg4psblas_cv_mumpsdir" != "x"; then + AC_MSG_NOTICE([mumps dir $amg4psblas_cv_mumpsdir]) + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir" fi -if test "x$mld2p4_cv_mumpslibdir" != "x"; then - MUMPS_LIBS="-L$mld2p4_cv_mumpslibdir" -elif test "x$mld2p4_cv_mumpsdir" != "x"; then - MUMPS_LIBS="-L$mld2p4_cv_mumpsdir" +if test "x$amg4psblas_cv_mumpslibdir" != "x"; then + MUMPS_LIBS="-L$amg4psblas_cv_mumpslibdir" +elif test "x$amg4psblas_cv_mumpsdir" != "x"; then + MUMPS_LIBS="-L$amg4psblas_cv_mumpsdir" fi LIBS="$MUMPS_LIBS $save_LIBS $EXTRA_LIBS" @@ -1007,7 +1007,7 @@ AC_CHECK_HEADER([dmumps_c.h], if test "x$pac_mumps_header_ok" == "xno" ; then dnl Maybe Include or include subdirs? unset ac_cv_header_dmumps_c_h - MUMPS_INCLUDES="-I$mld2p4_cv_mumpsdir/include" + MUMPS_INCLUDES="-I$amg4psblas_cv_mumpsdir/include" CPPFLAGS="$MUMPS_INCLUDES $save_CPPFLAGS" AC_CHECK_HEADER([dmumps_c.h], [pac_mumps_header_ok=yes], @@ -1016,7 +1016,7 @@ fi if test "x$pac_mumps_header_ok" == "xno" ; then dnl Maybe Include or include subdirs? unset ac_cv_header_dmumps_c_h - MUMPS_INCLUDES="-I$mld2p4_cv_mumpsdir/Include" + MUMPS_INCLUDES="-I$amg4psblas_cv_mumpsdir/Include" CPPFLAGS="$MUMPS_INCLUDES $save_CPPFLAGS" AC_CHECK_HEADER([dmumps_c.h], [pac_mumps_header_ok=yes], @@ -1033,63 +1033,63 @@ AC_COMPILE_IFELSE([ program test use dmumps_struc_def end program test], - [pac_mumps_fmods_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_MODULES";], + [pac_mumps_fmods_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_MODULES";], [pac_mumps_fmods_ok=no; MUMPS_MODULES=""]) if test "x$pac_mumps_fmods_ok" == "xno" ; then dnl Maybe Include or include subdirs? - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir/include" + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir/include" FCFLAGS="$MUMPS_MODULES $save_FCFLAGS" AC_COMPILE_IFELSE([ program test use dmumps_struc_def end program test], - [pac_mumps_fmods_ok=yes mld2p4_cv_mumpsmoddir="$MUMPS_MODULES";], + [pac_mumps_fmods_ok=yes amg4psblas_cv_mumpsmoddir="$MUMPS_MODULES";], [pac_mumps_fmods_ok=no; MUMPS_MODULES=""]) fi if test "x$pac_mumps_fmods_ok" == "xno" ; then dnl Maybe Include or include subdirs? - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir/Include" + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir/Include" FCFLAGS="$MUMPS_MODULES $save_FCFLAGS" AC_COMPILE_IFELSE([ program test use dmumps_struc_def end program test], - [pac_mumps_fmods_ok=yes mld2p4_cv_mumpsmoddir="$MUMPS_MODULES";], + [pac_mumps_fmods_ok=yes amg4psblas_cv_mumpsmoddir="$MUMPS_MODULES";], [pac_mumps_fmods_ok=no; MUMPS_MODULES=""]) fi if test "x$pac_mumps_fmods_ok" == "xno" ; then dnl Maybe Modules or modules subdirs? - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir/modules" + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir/modules" FCFLAGS="$MUMPS_MODULES $save_FCFLAGS" AC_COMPILE_IFELSE([ program test use dmumps_struc_def end program test], - [pac_mumps_fmods_ok=yes mld2p4_cv_mumpsmoddir="$MUMPS_MODULES";], + [pac_mumps_fmods_ok=yes amg4psblas_cv_mumpsmoddir="$MUMPS_MODULES";], [pac_mumps_fmods_ok=no; MUMPS_MODULES=""]) fi if test "x$pac_mumps_fmods_ok" == "xno" ; then dnl Maybe Modules or modules subdirs? - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir/Modules" + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir/Modules" FCFLAGS="$MUMPS_MODULES $save_FCFLAGS" AC_COMPILE_IFELSE([ program test use dmumps_struc_def end program test], - [pac_mumps_fmods_ok=yes mld2p4_cv_mumpsmoddir="$MUMPS_MODULES";], + [pac_mumps_fmods_ok=yes amg4psblas_cv_mumpsmoddir="$MUMPS_MODULES";], [pac_mumps_fmods_ok=no; MUMPS_MODULES=""]) fi if test "x$pac_mumps_fmods_ok" == "xno" ; then dnl Maybe only Xmumps.h? - if test "x$mld2p4_cv_mumpsincdir" != "x"; then - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsincdir" - elif test "x$mld2p4_cv_mumpsdir" != "x"; then - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsincdir" + if test "x$amg4psblas_cv_mumpsincdir" != "x"; then + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsincdir" + elif test "x$amg4psblas_cv_mumpsdir" != "x"; then + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsincdir" fi FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" @@ -1097,71 +1097,71 @@ if test "x$pac_mumps_fmods_ok" == "xno" ; then program test include 'dmumps_struc.h' end program test], - [pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES";], + [pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES";], [pac_mumps_fincs_ok=no; MUMPS_FINCLUDES=""]) if test "x$pac_mumps_fincs_ok" == "xno" ; then dnl Maybe Include or include subdirs? - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsdir/include" + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsdir/include" FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" AC_COMPILE_IFELSE([ program test include 'dmumps_struc.h' end program test], - [pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES";], + [pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES";], [pac_mumps_fincs_ok=no; MUMPS_FINCLUDES=""]) fi if test "x$pac_mumps_fincs_ok" == "xno" ; then dnl Maybe Include or include subdirs? - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsdir/Include" + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsdir/Include" FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" AC_COMPILE_IFELSE([ program test include 'dmumps_struc.h' end program test], - [pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES";], + [pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES";], [pac_mumps_fincs_ok=no; MUMPS_FINCLUDES=""]) fi if test "x$pac_mumps_fincs_ok" == "xno" ; then dnl Maybe Modules or modules subdirs? - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsdir/modules" + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsdir/modules" FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" AC_COMPILE_IFELSE([ program test include 'dmumps_struc.h' end program test], - [pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES";], + [pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES";], [pac_mumps_fincs_ok=no; MUMPS_FINCLUDES=""]) fi if test "x$pac_mumps_fincs_ok" == "xno" ; then dnl Maybe Modules or modules subdirs? - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsdir/Modules" + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsdir/Modules" FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" AC_COMPILE_IFELSE([ program test include 'dmumps_struc.h' end program test], - [pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES";], + [pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES";], [pac_mumps_fincs_ok=no; MUMPS_FINCLUDES=""]) fi fi if test "x$pac_mumps_fmods_ok" == "xyes" || test "x$pac_mumps_fincs_ok" == "xyes" ; then - MUMPS_LIBS="$mld2p4_cv_mumps $MUMPS_LIBS" + MUMPS_LIBS="$amg4psblas_cv_mumps $MUMPS_LIBS" LIBS="$MUMPS_LIBS $save_LIBS $EXTRA_LIBS"; AC_MSG_CHECKING([for dmumps in $MUMPS_LIBS]) AC_TRY_LINK_FUNC(dmumps, - [mld2p4_cv_have_mumps=yes;pac_mumps_lib_ok=yes;], - [mld2p4_cv_have_mumps=no;pac_mumps_lib_ok=no; + [amg4psblas_cv_have_mumps=yes;pac_mumps_lib_ok=yes;], + [amg4psblas_cv_have_mumps=no;pac_mumps_lib_ok=no; MUMPS_LIBS=""; ]) if test "x$pac_mumps_lib_ok" == "xno" ; then dnl Maybe lib? - MUMPS_LIBS="$mld2p4_cv_mumps -L$mld2p4_cv_mumpsdir/lib"; + MUMPS_LIBS="$amg4psblas_cv_mumps -L$amg4psblas_cv_mumpsdir/lib"; LIBS="$MUMPS_LIBS $save_LIBS $EXTRA_LIBS"; AC_TRY_LINK_FUNC(dmumps, - [mld2p4_cv_have_mumps=yes;pac_mumps_lib_ok=yes;], - [mld2p4_cv_have_mumps=no;pac_mumps_lib_ok=no; + [amg4psblas_cv_have_mumps=yes;pac_mumps_lib_ok=yes;], + [amg4psblas_cv_have_mumps=no;pac_mumps_lib_ok=no; MUMPS_LIBS="";MUMPS_MODULES=""]) fi AC_MSG_RESULT($pac_mumps_lib_ok) diff --git a/configure b/configure index e62eb0e1..4f90fcc6 100755 --- a/configure +++ b/configure @@ -1,8 +1,8 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for MLD2P4 2.3.1. +# Generated by GNU Autoconf 2.69 for AMG4PSBLAS 1.0.0. # -# Report bugs to . +# Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -267,7 +267,7 @@ fi $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and -$0: https://github.com/sfilippone/mld2p4-2/issues about +$0: https://github.com/sfilippone/amg4psblas/issues about $0: your system, including any error possibly output before $0: this message. Then install a modern shell, or manually $0: run the script under such a shell if you do have one." @@ -578,11 +578,11 @@ MFLAGS= MAKEFLAGS= # Identity of this package. -PACKAGE_NAME='MLD2P4' -PACKAGE_TARNAME='mld2p4' -PACKAGE_VERSION='2.3.1' -PACKAGE_STRING='MLD2P4 2.3.1' -PACKAGE_BUGREPORT='https://github.com/sfilippone/mld2p4-2/issues' +PACKAGE_NAME='AMG4PSBLAS' +PACKAGE_TARNAME='amg4psblas' +PACKAGE_VERSION='1.0.0' +PACKAGE_STRING='AMG4PSBLAS 1.0.0' +PACKAGE_BUGREPORT='https://github.com/sfilippone/amg4psblas/issues' PACKAGE_URL='' ac_unique_file="mlprec/mld_prec_type.f90" @@ -1337,7 +1337,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures MLD2P4 2.3.1 to adapt to many kinds of systems. +\`configure' configures AMG4PSBLAS 1.0.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1385,7 +1385,7 @@ Fine tuning of the installation directories: --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/mld2p4] + --docdir=DIR documentation root [DATAROOTDIR/doc/amg4psblas] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] @@ -1403,7 +1403,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of MLD2P4 2.3.1:";; + short | recursive ) echo "Configuration of AMG4PSBLAS 1.0.0:";; esac cat <<\_ACEOF @@ -1509,7 +1509,7 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. -Report bugs to . +Report bugs to . _ACEOF ac_status=$? fi @@ -1572,7 +1572,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -MLD2P4 configure 2.3.1 +AMG4PSBLAS configure 1.0.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2184,9 +2184,9 @@ $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} -( $as_echo "## ------------------------------------------------------------ ## -## Report this to https://github.com/sfilippone/mld2p4-2/issues ## -## ------------------------------------------------------------ ##" +( $as_echo "## -------------------------------------------------------------- ## +## Report this to https://github.com/sfilippone/amg4psblas/issues ## +## -------------------------------------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac @@ -2208,7 +2208,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by MLD2P4 $as_me 2.3.1, which was +It was created by AMG4PSBLAS $as_me 1.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2559,7 +2559,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # VERSION is the file containing the PSBLAS version code # FIXME -mld2p4_cv_version="2.3.1" +amg4psblas_cv_version="1.0.0" # A sample source file @@ -2567,7 +2567,7 @@ mld2p4_cv_version="2.3.1" { $as_echo "$as_me:${as_lineno-$LINENO}: -------------------------------------------------------------------------------- - Welcome to the $PACKAGE_NAME $mld2p4_cv_version configure Script. + Welcome to the $PACKAGE_NAME $amg4psblas_cv_version configure Script. This creates Make.inc, but if you read carefully the documentation, you can make your own by hand for your needs. @@ -2578,7 +2578,7 @@ mld2p4_cv_version="2.3.1" " >&5 $as_echo "$as_me: -------------------------------------------------------------------------------- - Welcome to the $PACKAGE_NAME $mld2p4_cv_version configure Script. + Welcome to the $PACKAGE_NAME $amg4psblas_cv_version configure Script. This creates Make.inc, but if you read carefully the documentation, you can make your own by hand for your needs. @@ -3179,8 +3179,8 @@ fi # Define the identity of the package. - PACKAGE='mld2p4' - VERSION='2.3.1' + PACKAGE='amg4psblas' + VERSION='1.0.0' cat >>confdefs.h <<_ACEOF @@ -3284,7 +3284,7 @@ fi $as_echo_n "checking where to install... " >&6; } case $prefix in \/* ) eval "INSTALL_DIR=$prefix";; - * ) eval "INSTALL_DIR=/usr/local/mld2p4";; + * ) eval "INSTALL_DIR=/usr/local/amg4psblas";; esac case $libdir in \/* ) eval "INSTALL_LIBDIR=$libdir";; @@ -8058,44 +8058,44 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # Check whether --with-mumps was given. if test "${with_mumps+set}" = set; then : - withval=$with_mumps; mld2p4_cv_mumps=$withval + withval=$with_mumps; amg4psblas_cv_mumps=$withval else - mld2p4_cv_mumps='-lsmumps -ldmumps -lcmumps -lzmumps -lmumps_common -lpord' + amg4psblas_cv_mumps='-lsmumps -ldmumps -lcmumps -lzmumps -lmumps_common -lpord' fi # Check whether --with-mumpsdir was given. if test "${with_mumpsdir+set}" = set; then : - withval=$with_mumpsdir; mld2p4_cv_mumpsdir=$withval + withval=$with_mumpsdir; amg4psblas_cv_mumpsdir=$withval else - mld2p4_cv_mumpsdir='' + amg4psblas_cv_mumpsdir='' fi # Check whether --with-mumpsincdir was given. if test "${with_mumpsincdir+set}" = set; then : - withval=$with_mumpsincdir; mld2p4_cv_mumpsincdir=$withval + withval=$with_mumpsincdir; amg4psblas_cv_mumpsincdir=$withval else - mld2p4_cv_mumpsincdir='' + amg4psblas_cv_mumpsincdir='' fi # Check whether --with-mumpsmoddir was given. if test "${with_mumpsmoddir+set}" = set; then : - withval=$with_mumpsmoddir; mld2p4_cv_mumpsmoddir=$withval + withval=$with_mumpsmoddir; amg4psblas_cv_mumpsmoddir=$withval else - mld2p4_cv_mumpsmoddir='' + amg4psblas_cv_mumpsmoddir='' fi # Check whether --with-mumpslibdir was given. if test "${with_mumpslibdir+set}" = set; then : - withval=$with_mumpslibdir; mld2p4_cv_mumpslibdir=$withval + withval=$with_mumpslibdir; amg4psblas_cv_mumpslibdir=$withval else - mld2p4_cv_mumpslibdir='' + amg4psblas_cv_mumpslibdir='' fi @@ -8107,28 +8107,28 @@ ac_compiler_gnu=$ac_cv_fc_compiler_gnu save_LIBS="$LIBS" save_FC="$FC" FC=${MPIFC} -if test "x$mld2p4_cv_mumpsincdir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: mumps dir $mld2p4_cv_mumpsincdir" >&5 -$as_echo "$as_me: mumps dir $mld2p4_cv_mumpsincdir" >&6;} - MUMPS_INCLUDES="-I$mld2p4_cv_mumpsincdir" -elif test "x$mld2p4_cv_mumpsdir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: mumps dir $mld2p4_cv_mumpsdir" >&5 -$as_echo "$as_me: mumps dir $mld2p4_cv_mumpsdir" >&6;} - MUMPS_INCLUDES="-I$mld2p4_cv_mumpsdir" -fi -if test "x$mld2p4_cv_mumpsmoddir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: mumps dir $mld2p4_cv_mumpsmoddir" >&5 -$as_echo "$as_me: mumps dir $mld2p4_cv_mumpsmoddir" >&6;} - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsmoddir" -elif test "x$mld2p4_cv_mumpsdir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: mumps dir $mld2p4_cv_mumpsdir" >&5 -$as_echo "$as_me: mumps dir $mld2p4_cv_mumpsdir" >&6;} - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir" -fi -if test "x$mld2p4_cv_mumpslibdir" != "x"; then - MUMPS_LIBS="-L$mld2p4_cv_mumpslibdir" -elif test "x$mld2p4_cv_mumpsdir" != "x"; then - MUMPS_LIBS="-L$mld2p4_cv_mumpsdir" +if test "x$amg4psblas_cv_mumpsincdir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: mumps dir $amg4psblas_cv_mumpsincdir" >&5 +$as_echo "$as_me: mumps dir $amg4psblas_cv_mumpsincdir" >&6;} + MUMPS_INCLUDES="-I$amg4psblas_cv_mumpsincdir" +elif test "x$amg4psblas_cv_mumpsdir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: mumps dir $amg4psblas_cv_mumpsdir" >&5 +$as_echo "$as_me: mumps dir $amg4psblas_cv_mumpsdir" >&6;} + MUMPS_INCLUDES="-I$amg4psblas_cv_mumpsdir" +fi +if test "x$amg4psblas_cv_mumpsmoddir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: mumps dir $amg4psblas_cv_mumpsmoddir" >&5 +$as_echo "$as_me: mumps dir $amg4psblas_cv_mumpsmoddir" >&6;} + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsmoddir" +elif test "x$amg4psblas_cv_mumpsdir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: mumps dir $amg4psblas_cv_mumpsdir" >&5 +$as_echo "$as_me: mumps dir $amg4psblas_cv_mumpsdir" >&6;} + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir" +fi +if test "x$amg4psblas_cv_mumpslibdir" != "x"; then + MUMPS_LIBS="-L$amg4psblas_cv_mumpslibdir" +elif test "x$amg4psblas_cv_mumpsdir" != "x"; then + MUMPS_LIBS="-L$amg4psblas_cv_mumpsdir" fi LIBS="$MUMPS_LIBS $save_LIBS $EXTRA_LIBS" @@ -8150,7 +8150,7 @@ fi if test "x$pac_mumps_header_ok" == "xno" ; then unset ac_cv_header_dmumps_c_h - MUMPS_INCLUDES="-I$mld2p4_cv_mumpsdir/include" + MUMPS_INCLUDES="-I$amg4psblas_cv_mumpsdir/include" CPPFLAGS="$MUMPS_INCLUDES $save_CPPFLAGS" ac_fn_c_check_header_mongrel "$LINENO" "dmumps_c.h" "ac_cv_header_dmumps_c_h" "$ac_includes_default" if test "x$ac_cv_header_dmumps_c_h" = xyes; then : @@ -8163,7 +8163,7 @@ fi fi if test "x$pac_mumps_header_ok" == "xno" ; then unset ac_cv_header_dmumps_c_h - MUMPS_INCLUDES="-I$mld2p4_cv_mumpsdir/Include" + MUMPS_INCLUDES="-I$amg4psblas_cv_mumpsdir/Include" CPPFLAGS="$MUMPS_INCLUDES $save_CPPFLAGS" ac_fn_c_check_header_mongrel "$LINENO" "dmumps_c.h" "ac_cv_header_dmumps_c_h" "$ac_includes_default" if test "x$ac_cv_header_dmumps_c_h" = xyes; then : @@ -8192,13 +8192,13 @@ cat > conftest.$ac_ext <<_ACEOF end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fmods_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_MODULES"; + pac_mumps_fmods_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_MODULES"; else pac_mumps_fmods_ok=no; MUMPS_MODULES="" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test "x$pac_mumps_fmods_ok" == "xno" ; then - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir/include" + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir/include" FCFLAGS="$MUMPS_MODULES $save_FCFLAGS" cat > conftest.$ac_ext <<_ACEOF @@ -8208,14 +8208,14 @@ if test "x$pac_mumps_fmods_ok" == "xno" ; then end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fmods_ok=yes mld2p4_cv_mumpsmoddir="$MUMPS_MODULES"; + pac_mumps_fmods_ok=yes amg4psblas_cv_mumpsmoddir="$MUMPS_MODULES"; else pac_mumps_fmods_ok=no; MUMPS_MODULES="" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "x$pac_mumps_fmods_ok" == "xno" ; then - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir/Include" + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir/Include" FCFLAGS="$MUMPS_MODULES $save_FCFLAGS" cat > conftest.$ac_ext <<_ACEOF @@ -8225,14 +8225,14 @@ if test "x$pac_mumps_fmods_ok" == "xno" ; then end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fmods_ok=yes mld2p4_cv_mumpsmoddir="$MUMPS_MODULES"; + pac_mumps_fmods_ok=yes amg4psblas_cv_mumpsmoddir="$MUMPS_MODULES"; else pac_mumps_fmods_ok=no; MUMPS_MODULES="" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "x$pac_mumps_fmods_ok" == "xno" ; then - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir/modules" + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir/modules" FCFLAGS="$MUMPS_MODULES $save_FCFLAGS" cat > conftest.$ac_ext <<_ACEOF @@ -8242,14 +8242,14 @@ if test "x$pac_mumps_fmods_ok" == "xno" ; then end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fmods_ok=yes mld2p4_cv_mumpsmoddir="$MUMPS_MODULES"; + pac_mumps_fmods_ok=yes amg4psblas_cv_mumpsmoddir="$MUMPS_MODULES"; else pac_mumps_fmods_ok=no; MUMPS_MODULES="" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "x$pac_mumps_fmods_ok" == "xno" ; then - MUMPS_MODULES="$FMFLAG$mld2p4_cv_mumpsdir/Modules" + MUMPS_MODULES="$FMFLAG$amg4psblas_cv_mumpsdir/Modules" FCFLAGS="$MUMPS_MODULES $save_FCFLAGS" cat > conftest.$ac_ext <<_ACEOF @@ -8259,7 +8259,7 @@ if test "x$pac_mumps_fmods_ok" == "xno" ; then end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fmods_ok=yes mld2p4_cv_mumpsmoddir="$MUMPS_MODULES"; + pac_mumps_fmods_ok=yes amg4psblas_cv_mumpsmoddir="$MUMPS_MODULES"; else pac_mumps_fmods_ok=no; MUMPS_MODULES="" fi @@ -8267,10 +8267,10 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "x$pac_mumps_fmods_ok" == "xno" ; then - if test "x$mld2p4_cv_mumpsincdir" != "x"; then - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsincdir" - elif test "x$mld2p4_cv_mumpsdir" != "x"; then - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsincdir" + if test "x$amg4psblas_cv_mumpsincdir" != "x"; then + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsincdir" + elif test "x$amg4psblas_cv_mumpsdir" != "x"; then + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsincdir" fi FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" @@ -8281,14 +8281,14 @@ if test "x$pac_mumps_fmods_ok" == "xno" ; then end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES"; + pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES"; else pac_mumps_fincs_ok=no; MUMPS_FINCLUDES="" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test "x$pac_mumps_fincs_ok" == "xno" ; then - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsdir/include" + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsdir/include" FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" cat > conftest.$ac_ext <<_ACEOF @@ -8297,14 +8297,14 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES"; + pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES"; else pac_mumps_fincs_ok=no; MUMPS_FINCLUDES="" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "x$pac_mumps_fincs_ok" == "xno" ; then - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsdir/Include" + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsdir/Include" FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" cat > conftest.$ac_ext <<_ACEOF @@ -8313,14 +8313,14 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES"; + pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES"; else pac_mumps_fincs_ok=no; MUMPS_FINCLUDES="" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "x$pac_mumps_fincs_ok" == "xno" ; then - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsdir/modules" + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsdir/modules" FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" cat > conftest.$ac_ext <<_ACEOF @@ -8329,14 +8329,14 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES"; + pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES"; else pac_mumps_fincs_ok=no; MUMPS_FINCLUDES="" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "x$pac_mumps_fincs_ok" == "xno" ; then - MUMPS_FINCLUDES="$FIFLAG$mld2p4_cv_mumpsdir/Modules" + MUMPS_FINCLUDES="$FIFLAG$amg4psblas_cv_mumpsdir/Modules" FCFLAGS="$MUMPS_FINCLUDES $save_FCFLAGS" cat > conftest.$ac_ext <<_ACEOF @@ -8345,7 +8345,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext end program test _ACEOF if ac_fn_fc_try_compile "$LINENO"; then : - pac_mumps_fincs_ok=yes; mld2p4_cv_mumpmoddir="$MUMPS_FINCLUDES"; + pac_mumps_fincs_ok=yes; amg4psblas_cv_mumpmoddir="$MUMPS_FINCLUDES"; else pac_mumps_fincs_ok=no; MUMPS_FINCLUDES="" fi @@ -8355,7 +8355,7 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi if test "x$pac_mumps_fmods_ok" == "xyes" || test "x$pac_mumps_fincs_ok" == "xyes" ; then - MUMPS_LIBS="$mld2p4_cv_mumps $MUMPS_LIBS" + MUMPS_LIBS="$amg4psblas_cv_mumps $MUMPS_LIBS" LIBS="$MUMPS_LIBS $save_LIBS $EXTRA_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmumps in $MUMPS_LIBS" >&5 $as_echo_n "checking for dmumps in $MUMPS_LIBS... " >&6; } @@ -8365,15 +8365,15 @@ $as_echo_n "checking for dmumps in $MUMPS_LIBS... " >&6; } end _ACEOF if ac_fn_fc_try_link "$LINENO"; then : - mld2p4_cv_have_mumps=yes;pac_mumps_lib_ok=yes; + amg4psblas_cv_have_mumps=yes;pac_mumps_lib_ok=yes; else - mld2p4_cv_have_mumps=no;pac_mumps_lib_ok=no; + amg4psblas_cv_have_mumps=no;pac_mumps_lib_ok=no; MUMPS_LIBS=""; fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "x$pac_mumps_lib_ok" == "xno" ; then - MUMPS_LIBS="$mld2p4_cv_mumps -L$mld2p4_cv_mumpsdir/lib"; + MUMPS_LIBS="$amg4psblas_cv_mumps -L$amg4psblas_cv_mumpsdir/lib"; LIBS="$MUMPS_LIBS $save_LIBS $EXTRA_LIBS"; cat > conftest.$ac_ext <<_ACEOF program main @@ -8381,9 +8381,9 @@ rm -f core conftest.err conftest.$ac_objext \ end _ACEOF if ac_fn_fc_try_link "$LINENO"; then : - mld2p4_cv_have_mumps=yes;pac_mumps_lib_ok=yes; + amg4psblas_cv_have_mumps=yes;pac_mumps_lib_ok=yes; else - mld2p4_cv_have_mumps=no;pac_mumps_lib_ok=no; + amg4psblas_cv_have_mumps=no;pac_mumps_lib_ok=no; MUMPS_LIBS="";MUMPS_MODULES="" fi rm -f core conftest.err conftest.$ac_objext \ @@ -8412,16 +8412,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu # the problem size fits into 4 bytes, very likely since we # are mostly using MUMPS at coarse level. # -if test "x$mld2p4_cv_have_mumps" == "xyes" ; then +if test "x$amg4psblas_cv_have_mumps" == "xyes" ; then if test "x$pac_cv_psblas_ipk" == "x8" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: PSBLAS defines PSB_IPK_ as $pac_cv_psblas_ipk. MUMPS interfacing disabled. " >&5 $as_echo "$as_me: PSBLAS defines PSB_IPK_ as $pac_cv_psblas_ipk. MUMPS interfacing disabled. " >&6;} MUMPS_FLAGS=""; MUMPS_LIBS=""; - mld2p4_cv_have_mumps=no; + amg4psblas_cv_have_mumps=no; fi fi -if test "x$mld2p4_cv_have_mumps" == "xyes" ; then +if test "x$amg4psblas_cv_have_mumps" == "xyes" ; then if test "x$pac_cv_psblas_lpk" == "x8" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: PSBLAS defines PSB_LPK_ as $pac_cv_psblas_lpk. MUMPS interfacing will fail when called in global mode on very large matrices. " >&5 $as_echo "$as_me: PSBLAS defines PSB_LPK_ as $pac_cv_psblas_lpk. MUMPS interfacing will fail when called in global mode on very large matrices. " >&6;} @@ -8444,33 +8444,33 @@ fi # Check whether --with-umfpack was given. if test "${with_umfpack+set}" = set; then : - withval=$with_umfpack; mld2p4_cv_umfpack=$withval + withval=$with_umfpack; amg4psblas_cv_umfpack=$withval else - mld2p4_cv_umfpack='-lumfpack -lamd' + amg4psblas_cv_umfpack='-lumfpack -lamd' fi # Check whether --with-umfpackdir was given. if test "${with_umfpackdir+set}" = set; then : - withval=$with_umfpackdir; mld2p4_cv_umfpackdir=$withval + withval=$with_umfpackdir; amg4psblas_cv_umfpackdir=$withval else - mld2p4_cv_umfpackdir='' + amg4psblas_cv_umfpackdir='' fi # Check whether --with-umfpackincdir was given. if test "${with_umfpackincdir+set}" = set; then : - withval=$with_umfpackincdir; mld2p4_cv_umfpackincdir=$withval + withval=$with_umfpackincdir; amg4psblas_cv_umfpackincdir=$withval else - mld2p4_cv_umfpackincdir='' + amg4psblas_cv_umfpackincdir='' fi # Check whether --with-umfpacklibdir was given. if test "${with_umfpacklibdir+set}" = set; then : - withval=$with_umfpacklibdir; mld2p4_cv_umfpacklibdir=$withval + withval=$with_umfpacklibdir; amg4psblas_cv_umfpacklibdir=$withval else - mld2p4_cv_umfpacklibdir='' + amg4psblas_cv_umfpacklibdir='' fi @@ -8482,14 +8482,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu save_LIBS="$LIBS" save_CPPFLAGS="$CPPFLAGS" -if test "x$mld2p4_cv_umfpackincdir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: umfp include dir $mld2p4_cv_umfpackincdir" >&5 -$as_echo "$as_me: umfp include dir $mld2p4_cv_umfpackincdir" >&6;} - UMF_INCLUDES="-I$mld2p4_cv_umfpackincdir" -elif test "x$mld2p4_cv_umfpackdir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: umfp dir $mld2p4_cv_umfpackdir" >&5 -$as_echo "$as_me: umfp dir $mld2p4_cv_umfpackdir" >&6;} - UMF_INCLUDES="-I$mld2p4_cv_umfpackdir" +if test "x$amg4psblas_cv_umfpackincdir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: umfp include dir $amg4psblas_cv_umfpackincdir" >&5 +$as_echo "$as_me: umfp include dir $amg4psblas_cv_umfpackincdir" >&6;} + UMF_INCLUDES="-I$amg4psblas_cv_umfpackincdir" +elif test "x$amg4psblas_cv_umfpackdir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: umfp dir $amg4psblas_cv_umfpackdir" >&5 +$as_echo "$as_me: umfp dir $amg4psblas_cv_umfpackdir" >&6;} + UMF_INCLUDES="-I$amg4psblas_cv_umfpackdir" fi CPPFLAGS="$UMF_INCLUDES $CPPFLAGS" ac_fn_c_check_header_mongrel "$LINENO" "umfpack.h" "ac_cv_header_umfpack_h" "$ac_includes_default" @@ -8500,16 +8500,16 @@ else fi -if test "x$mld2p4_cv_umfpacklibdir" != "x"; then - LIBS="-L$mld2p4_cv_umfpacklibdir $LIBS $EXTRA_LIBS" - UMF_LIBDIR="-L$mld2p4_cv_umfpacklibdir" -elif test "x$mld2p4_cv_umfpackdir" != "x"; then - LIBS="-L$mld2p4_cv_umfpackdir $LIBS $EXTRA_LIBS" - UMF_LIBDIR="-L$mld2p4_cv_umfpackdir" +if test "x$amg4psblas_cv_umfpacklibdir" != "x"; then + LIBS="-L$amg4psblas_cv_umfpacklibdir $LIBS $EXTRA_LIBS" + UMF_LIBDIR="-L$amg4psblas_cv_umfpacklibdir" +elif test "x$amg4psblas_cv_umfpackdir" != "x"; then + LIBS="-L$amg4psblas_cv_umfpackdir $LIBS $EXTRA_LIBS" + UMF_LIBDIR="-L$amg4psblas_cv_umfpackdir" fi if test "x$pac_umf_header_ok" == "xno" ; then unset ac_cv_header_umfpack_h - UMF_INCLUDES="-I$mld2p4_cv_umfpackdir" + UMF_INCLUDES="-I$amg4psblas_cv_umfpackdir" CPPFLAGS="$UMF_INCLUDES $SAVE_CPPFLAGS" ac_fn_c_check_header_mongrel "$LINENO" "umfpack.h" "ac_cv_header_umfpack_h" "$ac_includes_default" if test "x$ac_cv_header_umfpack_h" = xyes; then : @@ -8522,7 +8522,7 @@ fi fi if test "x$pac_umf_header_ok" == "xno" ; then unset ac_cv_header_umfpack_h - UMF_INCLUDES="-I$mld2p4_cv_umfpackdir/include -I$mld2p4_cv_umfpackdir/Include " + UMF_INCLUDES="-I$amg4psblas_cv_umfpackdir/include -I$amg4psblas_cv_umfpackdir/Include " CPPFLAGS="$UMF_INCLUDES $SAVE_CPPFLAGS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umfpack_di_symbolic in $UMF_INCLUDES" >&5 @@ -8538,7 +8538,7 @@ fi fi if test "x$pac_umf_header_ok" == "xno" ; then unset ac_cv_header_umfpack_h - UMF_INCLUDES="-I$mld2p4_cv_umfpackdir/UFconfig -I$mld2p4_cv_umfpackdir/UMFPACK/Include -I$mld2p4_cv_umfpackdir/AMD/Include" + UMF_INCLUDES="-I$amg4psblas_cv_umfpackdir/UFconfig -I$amg4psblas_cv_umfpackdir/UMFPACK/Include -I$amg4psblas_cv_umfpackdir/AMD/Include" CPPFLAGS="$UMF_INCLUDES $SAVE_CPPFLAGS" ac_fn_c_check_header_mongrel "$LINENO" "umfpack.h" "ac_cv_header_umfpack_h" "$ac_includes_default" if test "x$ac_cv_header_umfpack_h" = xyes; then : @@ -8552,7 +8552,7 @@ fi if test "x$pac_umf_header_ok" == "xyes" ; then - UMF_LIBS="$mld2p4_cv_umfpack $UMF_LIBDIR" + UMF_LIBS="$amg4psblas_cv_umfpack $UMF_LIBDIR" LIBS="$UMF_LIBS -lm $LIBS $EXTRA_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umfpack_di_symbolic in $UMF_LIBS" >&5 $as_echo_n "checking for umfpack_di_symbolic in $UMF_LIBS... " >&6; } @@ -8575,17 +8575,17 @@ return umfpack_di_symbolic (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_umfpack=yes;pac_umf_lib_ok=yes; + amg4psblas_cv_have_umfpack=yes;pac_umf_lib_ok=yes; else - mld2p4_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS="" + amg4psblas_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS="" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $pac_umf_lib_ok" >&5 $as_echo "$pac_umf_lib_ok" >&6; } if test "x$pac_umf_lib_ok" == "xno" ; then - UMF_LIBDIR="-L$mld2p4_cv_umfpackdir/Lib -L$mld2p4_cv_umfpackdir/lib" - UMF_LIBS="$mld2p4_cv_umfpack $UMF_LIBDIR -lm $SAVE_LIBS $EXTRA_LIBS" + UMF_LIBDIR="-L$amg4psblas_cv_umfpackdir/Lib -L$amg4psblas_cv_umfpackdir/lib" + UMF_LIBS="$amg4psblas_cv_umfpack $UMF_LIBDIR -lm $SAVE_LIBS $EXTRA_LIBS" LIBS="$UMF_LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umfpack_di_symbolic in $UMF_LIBS" >&5 @@ -8609,9 +8609,9 @@ return umfpack_di_symbolic (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_umfpack=yes;pac_umf_lib_ok=yes; + amg4psblas_cv_have_umfpack=yes;pac_umf_lib_ok=yes; else - mld2p4_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS="" + amg4psblas_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS="" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext @@ -8619,8 +8619,8 @@ rm -f core conftest.err conftest.$ac_objext \ $as_echo "$pac_umf_lib_ok" >&6; } fi if test "x$pac_umf_lib_ok" == "xno" ; then - UMF_LIBDIR="-L$mld2p4_cv_umfpackdir/AMD/Lib -L$mld2p4_cv_umfpackdir/UMFPACK/Lib" - UMF_LIBS="$mld2p4_cv_umfpack $UMF_LIBDIR -lm $SAVE_LIBS $EXTRA_LIBS" + UMF_LIBDIR="-L$amg4psblas_cv_umfpackdir/AMD/Lib -L$amg4psblas_cv_umfpackdir/UMFPACK/Lib" + UMF_LIBS="$amg4psblas_cv_umfpack $UMF_LIBDIR -lm $SAVE_LIBS $EXTRA_LIBS" LIBS="$UMF_LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umfpack_di_symbolic in $UMF_LIBS" >&5 $as_echo_n "checking for umfpack_di_symbolic in $UMF_LIBS... " >&6; } @@ -8643,9 +8643,9 @@ return umfpack_di_symbolic (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_umfpack=yes;pac_umf_lib_ok=yes; + amg4psblas_cv_have_umfpack=yes;pac_umf_lib_ok=yes; else - mld2p4_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS="" + amg4psblas_cv_have_umfpack=no;pac_umf_lib_ok=no; UMF_LIBS="" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext @@ -8662,7 +8662,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test "x$mld2p4_cv_have_umfpack" == "xyes" ; then +if test "x$amg4psblas_cv_have_umfpack" == "xyes" ; then UMF_FLAGS="-DHave_UMF_ $UMF_INCLUDES" FDEFINES="$mld_cv_define_prepend-DHAVE_UMF_ $FDEFINES" else @@ -8672,33 +8672,33 @@ fi # Check whether --with-superlu was given. if test "${with_superlu+set}" = set; then : - withval=$with_superlu; mld2p4_cv_superlu=$withval + withval=$with_superlu; amg4psblas_cv_superlu=$withval else - mld2p4_cv_superlu='-lsuperlu' + amg4psblas_cv_superlu='-lsuperlu' fi # Check whether --with-superludir was given. if test "${with_superludir+set}" = set; then : - withval=$with_superludir; mld2p4_cv_superludir=$withval + withval=$with_superludir; amg4psblas_cv_superludir=$withval else - mld2p4_cv_superludir='' + amg4psblas_cv_superludir='' fi # Check whether --with-superluincdir was given. if test "${with_superluincdir+set}" = set; then : - withval=$with_superluincdir; mld2p4_cv_superluincdir=$withval + withval=$with_superluincdir; amg4psblas_cv_superluincdir=$withval else - mld2p4_cv_superluincdir='' + amg4psblas_cv_superluincdir='' fi # Check whether --with-superlulibdir was given. if test "${with_superlulibdir+set}" = set; then : - withval=$with_superlulibdir; mld2p4_cv_superlulibdir=$withval + withval=$with_superlulibdir; amg4psblas_cv_superlulibdir=$withval else - mld2p4_cv_superlulibdir='' + amg4psblas_cv_superlulibdir='' fi ac_ext=c @@ -8709,19 +8709,19 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu save_LIBS="$LIBS" save_CPPFLAGS="$CPPFLAGS" -if test "x$mld2p4_cv_superluincdir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: slu include dir $mld2p4_cv_superluincdir" >&5 -$as_echo "$as_me: slu include dir $mld2p4_cv_superluincdir" >&6;} - SLU_INCLUDES="-I$mld2p4_cv_superluincdir" -elif test "x$mld2p4_cv_superludir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: slu dir $mld2p4_cv_superludir" >&5 -$as_echo "$as_me: slu dir $mld2p4_cv_superludir" >&6;} - SLU_INCLUDES="-I$mld2p4_cv_superludir" +if test "x$amg4psblas_cv_superluincdir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: slu include dir $amg4psblas_cv_superluincdir" >&5 +$as_echo "$as_me: slu include dir $amg4psblas_cv_superluincdir" >&6;} + SLU_INCLUDES="-I$amg4psblas_cv_superluincdir" +elif test "x$amg4psblas_cv_superludir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: slu dir $amg4psblas_cv_superludir" >&5 +$as_echo "$as_me: slu dir $amg4psblas_cv_superludir" >&6;} + SLU_INCLUDES="-I$amg4psblas_cv_superludir" fi -if test "x$mld2p4_cv_superlulibdir" != "x"; then - SLU_LIBS="-L$mld2p4_cv_superlulibdir" -elif test "x$mld2p4_cv_superludir" != "x"; then - SLU_LIBS="-L$mld2p4_cv_superludir" +if test "x$amg4psblas_cv_superlulibdir" != "x"; then + SLU_LIBS="-L$amg4psblas_cv_superlulibdir" +elif test "x$amg4psblas_cv_superludir" != "x"; then + SLU_LIBS="-L$amg4psblas_cv_superludir" fi LIBS="$SLU_LIBS $LIBS" @@ -8742,7 +8742,7 @@ done if test "x$pac_slu_header_ok" == "xno" ; then unset ac_cv_header_slu_ddefs_h - SLU_INCLUDES="-I$mld2p4_cv_superludir/include " + SLU_INCLUDES="-I$amg4psblas_cv_superludir/include " CPPFLAGS="$SLU_INCLUDES $save_CPPFLAGS" for ac_header in slu_ddefs.h @@ -8762,7 +8762,7 @@ done fi if test "x$pac_slu_header_ok" == "xno" ; then unset ac_cv_header_slu_ddefs_h - SLU_INCLUDES="-I$mld2p4_cv_superludir/Include " + SLU_INCLUDES="-I$amg4psblas_cv_superludir/Include " CPPFLAGS="$SLU_INCLUDES $save_CPPFLAGS" for ac_header in slu_ddefs.h @@ -8782,7 +8782,7 @@ done fi if test "x$pac_slu_header_ok" == "xyes" ; then - SLU_LIBS="$mld2p4_cv_superlu $SLU_LIBS" + SLU_LIBS="$amg4psblas_cv_superlu $SLU_LIBS" LIBS="$SLU_LIBS -lm $save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for superlu_malloc in $SLU_LIBS" >&5 $as_echo_n "checking for superlu_malloc in $SLU_LIBS... " >&6; } @@ -8805,14 +8805,14 @@ return superlu_malloc (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_superlu=yes;pac_slu_lib_ok=yes; + amg4psblas_cv_have_superlu=yes;pac_slu_lib_ok=yes; else - mld2p4_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; + amg4psblas_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "x$pac_slu_lib_ok" == "xno" ; then - SLU_LIBS="$mld2p4_cv_superlu -L$mld2p4_cv_superludir/lib"; + SLU_LIBS="$amg4psblas_cv_superlu -L$amg4psblas_cv_superludir/lib"; LIBS="$SLU_LIBS -lm $save_LIBS"; cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8833,15 +8833,15 @@ return superlu_malloc (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_superlu=yes;pac_slu_lib_ok=yes; + amg4psblas_cv_have_superlu=yes;pac_slu_lib_ok=yes; else - mld2p4_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; + amg4psblas_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi if test "x$pac_slu_lib_ok" == "xno" ; then - SLU_LIBS="$mld2p4_cv_superlu -L$mld2p4_cv_superludir/lib64"; + SLU_LIBS="$amg4psblas_cv_superlu -L$amg4psblas_cv_superludir/lib64"; LIBS="$SLU_LIBS -lm $save_LIBS"; cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -8862,9 +8862,9 @@ return superlu_malloc (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_superlu=yes;pac_slu_lib_ok=yes; + amg4psblas_cv_have_superlu=yes;pac_slu_lib_ok=yes; else - mld2p4_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; + amg4psblas_cv_have_superlu=no;pac_slu_lib_ok=no; SLU_LIBS=""; fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext @@ -8919,7 +8919,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test "x$mld2p4_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" FDEFINES="$mld_cv_define_prepend-DHAVE_SLU_ $FDEFINES" else @@ -8929,35 +8929,35 @@ fi # Check whether --with-superludist was given. if test "${with_superludist+set}" = set; then : - withval=$with_superludist; mld2p4_cv_superludist=$withval + withval=$with_superludist; amg4psblas_cv_superludist=$withval else - mld2p4_cv_superludist='-lsuperlu_dist' + amg4psblas_cv_superludist='-lsuperlu_dist' fi # Check whether --with-superludistdir was given. if test "${with_superludistdir+set}" = set; then : - withval=$with_superludistdir; mld2p4_cv_superludistdir=$withval + withval=$with_superludistdir; amg4psblas_cv_superludistdir=$withval else - mld2p4_cv_superludistdir='' + amg4psblas_cv_superludistdir='' fi # Check whether --with-superludistincdir was given. if test "${with_superludistincdir+set}" = set; then : - withval=$with_superludistincdir; mld2p4_cv_superludistincdir=$withval + withval=$with_superludistincdir; amg4psblas_cv_superludistincdir=$withval else - mld2p4_cv_superludistincdir='' + amg4psblas_cv_superludistincdir='' fi # Check whether --with-superludistlibdir was given. if test "${with_superludistlibdir+set}" = set; then : - withval=$with_superludistlibdir; mld2p4_cv_superludistlibdir=$withval + withval=$with_superludistlibdir; amg4psblas_cv_superludistlibdir=$withval else - mld2p4_cv_superludistlibdir='' + amg4psblas_cv_superludistlibdir='' fi @@ -8972,19 +8972,19 @@ save_CPPFLAGS="$CPPFLAGS" save_CC="$CC" CC=${MPICC} CPP="${CC} -E" -if test "x$mld2p4_cv_superludistincdir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: sludist dir $mld2p4_cv_superludistincdir" >&5 -$as_echo "$as_me: sludist dir $mld2p4_cv_superludistincdir" >&6;} - SLUDIST_INCLUDES="-I$mld2p4_cv_superludistincdir" -elif test "x$mld2p4_cv_superludistdir" != "x"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: sludist dir $mld2p4_cv_superludistdir" >&5 -$as_echo "$as_me: sludist dir $mld2p4_cv_superludistdir" >&6;} - SLUDIST_INCLUDES="-I$mld2p4_cv_superludistdir" +if test "x$amg4psblas_cv_superludistincdir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: sludist dir $amg4psblas_cv_superludistincdir" >&5 +$as_echo "$as_me: sludist dir $amg4psblas_cv_superludistincdir" >&6;} + SLUDIST_INCLUDES="-I$amg4psblas_cv_superludistincdir" +elif test "x$amg4psblas_cv_superludistdir" != "x"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: sludist dir $amg4psblas_cv_superludistdir" >&5 +$as_echo "$as_me: sludist dir $amg4psblas_cv_superludistdir" >&6;} + SLUDIST_INCLUDES="-I$amg4psblas_cv_superludistdir" fi -if test "x$mld2p4_cv_superludistlibdir" != "x"; then - SLUDIST_LIBS="-L$mld2p4_cv_superludistlibdir" -elif test "x$mld2p4_cv_superludistdir" != "x"; then - SLUDIST_LIBS="-L$mld2p4_cv_superludistdir" +if test "x$amg4psblas_cv_superludistlibdir" != "x"; then + SLUDIST_LIBS="-L$amg4psblas_cv_superludistlibdir" +elif test "x$amg4psblas_cv_superludistdir" != "x"; then + SLUDIST_LIBS="-L$amg4psblas_cv_superludistdir" fi LIBS="$SLUDIST_LIBS $save_LIBS" @@ -9006,7 +9006,7 @@ done if test "x$pac_sludist_header_ok" == "xno" ; then unset ac_cv_header_superlu_ddefs_h - SLUDIST_INCLUDES="-I$mld2p4_cv_superludistdir/include" + SLUDIST_INCLUDES="-I$amg4psblas_cv_superludistdir/include" CPPFLAGS="$SLUDIST_INCLUDES $save_CPPFLAGS" for ac_header in superlu_ddefs.h @@ -9026,7 +9026,7 @@ done fi if test "x$pac_sludist_header_ok" == "xno" ; then unset ac_cv_header_superlu_ddefs_h - SLUDIST_INCLUDES="-I$mld2p4_cv_superludistdir/Include" + SLUDIST_INCLUDES="-I$amg4psblas_cv_superludistdir/Include" CPPFLAGS="$SLUDIST_INCLUDES $save_CPPFLAGS" for ac_header in superlu_ddefs.h @@ -9046,7 +9046,7 @@ done fi if test "x$pac_sludist_header_ok" == "xyes" ; then - SLUDIST_LIBS="$mld2p4_cv_superludist $SLUDIST_LIBS" + SLUDIST_LIBS="$amg4psblas_cv_superludist $SLUDIST_LIBS" LIBS="$SLUDIST_LIBS -lm $save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: checking for superlu_malloc_dist in $SLUDIST_LIBS" >&5 $as_echo_n "checking for superlu_malloc_dist in $SLUDIST_LIBS... " >&6; } @@ -9069,15 +9069,15 @@ return superlu_malloc_dist (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_superludist=yes;pac_sludist_lib_ok=yes; + amg4psblas_cv_have_superludist=yes;pac_sludist_lib_ok=yes; else - mld2p4_cv_have_superludist=no;pac_sludist_lib_ok=no; + amg4psblas_cv_have_superludist=no;pac_sludist_lib_ok=no; SLUDIST_LIBS=""; fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test "x$pac_sludist_lib_ok" == "xno" ; then - SLUDIST_LIBS="$mld2p4_cv_superludist -L$mld2p4_cv_superludistdir/lib"; + SLUDIST_LIBS="$amg4psblas_cv_superludist -L$amg4psblas_cv_superludistdir/lib"; LIBS="$SLUDIST_LIBS -lm $save_LIBS"; cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9098,16 +9098,16 @@ return superlu_malloc_dist (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_superludist=yes;pac_sludist_lib_ok=yes; + amg4psblas_cv_have_superludist=yes;pac_sludist_lib_ok=yes; else - mld2p4_cv_have_superludist=no;pac_sludist_lib_ok=no; + amg4psblas_cv_have_superludist=no;pac_sludist_lib_ok=no; SLUDIST_LIBS=""; fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi if test "x$pac_sludist_lib_ok" == "xno" ; then - SLUDIST_LIBS="$mld2p4_cv_superludist -L$mld2p4_cv_superludistdir/lib64"; + SLUDIST_LIBS="$amg4psblas_cv_superludist -L$amg4psblas_cv_superludistdir/lib64"; LIBS="$SLUDIST_LIBS -lm $save_LIBS"; cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -9128,9 +9128,9 @@ return superlu_malloc_dist (); } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_have_superludist=yes;pac_sludist_lib_ok=yes; + amg4psblas_cv_have_superludist=yes;pac_sludist_lib_ok=yes; else - mld2p4_cv_have_superludist=no;pac_sludist_lib_ok=no; + amg4psblas_cv_have_superludist=no;pac_sludist_lib_ok=no; SLUDIST_LIBS="";SLUDIST_INCLUDES="" fi rm -f core conftest.err conftest.$ac_objext \ @@ -9163,9 +9163,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_superludist_major=`./conftest${ac_exeext} | sed 's/^ *//'` + amg4psblas_cv_superludist_major=`./conftest${ac_exeext} | sed 's/^ *//'` else - mld2p4_cv_superludist_major="unknown" + amg4psblas_cv_superludist_major="unknown" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext @@ -9180,9 +9180,9 @@ rm -f core conftest.err conftest.$ac_objext \ } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - mld2p4_cv_superludist_minor=`./conftest${ac_exeext} | sed 's/^ *//'` + amg4psblas_cv_superludist_minor=`./conftest${ac_exeext} | sed 's/^ *//'` else - mld2p4_cv_superludist_minor="unknown" + amg4psblas_cv_superludist_minor="unknown" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext @@ -9192,7 +9192,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test "x$mld2p4_cv_superludist_major" == "xunknown" ; then + if test "x$amg4psblas_cv_superludist_major" == "xunknown" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for superlu_dist version 4" >&5 $as_echo_n "checking for superlu_dist version 4... " >&6; } ac_ext=c @@ -9213,10 +9213,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu _ACEOF if ac_fn_c_try_compile "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; }; mld2p4_cv_superludist_major="4"; mld2p4_cv_superludist_minor=""; +$as_echo "yes" >&6; }; amg4psblas_cv_superludist_major="4"; amg4psblas_cv_superludist_minor=""; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; }; mld2p4_cv_superludist_major="3"; mld2p4_cv_superludist_minor=""; +$as_echo "no" >&6; }; amg4psblas_cv_superludist_major="3"; amg4psblas_cv_superludist_minor=""; fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -9225,7 +9225,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test "x$mld2p4_cv_superludist_major" == "x4" ; then + if test "x$amg4psblas_cv_superludist_major" == "x4" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for superlu_dist version 5" >&5 $as_echo_n "checking for superlu_dist version 5... " >&6; } ac_ext=c @@ -9246,10 +9246,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu _ACEOF if ac_fn_c_try_compile "$LINENO"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; }; mld2p4_cv_superludist_major="5"; mld2p4_cv_superludist_minor=""; +$as_echo "yes" >&6; }; amg4psblas_cv_superludist_major="5"; amg4psblas_cv_superludist_minor=""; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; }; mld2p4_cv_superludist_major="4"; mld2p4_cv_superludist_minor=""; +$as_echo "no" >&6; }; amg4psblas_cv_superludist_major="4"; amg4psblas_cv_superludist_minor=""; fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -9260,8 +9260,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: SuperLU_dist version $mld2p4_cv_superludist_major.$mld2p4_cv_superludist_minor." >&5 -$as_echo "$as_me: SuperLU_dist version $mld2p4_cv_superludist_major.$mld2p4_cv_superludist_minor." >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: SuperLU_dist version $amg4psblas_cv_superludist_major.$amg4psblas_cv_superludist_minor." >&5 +$as_echo "$as_me: SuperLU_dist version $amg4psblas_cv_superludist_major.$amg4psblas_cv_superludist_minor." >&6;} else SLUDIST_LIBS=""; @@ -9278,10 +9278,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test "x$mld2p4_cv_have_superludist" == "xyes" ; then - pac_sludist_version="$mld2p4_cv_superludist_major"; - if (($mld2p4_cv_superludist_major==6)); then - if (($mld2p4_cv_superludist_minor>=3)); then +if test "x$amg4psblas_cv_have_superludist" == "xyes" ; then + pac_sludist_version="$amg4psblas_cv_superludist_major"; + if (($amg4psblas_cv_superludist_major==6)); then + if (($amg4psblas_cv_superludist_minor>=3)); then pac_sludist_version="63"; fi fi @@ -9950,7 +9950,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by MLD2P4 $as_me 2.3.1, which was +This file was extended by AMG4PSBLAS $as_me 1.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -10001,13 +10001,13 @@ $config_files Configuration commands: $config_commands -Report bugs to ." +Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -MLD2P4 config.status 2.3.1 +AMG4PSBLAS config.status 1.0.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -10692,25 +10692,25 @@ fi ############################################################################### { $as_echo "$as_me:${as_lineno-$LINENO}: - ${PACKAGE_NAME} ${mld2p4_cv_version} has been configured as follows: + ${PACKAGE_NAME} ${amg4psblas_cv_version} has been configured as follows: PSBLAS library : ${PSBLAS_DIR} - MUMPS detected : ${mld2p4_cv_have_mumps} - SuperLU detected : ${mld2p4_cv_have_superlu} - SuperLU_Dist detected : ${mld2p4_cv_have_superludist} - UMFPack detected : ${mld2p4_cv_have_umfpack} + MUMPS detected : ${amg4psblas_cv_have_mumps} + SuperLU detected : ${amg4psblas_cv_have_superlu} + SuperLU_Dist detected : ${amg4psblas_cv_have_superludist} + UMFPack detected : ${amg4psblas_cv_have_umfpack} If you are satisfied, run 'make' to build ${PACKAGE_NAME} and its documentation; otherwise type ./configure --help=short for a complete list of configure options specific to ${PACKAGE_NAME}. " >&5 $as_echo "$as_me: - ${PACKAGE_NAME} ${mld2p4_cv_version} has been configured as follows: + ${PACKAGE_NAME} ${amg4psblas_cv_version} has been configured as follows: PSBLAS library : ${PSBLAS_DIR} - MUMPS detected : ${mld2p4_cv_have_mumps} - SuperLU detected : ${mld2p4_cv_have_superlu} - SuperLU_Dist detected : ${mld2p4_cv_have_superludist} - UMFPack detected : ${mld2p4_cv_have_umfpack} + MUMPS detected : ${amg4psblas_cv_have_mumps} + SuperLU detected : ${amg4psblas_cv_have_superlu} + SuperLU_Dist detected : ${amg4psblas_cv_have_superludist} + UMFPack detected : ${amg4psblas_cv_have_umfpack} If you are satisfied, run 'make' to build ${PACKAGE_NAME} and its documentation; otherwise type ./configure --help=short for a complete list of configure options specific to ${PACKAGE_NAME}. diff --git a/configure.ac b/configure.ac index f67b4604..abec51c4 100755 --- a/configure.ac +++ b/configure.ac @@ -34,11 +34,11 @@ dnl NOTE : odd configurations like ifc + gcc still await in the mist of the unkn ############################################################################### # NOTE: the literal for version (the second argument to AC_INIT should be a literal!) -AC_INIT([MLD2P4],2.3.1, [https://github.com/sfilippone/mld2p4-2/issues]) +AC_INIT([AMG4PSBLAS],1.0.0, [https://github.com/sfilippone/amg4psblas/issues]) # VERSION is the file containing the PSBLAS version code # FIXME -mld2p4_cv_version="2.3.1" +amg4psblas_cv_version="1.0.0" # A sample source file AC_CONFIG_SRCDIR([mlprec/mld_prec_type.f90]) @@ -46,7 +46,7 @@ AC_CONFIG_SRCDIR([mlprec/mld_prec_type.f90]) AC_CONFIG_MACRO_DIR([config]) AC_MSG_NOTICE([ -------------------------------------------------------------------------------- - Welcome to the $PACKAGE_NAME $mld2p4_cv_version configure Script. + Welcome to the $PACKAGE_NAME $amg4psblas_cv_version configure Script. This creates Make.inc, but if you read carefully the documentation, you can make your own by hand for your needs. @@ -100,7 +100,7 @@ AC_PROG_INSTALL AC_MSG_CHECKING([where to install]) case $prefix in \/* ) eval "INSTALL_DIR=$prefix";; - * ) eval "INSTALL_DIR=/usr/local/mld2p4";; + * ) eval "INSTALL_DIR=/usr/local/amg4psblas";; esac case $libdir in \/* ) eval "INSTALL_LIBDIR=$libdir";; @@ -641,15 +641,15 @@ PAC_CHECK_MUMPS # the problem size fits into 4 bytes, very likely since we # are mostly using MUMPS at coarse level. # -if test "x$mld2p4_cv_have_mumps" == "xyes" ; then +if test "x$amg4psblas_cv_have_mumps" == "xyes" ; then if test "x$pac_cv_psblas_ipk" == "x8" ; then AC_MSG_NOTICE([PSBLAS defines PSB_IPK_ as $pac_cv_psblas_ipk. MUMPS interfacing disabled. ]) MUMPS_FLAGS=""; MUMPS_LIBS=""; - mld2p4_cv_have_mumps=no; + amg4psblas_cv_have_mumps=no; fi fi -if test "x$mld2p4_cv_have_mumps" == "xyes" ; then +if test "x$amg4psblas_cv_have_mumps" == "xyes" ; then if test "x$pac_cv_psblas_lpk" == "x8" ; then AC_MSG_NOTICE([PSBLAS defines PSB_LPK_ as $pac_cv_psblas_lpk. MUMPS interfacing will fail when called in global mode on very large matrices. ]) fi @@ -669,7 +669,7 @@ else fi PAC_CHECK_UMFPACK -if test "x$mld2p4_cv_have_umfpack" == "xyes" ; then +if test "x$amg4psblas_cv_have_umfpack" == "xyes" ; then UMF_FLAGS="-DHave_UMF_ $UMF_INCLUDES" FDEFINES="$mld_cv_define_prepend-DHAVE_UMF_ $FDEFINES" else @@ -677,7 +677,7 @@ else fi PAC_CHECK_SUPERLU -if test "x$mld2p4_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" FDEFINES="$mld_cv_define_prepend-DHAVE_SLU_ $FDEFINES" else @@ -686,10 +686,10 @@ fi PAC_CHECK_SUPERLUDIST() -if test "x$mld2p4_cv_have_superludist" == "xyes" ; then - pac_sludist_version="$mld2p4_cv_superludist_major"; - if (($mld2p4_cv_superludist_major==6)); then - if (($mld2p4_cv_superludist_minor>=3)); then +if test "x$amg4psblas_cv_have_superludist" == "xyes" ; then + pac_sludist_version="$amg4psblas_cv_superludist_major"; + if (($amg4psblas_cv_superludist_major==6)); then + if (($amg4psblas_cv_superludist_minor>=3)); then pac_sludist_version="63"; fi fi @@ -797,13 +797,13 @@ AC_OUTPUT() dnl Please note that brackets around variable identifiers are absolutely needed for compatibility.. AC_MSG_NOTICE([ - ${PACKAGE_NAME} ${mld2p4_cv_version} has been configured as follows: + ${PACKAGE_NAME} ${amg4psblas_cv_version} has been configured as follows: PSBLAS library : ${PSBLAS_DIR} - MUMPS detected : ${mld2p4_cv_have_mumps} - SuperLU detected : ${mld2p4_cv_have_superlu} - SuperLU_Dist detected : ${mld2p4_cv_have_superludist} - UMFPack detected : ${mld2p4_cv_have_umfpack} + MUMPS detected : ${amg4psblas_cv_have_mumps} + SuperLU detected : ${amg4psblas_cv_have_superlu} + SuperLU_Dist detected : ${amg4psblas_cv_have_superludist} + UMFPack detected : ${amg4psblas_cv_have_umfpack} If you are satisfied, run 'make' to build ${PACKAGE_NAME} and its documentation; otherwise type ./configure --help=short for a complete list of configure options specific to ${PACKAGE_NAME}.