|
|
|
@ -35,10 +35,10 @@ The following base libraries are needed:
|
|
|
|
|
preconditioners based on the UMFPACK or SuperLU third party
|
|
|
|
|
libraries.
|
|
|
|
|
\item[MPI] \cite{MPI2,MPI1} A version of MPI is available on most
|
|
|
|
|
high-performance computing systems; only version 1.1 is required.
|
|
|
|
|
high-performance computing systems;
|
|
|
|
|
\item[PSBLAS] \cite{PSBLASGUIDE,psblas_00} Parallel Sparse BLAS is
|
|
|
|
|
available from \\ \verb|http://www.ce.uniroma2.it/psblas|; 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.
|
|
|
|
|
\end{description}
|
|
|
|
|
Please note that the four previous libraries must have Fortran
|
|
|
|
@ -88,7 +88,7 @@ The full set of options may be looked at by issuing the command
|
|
|
|
|
\begin{verbatim}
|
|
|
|
|
`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.
|
|
|
|
@ -150,19 +150,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-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 library.
|
|
|
|
|
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:
|
|
|
|
@ -170,6 +182,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
|
|
|
|
@ -179,7 +195,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
|
|
|
|
@ -193,13 +209,13 @@ it to find libraries and programs with nonstandard names/locations.
|
|
|
|
|
|
|
|
|
|
Report bugs to <bugreport@mld2p4.it>.
|
|
|
|
|
\end{verbatim}
|
|
|
|
|
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
|
|
|
|
|
\verb|/opt| directory and is
|
|
|
|
|
using the SuiteSparse package (which includes UMFPACK), then MLD2P4
|
|
|
|
|
might be configured with:
|
|
|
|
|
\begin{verbatim}
|
|
|
|
|
./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
|
|
|
|
|
\end{verbatim}
|
|
|
|
|
Once the configure script has completed execution, it will have
|
|
|
|
|
generated the file \verb|Make.inc| which will then be used by all
|
|
|
|
|