mld2p4-2:
README config/pac.m4 configure.ac configure docs/html/img103.png docs/html/img104.png docs/html/index.html docs/html/next.png docs/html/next_g.png docs/html/node12.html docs/html/node14.html docs/html/node15.html docs/html/node18.html docs/html/node26.html docs/html/node6.html docs/html/node7.html docs/html/node8.html docs/html/prev.png docs/html/prev_g.png docs/html/up.png docs/html/up_g.png docs/html/userhtml.html docs/mld2p4-2.0-guide.pdf docs/src/building.tex Fixed configure --help.
@@ -1,4 +1,4 @@
|
||||
This directory contains the MLD2P4 set of preconditioners, version 2.0-beta
|
||||
This directory contains the MLD2P4 set of preconditioners, version 2.0
|
||||
|
||||
WHAT'S NEW
|
||||
|
||||
@@ -7,13 +7,15 @@ Version 2.0.
|
||||
Finally moved to F2003, with the support of PSBLAS3.
|
||||
There are a few minor differences at user level:
|
||||
1. In the configure step, you should specify the INSTALL directory
|
||||
of PSBLAS version 3, not the source directory;
|
||||
of PSBLAS version 3.4, not the source directory;
|
||||
2. In the various makefiles, libmld_prec.a should now be used in
|
||||
addition (and in front of) libpsb_prec.a, and no longer in
|
||||
place of it.
|
||||
3. As for the basic usage, this is practically identical to the
|
||||
previous version(s).
|
||||
|
||||
You should use the same MPI/serial compilers that were used for the
|
||||
PSBLAS installation.
|
||||
The Fortran 2003 support means that it is far easier to develop and
|
||||
integrate new solvers and smoothers; you need to take one of the
|
||||
existing solvers/smoothers as a model, develop your own by
|
||||
@@ -22,16 +24,13 @@ Version 2.0.
|
||||
the PROTOTYPE design pattern. Take a look at the test/newslv
|
||||
directory to see an example. It's easier done than said!
|
||||
|
||||
Note in this beta version the interface to SuperLU_Dist 3.3 is
|
||||
having some issues (most notably, we have chosen to have a memory
|
||||
leak in place of a segfault), we'll fix them asap.
|
||||
Versions tested:
|
||||
Versions known to work:
|
||||
UMFPACK: 5.4
|
||||
SuperLU: 4.3
|
||||
SuperLU_Dist: 3.3
|
||||
Note that with SuperLU_Dist you will probably need to link
|
||||
additional libraries, e.g. ParMetis; you can do this with the
|
||||
configure option --with-extra-libs
|
||||
SuperLU: 4.3 and 5.0
|
||||
SuperLU_Dist: 3.3 and 4.2
|
||||
Note that with SuperLU_Dist you will probably need to add further
|
||||
link options, e.g. the ParMetis library or the openmp runtime;
|
||||
you can do this using the configure option --with-extra-libs
|
||||
|
||||
In version 1.1:
|
||||
- The MLD_SIZEOF() function has been redefined to be INTEGER(8), so
|
||||
@@ -45,7 +44,7 @@ In version 1.1:
|
||||
To compile:
|
||||
0. Unpack the tar file in a directory of your choice (preferrably
|
||||
outside the main PSBLAS directory).
|
||||
1. run configure --with-psblas=<ABSOLUTE path of the PSBLAS source directory>
|
||||
1. run configure --with-psblas=<ABSOLUTE path of the PSBLAS install directory>
|
||||
adding the options for SuperLU, SuperLU_Dist, UMFPACK as desired.
|
||||
2. Tweak Make.inc if you are not satisfied.
|
||||
|
||||
|
||||
@@ -758,7 +758,7 @@ dnl
|
||||
dnl @author Salvatore Filippone <salvatore.filippone@uniroma2.it>
|
||||
dnl
|
||||
AC_DEFUN(PAC_CHECK_UMFPACK,
|
||||
[AC_ARG_WITH(umfpack, AC_HELP_STRING([--with-umfpack=LIBNAME], [Specify the library name for UMFPACK library.
|
||||
[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'])
|
||||
@@ -887,7 +887,7 @@ AC_ARG_WITH(superluincdir, AC_HELP_STRING([--with-superluincdir=DIR], [Specify t
|
||||
AC_ARG_WITH(superlulibdir, AC_HELP_STRING([--with-superlulibdir=DIR], [Specify the directory for SUPERLU library.]),
|
||||
[mld2p4_cv_superlulibdir=$withval],
|
||||
[mld2p4_cv_superlulibdir=''])
|
||||
AC_LANG([C])
|
||||
AC_LANG_PUSH([C])
|
||||
save_LIBS="$LIBS"
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
if test "x$mld2p4_cv_superluincdir" != "x"; then
|
||||
@@ -904,7 +904,7 @@ elif test "x$mld2p4_cv_superludir" != "x"; then
|
||||
fi
|
||||
|
||||
LIBS="$SLU_LIBS $LIBS"
|
||||
CPPFLAGS="$SLU_INCLUDES $CPPFLAGS"
|
||||
CPPFLAGS="$SLU_INCLUDES $save_CPPFLAGS"
|
||||
AC_CHECK_HEADER([slu_ddefs.h],
|
||||
[pac_slu_header_ok=yes],
|
||||
[pac_slu_header_ok=no; SLU_INCLUDES=""])
|
||||
@@ -912,7 +912,7 @@ if test "x$pac_slu_header_ok" == "xno" ; then
|
||||
dnl Maybe Include or include subdirs?
|
||||
unset ac_cv_header_slu_ddefs_h
|
||||
SLU_INCLUDES="-I$mld2p4_cv_superludir/include -I$mld2p4_cv_superludir/Include "
|
||||
CPPFLAGS="$SLU_INCLUDES $SAVE_CPPFLAGS"
|
||||
CPPFLAGS="$SLU_INCLUDES $save_CPPFLAGS"
|
||||
|
||||
AC_CHECK_HEADER([slu_ddefs.h],
|
||||
[pac_slu_header_ok=yes],
|
||||
@@ -921,7 +921,7 @@ fi
|
||||
|
||||
if test "x$pac_slu_header_ok" == "xyes" ; then
|
||||
SLU_LIBS="$mld2p4_cv_superlu $SLU_LIBS"
|
||||
LIBS="$SLU_LIBS -lm $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;],
|
||||
@@ -929,15 +929,51 @@ if test "x$pac_slu_header_ok" == "xyes" ; then
|
||||
if test "x$pac_slu_lib_ok" == "xno" ; then
|
||||
dnl Maybe lib?
|
||||
SLU_LIBS="$mld2p4_cv_superlu -L$mld2p4_cv_superludir/lib";
|
||||
LIBS="$SLU_LIBS -lm $SAVE_LIBS";
|
||||
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=""; SLU_INCLUDES=""])
|
||||
fi
|
||||
AC_MSG_RESULT($pac_slu_lib_ok)
|
||||
fi
|
||||
LIBS="$SAVE_LIBS";
|
||||
CPPFLAGS="$SAVE_CPPFLAGS";
|
||||
if test "x$pac_slu_header_ok" == "xyes" ; then
|
||||
AC_MSG_CHECKING([for superlu version 5])
|
||||
ac_objext='.o'
|
||||
ac_ext='c'
|
||||
ac_compile='${MPICC-$CC} -c -o conftest${ac_objext} $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||
i=0
|
||||
while test \( -f tmpdir_$i \) -o \( -d tmpdir_$i \) ;
|
||||
do
|
||||
i=`expr $i + 1`
|
||||
done
|
||||
mkdir tmpdir_$i
|
||||
cd tmpdir_$i
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#include "slu_ddefs.h"
|
||||
int testdslu()
|
||||
{ SuperMatrix AC, *L, *U;
|
||||
int *perm_r, *perm_c, *etree, panel_size, permc_spec, relax, info;
|
||||
superlu_options_t options; SuperLUStat_t stat;
|
||||
GlobalLU_t Glu;
|
||||
dgstrf(&options, &AC, relax, panel_size, etree,
|
||||
NULL, 0, perm_c, perm_r, L, U, &Glu, &stat, &info);
|
||||
|
||||
}
|
||||
EOF
|
||||
if AC_TRY_EVAL(ac_compile) && test -s conftest${ac_objext}; then
|
||||
pac_slu_version="5";
|
||||
AC_MSG_RESULT([yes]);
|
||||
else
|
||||
pac_slu_version="3_4";
|
||||
AC_MSG_RESULT([no]);
|
||||
fi
|
||||
cd ..;
|
||||
rm -fr tmpdir_$i;
|
||||
fi
|
||||
|
||||
LIBS="$save_LIBS";
|
||||
CPPFLAGS="$save_CPPFLAGS";
|
||||
AC_LANG_POP([C])
|
||||
])dnl
|
||||
|
||||
dnl @synopsis PAC_CHECK_SUPERLU_Dist
|
||||
@@ -970,11 +1006,12 @@ AC_ARG_WITH(superludistlibdir, AC_HELP_STRING([--with-superludistlibdir=DIR], [S
|
||||
[mld2p4_cv_superludistlibdir=$withval],
|
||||
[mld2p4_cv_superludistlibdir=''])
|
||||
|
||||
AC_LANG([C])
|
||||
AC_LANG_PUSH([C])
|
||||
save_LIBS="$LIBS"
|
||||
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"
|
||||
@@ -988,8 +1025,8 @@ elif test "x$mld2p4_cv_superludistdir" != "x"; then
|
||||
SLUDIST_LIBS="-L$mld2p4_cv_superludir"
|
||||
fi
|
||||
|
||||
LIBS="$SLUDIST_LIBS $LIBS"
|
||||
CPPFLAGS="$SLUDIST_INCLUDES $CPPFLAGS"
|
||||
LIBS="$SLUDIST_LIBS $save_LIBS"
|
||||
CPPFLAGS="$SLUDIST_INCLUDES $save_CPPFLAGS"
|
||||
|
||||
AC_CHECK_HEADER([superlu_ddefs.h],
|
||||
[pac_sludist_header_ok=yes],
|
||||
@@ -997,8 +1034,8 @@ AC_CHECK_HEADER([superlu_ddefs.h],
|
||||
if test "x$pac_sludist_header_ok" == "xno" ; then
|
||||
dnl Maybe Include or include subdirs?
|
||||
unset ac_cv_header_superlu_ddefs_h
|
||||
SLUDIST_INCLUDES="-I$mld2p4_cv_superludistdir/include -I$mld2p4_cv_superludistdir/Include "
|
||||
CPPFLAGS="$SLUDIST_INCLUDES $SAVE_CPPFLAGS"
|
||||
SLUDIST_INCLUDES="-I$mld2p4_cv_superludistdir/include -I$mld2p4_cv_superludistdir/Include"
|
||||
CPPFLAGS="$SLUDIST_INCLUDES $save_CPPFLAGS"
|
||||
|
||||
AC_CHECK_HEADER([superlu_ddefs.h],
|
||||
[pac_sludist_header_ok=yes],
|
||||
@@ -1007,7 +1044,7 @@ fi
|
||||
|
||||
if test "x$pac_sludist_header_ok" == "xyes" ; then
|
||||
SLUDIST_LIBS="$mld2p4_cv_superludist $SLUDIST_LIBS"
|
||||
LIBS="$SLUDIST_LIBS -lm $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;],
|
||||
@@ -1016,18 +1053,47 @@ if test "x$pac_sludist_header_ok" == "xyes" ; then
|
||||
if test "x$pac_sludist_lib_ok" == "xno" ; then
|
||||
dnl Maybe lib?
|
||||
SLUDIST_LIBS="$mld2p4_cv_superludist -L$mld2p4_cv_superludistdir/lib";
|
||||
LIBS="$SLUDIST_LIBS -lm $SAVE_LIBS";
|
||||
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;
|
||||
SLUDIST_LIBS="";SLUDIST_INCLUDES=""])
|
||||
fi
|
||||
|
||||
AC_MSG_RESULT($pac_sludist_lib_ok)
|
||||
AC_MSG_CHECKING([for superlu_dist version 4])
|
||||
ac_objext='.o'
|
||||
ac_ext='c'
|
||||
ac_compile='${MPICC-$CC} -c -o conftest${ac_objext} $CPPFLAGS conftest.$ac_ext 1>&5'
|
||||
i=0
|
||||
while test \( -f tmpdir_$i \) -o \( -d tmpdir_$i \) ;
|
||||
do
|
||||
i=`expr $i + 1`
|
||||
done
|
||||
mkdir tmpdir_$i
|
||||
cd tmpdir_$i
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#include "superlu_ddefs.h"
|
||||
int testdslud()
|
||||
{ LUstruct_t *LUstruct;
|
||||
int n;
|
||||
LUstructInit(n, LUstruct);
|
||||
}
|
||||
EOF
|
||||
if AC_TRY_EVAL(ac_compile) && test -s conftest${ac_objext}; then
|
||||
pac_sludist_version="4";
|
||||
AC_MSG_RESULT([yes]);
|
||||
else
|
||||
pac_sludist_version="2_3";
|
||||
AC_MSG_RESULT([no]);
|
||||
fi
|
||||
cd ..;
|
||||
rm -fr tmpdir_$i;
|
||||
|
||||
fi
|
||||
LIBS="$save_LIBS";
|
||||
CPPFLAGS="$save_CPPFLAGS";
|
||||
CC="$save_CC";
|
||||
AC_LANG_POP([C])
|
||||
])dnl
|
||||
|
||||
dnl @synopsis PAC_ARG_SERIAL_MPI
|
||||
|
||||
@@ -218,7 +218,7 @@ dnl Now on, MPIFC should be set, as MPIF77 and MPICC
|
||||
|
||||
PAC_CHECK_SUPERLU
|
||||
if test "x$mld2p4_cv_have_superlu" == "xyes" ; then
|
||||
SLU_FLAGS="-DHave_SLU_ $SLU_INCLUDES"
|
||||
SLU_FLAGS="-DHave_SLU_ -DSLU_VERSION_$pac_slu_version $SLU_INCLUDES"
|
||||
FDEFINES="$mld_cv_define_prepend-DHAVE_SLU_ $FDEFINES"
|
||||
else
|
||||
SLU_FLAGS=""
|
||||
@@ -227,7 +227,7 @@ fi
|
||||
PAC_CHECK_SUPERLUDIST
|
||||
if test "x$mld2p4_cv_have_superludist" == "xyes" ; then
|
||||
SLUDIST_FLAGS=""
|
||||
SLUDIST_FLAGS="-DHave_SLUDist_ $SLUDIST_INCLUDES"
|
||||
SLUDIST_FLAGS="-DHave_SLUDist_ -DSLUD_VERSION_$pac_sludist_version $SLUDIST_INCLUDES"
|
||||
FDEFINES="$mld_cv_define_prepend-DHAVE_SLUDIST_ $FDEFINES"
|
||||
else
|
||||
SLUDIST_FLAGS=""
|
||||
|
||||
|
After Width: | Height: | Size: 372 B |
|
After Width: | Height: | Size: 673 B |
@@ -61,9 +61,9 @@ University of Rome ``Tor Vergata'', Italy
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
Software version: 2.0-beta
|
||||
Software version: 2.0
|
||||
<BR>
|
||||
June 14, 2013
|
||||
Oct. 12, 2015
|
||||
|
||||
<BR>
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 245 B |
|
After Width: | Height: | Size: 272 B |
@@ -685,7 +685,7 @@ denoted by <IMG
|
||||
SRC="img67.png"
|
||||
ALT="$R_l$">.
|
||||
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:mlhpost_alg"></A><A NAME="508"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:mlhpost_alg"></A><A NAME="509"></A>
|
||||
<TABLE>
|
||||
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 1:</STRONG>
|
||||
Application of the multi-level hybrid post-smoothed preconditioner.</CAPTION>
|
||||
|
||||
@@ -131,7 +131,7 @@ for the coarsest-level solvers available in MLD2P4).
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="923"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="924"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 1:</STRONG>
|
||||
Preconditioner types, corresponding strings and default choices.
|
||||
|
||||
@@ -86,7 +86,7 @@ the corresponding Fortran 95 codes are available in <code>examples/fileread/</co
|
||||
|
||||
<P>
|
||||
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:ex_default"></A><A NAME="926"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:ex_default"></A><A NAME="927"></A>
|
||||
<TABLE>
|
||||
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 2:</STRONG>
|
||||
Setup and application of the default multi-level Schwarz preconditioner.
|
||||
@@ -193,7 +193,7 @@ boundary conditions are also available in the directory <code>examples/pdegen</c
|
||||
|
||||
<P>
|
||||
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:ex_3lh"></A><A NAME="928"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:ex_3lh"></A><A NAME="929"></A>
|
||||
<TABLE>
|
||||
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 3:</STRONG>
|
||||
Setup of a hybrid three-level Schwarz preconditioner.</CAPTION>
|
||||
@@ -225,7 +225,7 @@ Setup of a hybrid three-level Schwarz preconditioner.</CAPTION>
|
||||
|
||||
<P>
|
||||
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:ex_3la"></A><A NAME="930"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:ex_3la"></A><A NAME="931"></A>
|
||||
<TABLE>
|
||||
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 4:</STRONG>
|
||||
Setup of an additive three-level Schwarz preconditioner.</CAPTION>
|
||||
@@ -257,7 +257,7 @@ Setup of an additive three-level Schwarz preconditioner.</CAPTION>
|
||||
|
||||
<P>
|
||||
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:ex_1l"></A><A NAME="932"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="fig:ex_1l"></A><A NAME="933"></A>
|
||||
<TABLE>
|
||||
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 5:</STRONG>
|
||||
Setup of a one-level Schwarz preconditioner.</CAPTION>
|
||||
|
||||
@@ -193,7 +193,7 @@ according to their needs.
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="1265"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="1266"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 2:</STRONG>
|
||||
Parameters defining the type of multi-level preconditioner.
|
||||
@@ -238,7 +238,7 @@ Parameters defining the type of multi-level preconditioner.
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="1267"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="1268"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 3:</STRONG>
|
||||
Parameters defining the one-level preconditioner used as smoother.
|
||||
@@ -339,7 +339,7 @@ Parameters defining the one-level preconditioner used as smoother.
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="1269"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="1270"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 4:</STRONG>
|
||||
Parameters defining the aggregation algorithm.
|
||||
@@ -454,7 +454,7 @@ Parameters defining the aggregation algorithm.
|
||||
|
||||
<P>
|
||||
<BR><P></P>
|
||||
<DIV ALIGN="CENTER"><A NAME="1272"></A>
|
||||
<DIV ALIGN="CENTER"><A NAME="1273"></A>
|
||||
<TABLE>
|
||||
<CAPTION><STRONG>Table 5:</STRONG>
|
||||
Parameters defining the coarse-space correction at the coarsest
|
||||
|
||||
@@ -63,7 +63,7 @@ Mathematics Department, Macquarie University, Sydney.
|
||||
The command line arguments were: <BR>
|
||||
<STRONG>latex2html</STRONG> <TT>-local_icons -noaddress -dir ../../html userhtml.tex</TT>
|
||||
<P>
|
||||
The translation was initiated by Salvatore Filippone on 2013-06-21
|
||||
The translation was initiated by Salvatore Filippone on 2015-10-14
|
||||
<BR><HR>
|
||||
|
||||
</BODY>
|
||||
|
||||
@@ -79,7 +79,7 @@ The following base libraries are needed:
|
||||
<DD>[<A
|
||||
HREF="node25.html#MPI2">18</A>,<A
|
||||
HREF="node25.html#MPI1">23</A>] A version of MPI is available on most
|
||||
high-performance computing systems; only version 1.1 is required.
|
||||
high-performance computing systems;
|
||||
|
||||
</DD>
|
||||
<DT><STRONG>PSBLAS</STRONG></DT>
|
||||
@@ -88,7 +88,7 @@ The following base libraries are needed:
|
||||
HREF="node25.html#psblas_00">17</A>] Parallel Sparse BLAS is
|
||||
available from
|
||||
<BR><code>http://www.ce.uniroma2.it/psblas</code>; version
|
||||
3.1 (or later) is required. Indeed, all the prerequisites
|
||||
3.3 (or later) is required. Indeed, all the prerequisites
|
||||
listed so far are also prerequisites of PSBLAS.
|
||||
</DD>
|
||||
</DL>
|
||||
@@ -98,30 +98,7 @@ usually this means that they should all be built with the same
|
||||
compiler as MLD2P4.
|
||||
|
||||
<P>
|
||||
<HR>
|
||||
<!--Navigation Panel-->
|
||||
<A NAME="tex2html137"
|
||||
HREF="node7.html">
|
||||
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A>
|
||||
<A NAME="tex2html133"
|
||||
HREF="node5.html">
|
||||
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A>
|
||||
<A NAME="tex2html127"
|
||||
HREF="node5.html">
|
||||
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A>
|
||||
<A NAME="tex2html135"
|
||||
HREF="node2.html">
|
||||
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>
|
||||
<BR>
|
||||
<B> Next:</B> <A NAME="tex2html138"
|
||||
HREF="node7.html">Optional third party libraries</A>
|
||||
<B> Up:</B> <A NAME="tex2html134"
|
||||
HREF="node5.html">Configuring and Building MLD2P4</A>
|
||||
<B> Previous:</B> <A NAME="tex2html128"
|
||||
HREF="node5.html">Configuring and Building MLD2P4</A>
|
||||
<B> <A NAME="tex2html136"
|
||||
HREF="node2.html">Contents</A></B>
|
||||
<!--End of Navigation Panel-->
|
||||
<BR><HR>
|
||||
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
||||
@@ -77,7 +77,16 @@ for multilevel preconditioners may change to reflect their presence.
|
||||
A sparse direct factorization package available from
|
||||
<BR> <code>http://crd.lbl.gov/~xiaoye/SuperLU/</code>; provides serial
|
||||
factorization and triangular system solution for single and double precision,
|
||||
real and complex data. We have tested version 4.3.
|
||||
real and complex data. We have tested version 4.3 and 5.0.
|
||||
|
||||
</DD>
|
||||
<DT><STRONG>SuperLU_Dist</STRONG></DT>
|
||||
<DD>[<A
|
||||
HREF="node25.html#SUPERLUDIST">20</A>]
|
||||
A sparse direct factorization package available
|
||||
from the same site as SuperLU; provides parallel factorization and
|
||||
triangular system solution for double precision real and complex data.
|
||||
We have tested version 3.3 and 4.2.
|
||||
</DD>
|
||||
</DL>
|
||||
<BR><HR>
|
||||
|
||||
@@ -73,7 +73,7 @@ The full set of options may be looked at by issuing the command
|
||||
<PRE>
|
||||
`configure' configures MLD2P4 2.0 to adapt to many kinds of systems.
|
||||
|
||||
Usage: ../../configure [OPTION]... [VAR=VALUE]...
|
||||
Usage: ./configure [OPTION]... [VAR=VALUE]...
|
||||
|
||||
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
||||
VAR=VALUE. See below for descriptions of some of the useful variables.
|
||||
@@ -85,7 +85,7 @@ Configuration:
|
||||
--help=short display options specific to this package
|
||||
--help=recursive display the short help of all the included packages
|
||||
-V, --version display version information and exit
|
||||
-q, --quiet, --silent do not print `checking ...' messages
|
||||
-q, --quiet, --silent do not print `checking...' messages
|
||||
--cache-file=FILE cache test results in FILE [disabled]
|
||||
-C, --config-cache alias for `--cache-file=config.cache'
|
||||
-n, --no-create do not create output files
|
||||
@@ -135,19 +135,31 @@ Optional Features:
|
||||
Optional Packages:
|
||||
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
||||
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
||||
--with-psblas The source directory for PSBLAS, for example,
|
||||
--with-psblas=/opt/packages/psblas-2.3
|
||||
--with-libs List additional link flags here. For example,
|
||||
--with-libs=-lspecial_system_lib or
|
||||
--with-libs=-L/path/to/libs
|
||||
--with-umfpack=LIBNAME Specify the library name for UMFPACK library.
|
||||
Default: "-lumfpack -lamd"
|
||||
--with-psblas=DIR The install directory for PSBLAS, for example,
|
||||
--with-psblas=/opt/packages/psblas-3.3
|
||||
--with-psblas-incdir=DIR
|
||||
Specify the directory for PSBLAS includes.
|
||||
--with-psblas-libdir=DIR
|
||||
Specify the directory for PSBLAS library.
|
||||
--with-extra-libs List additional link flags here. For example,
|
||||
--with-extra-libs=-lspecial_system_lib or
|
||||
--with-extra-libs=-L/path/to/libs
|
||||
--with-umfpack=LIBNAME Specify the library name for UMFPACK and its support
|
||||
libraries. Default: "-lumfpack -lamd"
|
||||
--with-umfpackdir=DIR Specify the directory for UMFPACK library and
|
||||
includes.
|
||||
--with-umfpackincdir=DIR
|
||||
Specify the directory for UMFPACK includes.
|
||||
--with-umfpacklibdir=DIR
|
||||
Specify the directory for UMFPACK library.
|
||||
--with-superlu=LIBNAME Specify the library name for SUPERLU library.
|
||||
Default: "-lsuperlu"
|
||||
--with-superludir=DIR Specify the directory for SUPERLU library and
|
||||
includes.
|
||||
--with-superluincdir=DIR
|
||||
Specify the directory for SUPERLU includes.
|
||||
--with-superlulibdir=DIR
|
||||
Specify the directory for SUPERLU library.
|
||||
--with-superludist=LIBNAME
|
||||
Specify the libname for SUPERLUDIST library.
|
||||
Requires you also specify SuperLU. Default:
|
||||
@@ -155,6 +167,10 @@ Optional Packages:
|
||||
--with-superludistdir=DIR
|
||||
Specify the directory for SUPERLUDIST library and
|
||||
includes.
|
||||
--with-superludistincdir=DIR
|
||||
Specify the directory for SUPERLUDIST includes.
|
||||
--with-superludistlibdir=DIR
|
||||
Specify the directory for SUPERLUDIST library.
|
||||
|
||||
Some influential environment variables:
|
||||
FC Fortran compiler command
|
||||
@@ -164,7 +180,7 @@ Some influential environment variables:
|
||||
LIBS libraries to pass to the linker, e.g. -l<library>
|
||||
CC C compiler command
|
||||
CFLAGS C compiler flags
|
||||
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
|
||||
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
||||
you have headers in a nonstandard directory <include dir>
|
||||
CPP C preprocessor
|
||||
MPICC MPI C compiler command
|
||||
@@ -178,13 +194,13 @@ it to find libraries and programs with nonstandard names/locations.
|
||||
|
||||
Report bugs to <bugreport@mld2p4.it>.
|
||||
</PRE>
|
||||
Thus, a sample build with libraries in installation
|
||||
directories specifics to the GNU 4.7 compiler suite might be as
|
||||
follows, specifying only the UMFPACK external package:
|
||||
For instance, if a user has built and installed PSBLAS 3.3 under the
|
||||
<code>/opt</code> directory and is
|
||||
using the SuiteSparse package (which includes UMFPACK), then MLD2P4
|
||||
might be configured with:
|
||||
<PRE>
|
||||
./configure --with-psblas=/home/user/psblas-3.1/ \
|
||||
--with-libs="-L/usr/local/BLAS/gnu47" \
|
||||
--with-umfpackdir=/usr/local/UMFPACK/gnu47
|
||||
./configure --with-psblas=/opt/psblas-3.3/ \
|
||||
--with-umfpackincdir=/usr/include/suitesparse
|
||||
</PRE>
|
||||
Once the configure script has completed execution, it will have
|
||||
generated the file <code>Make.inc</code> which will then be used by all
|
||||
|
||||
|
After Width: | Height: | Size: 279 B |
|
After Width: | Height: | Size: 327 B |
|
After Width: | Height: | Size: 211 B |
|
After Width: | Height: | Size: 231 B |
@@ -61,9 +61,9 @@ University of Rome ``Tor Vergata'', Italy
|
||||
<BR>
|
||||
<BR>
|
||||
<BR>
|
||||
Software version: 2.0-beta
|
||||
Software version: 2.0
|
||||
<BR>
|
||||
June 14, 2013
|
||||
Oct. 12, 2015
|
||||
|
||||
<BR>
|
||||
|
||||
|
||||
@@ -63,12 +63,12 @@ for multilevel preconditioners may change to reflect their presence.
|
||||
A sparse direct factorization package available from \\
|
||||
\verb|http://crd.lbl.gov/~xiaoye/SuperLU/|; provides serial
|
||||
factorization and triangular system solution for single and double precision,
|
||||
real and complex data. We have tested version 4.3.
|
||||
% \item[SuperLU\_Dist] \cite{SUPERLUDIST}
|
||||
% A sparse direct factorization package available
|
||||
% from the same site as SuperLU; provides parallel factorization and
|
||||
% triangular system solution for double precision real and complex data.
|
||||
% We have tested version 2.5 and 3.3.
|
||||
real and complex data. We have tested version 4.3 and 5.0.
|
||||
\item[SuperLU\_Dist] \cite{SUPERLUDIST}
|
||||
A sparse direct factorization package available
|
||||
from the same site as SuperLU; provides parallel factorization and
|
||||
triangular system solution for double precision real and complex data.
|
||||
We have tested version 3.3 and 4.2.
|
||||
\end{description}
|
||||
\subsection{Configuration options}
|
||||
|
||||
@@ -100,7 +100,7 @@ Configuration:
|
||||
--help=short display options specific to this package
|
||||
--help=recursive display the short help of all the included packages
|
||||
-V, --version display version information and exit
|
||||
-q, --quiet, --silent do not print `checking ...' messages
|
||||
-q, --quiet, --silent do not print `checking...' messages
|
||||
--cache-file=FILE cache test results in FILE [disabled]
|
||||
-C, --config-cache alias for `--cache-file=config.cache'
|
||||
-n, --no-create do not create output files
|
||||
@@ -159,8 +159,8 @@ Optional Packages:
|
||||
--with-extra-libs List additional link flags here. For example,
|
||||
--with-extra-libs=-lspecial_system_lib or
|
||||
--with-extra-libs=-L/path/to/libs
|
||||
--with-umfpack=LIBNAME Specify the library name for UMFPACK library.
|
||||
Default: "-lumfpack -lamd"
|
||||
--with-umfpack=LIBNAME Specify the library name for UMFPACK and its support
|
||||
libraries. Default: "-lumfpack -lamd"
|
||||
--with-umfpackdir=DIR Specify the directory for UMFPACK library and
|
||||
includes.
|
||||
--with-umfpackincdir=DIR
|
||||
|
||||