|
|
@ -35,10 +35,10 @@ The following base libraries are needed:
|
|
|
|
preconditioners based on the UMFPACK or SuperLU third party
|
|
|
|
preconditioners based on the UMFPACK or SuperLU third party
|
|
|
|
libraries.
|
|
|
|
libraries.
|
|
|
|
\item[MPI] \cite{MPI2,MPI1} A version of MPI is available on most
|
|
|
|
\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
|
|
|
|
\item[PSBLAS] \cite{PSBLASGUIDE,psblas_00} Parallel Sparse BLAS is
|
|
|
|
available from \\ \verb|http://www.ce.uniroma2.it/psblas|; version
|
|
|
|
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.
|
|
|
|
listed so far are also prerequisites of PSBLAS.
|
|
|
|
\end{description}
|
|
|
|
\end{description}
|
|
|
|
Please note that the four previous libraries must have Fortran
|
|
|
|
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}
|
|
|
|
\begin{verbatim}
|
|
|
|
`configure' configures MLD2P4 2.0 to adapt to many kinds of systems.
|
|
|
|
`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
|
|
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
|
@ -150,19 +150,31 @@ Optional Features:
|
|
|
|
Optional Packages:
|
|
|
|
Optional Packages:
|
|
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
|
|
--with-psblas The source directory for PSBLAS, for example,
|
|
|
|
--with-psblas=DIR The install directory for PSBLAS, for example,
|
|
|
|
--with-psblas=/opt/packages/psblas-2.3
|
|
|
|
--with-psblas=/opt/packages/psblas-3.3
|
|
|
|
--with-libs List additional link flags here. For example,
|
|
|
|
--with-psblas-incdir=DIR
|
|
|
|
--with-libs=-lspecial_system_lib or
|
|
|
|
Specify the directory for PSBLAS includes.
|
|
|
|
--with-libs=-L/path/to/libs
|
|
|
|
--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.
|
|
|
|
--with-umfpack=LIBNAME Specify the library name for UMFPACK library.
|
|
|
|
Default: "-lumfpack -lamd"
|
|
|
|
Default: "-lumfpack -lamd"
|
|
|
|
--with-umfpackdir=DIR Specify the directory for UMFPACK library and
|
|
|
|
--with-umfpackdir=DIR Specify the directory for UMFPACK library and
|
|
|
|
includes.
|
|
|
|
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.
|
|
|
|
--with-superlu=LIBNAME Specify the library name for SUPERLU library.
|
|
|
|
Default: "-lsuperlu"
|
|
|
|
Default: "-lsuperlu"
|
|
|
|
--with-superludir=DIR Specify the directory for SUPERLU library and
|
|
|
|
--with-superludir=DIR Specify the directory for SUPERLU library and
|
|
|
|
includes.
|
|
|
|
includes.
|
|
|
|
|
|
|
|
--with-superluincdir=DIR
|
|
|
|
|
|
|
|
Specify the directory for SUPERLU includes.
|
|
|
|
|
|
|
|
--with-superlulibdir=DIR
|
|
|
|
|
|
|
|
Specify the directory for SUPERLU library.
|
|
|
|
--with-superludist=LIBNAME
|
|
|
|
--with-superludist=LIBNAME
|
|
|
|
Specify the libname for SUPERLUDIST library.
|
|
|
|
Specify the libname for SUPERLUDIST library.
|
|
|
|
Requires you also specify SuperLU. Default:
|
|
|
|
Requires you also specify SuperLU. Default:
|
|
|
@ -170,6 +182,10 @@ Optional Packages:
|
|
|
|
--with-superludistdir=DIR
|
|
|
|
--with-superludistdir=DIR
|
|
|
|
Specify the directory for SUPERLUDIST library and
|
|
|
|
Specify the directory for SUPERLUDIST library and
|
|
|
|
includes.
|
|
|
|
includes.
|
|
|
|
|
|
|
|
--with-superludistincdir=DIR
|
|
|
|
|
|
|
|
Specify the directory for SUPERLUDIST includes.
|
|
|
|
|
|
|
|
--with-superludistlibdir=DIR
|
|
|
|
|
|
|
|
Specify the directory for SUPERLUDIST library.
|
|
|
|
|
|
|
|
|
|
|
|
Some influential environment variables:
|
|
|
|
Some influential environment variables:
|
|
|
|
FC Fortran compiler command
|
|
|
|
FC Fortran compiler command
|
|
|
@ -179,7 +195,7 @@ Some influential environment variables:
|
|
|
|
LIBS libraries to pass to the linker, e.g. -l<library>
|
|
|
|
LIBS libraries to pass to the linker, e.g. -l<library>
|
|
|
|
CC C compiler command
|
|
|
|
CC C compiler command
|
|
|
|
CFLAGS C compiler flags
|
|
|
|
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>
|
|
|
|
you have headers in a nonstandard directory <include dir>
|
|
|
|
CPP C preprocessor
|
|
|
|
CPP C preprocessor
|
|
|
|
MPICC MPI C compiler command
|
|
|
|
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>.
|
|
|
|
Report bugs to <bugreport@mld2p4.it>.
|
|
|
|
\end{verbatim}
|
|
|
|
\end{verbatim}
|
|
|
|
Thus, a sample build with libraries in installation
|
|
|
|
For instance, if a user has built and installed PSBLAS 3.3 under the
|
|
|
|
directories specifics to the GNU 4.7 compiler suite might be as
|
|
|
|
\verb|/opt| directory and is
|
|
|
|
follows, specifying only the UMFPACK external package:
|
|
|
|
using the SuiteSparse package (which includes UMFPACK), then MLD2P4
|
|
|
|
|
|
|
|
might be configured with:
|
|
|
|
\begin{verbatim}
|
|
|
|
\begin{verbatim}
|
|
|
|
./configure --with-psblas=/home/user/psblas-3.1/ \
|
|
|
|
./configure --with-psblas=/opt/psblas-3.3/ \
|
|
|
|
--with-libs="-L/usr/local/BLAS/gnu47" \
|
|
|
|
--with-umfpackincdir=/usr/include/suitesparse
|
|
|
|
--with-umfpackdir=/usr/local/UMFPACK/gnu47
|
|
|
|
|
|
|
|
\end{verbatim}
|
|
|
|
\end{verbatim}
|
|
|
|
Once the configure script has completed execution, it will have
|
|
|
|
Once the configure script has completed execution, it will have
|
|
|
|
generated the file \verb|Make.inc| which will then be used by all
|
|
|
|
generated the file \verb|Make.inc| which will then be used by all
|
|
|
|