|
|
@ -14,7 +14,7 @@ feature, which
|
|
|
|
enhances the usability of \verb|ALLOCATE|.
|
|
|
|
enhances the usability of \verb|ALLOCATE|.
|
|
|
|
Many compiles do this; in particular, this is
|
|
|
|
Many compiles do this; in particular, this is
|
|
|
|
supported by the GNU Fortran compiler, for which we
|
|
|
|
supported by the GNU Fortran compiler, for which we
|
|
|
|
recommend to use at least version 4.7.1.
|
|
|
|
recommend to use at least version 4.7.2.
|
|
|
|
The software defines data types and interfaces for
|
|
|
|
The software defines data types and interfaces for
|
|
|
|
real and complex data, in both single and double precision.
|
|
|
|
real and complex data, in both single and double precision.
|
|
|
|
|
|
|
|
|
|
|
@ -38,7 +38,7 @@ The following base libraries are needed:
|
|
|
|
high-performance computing systems; only version 1.1 is required.
|
|
|
|
high-performance computing systems; only version 1.1 is required.
|
|
|
|
\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.0 (or later) is required. Indeed, all the prerequisites
|
|
|
|
3.1 (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
|
|
|
@ -87,9 +87,9 @@ be specified with an {\em absolute} path).
|
|
|
|
The full set of options may be looked at by issuing the command
|
|
|
|
The full set of options may be looked at by issuing the command
|
|
|
|
\verb|./configure --help|, which produces:
|
|
|
|
\verb|./configure --help|, which produces:
|
|
|
|
\begin{verbatim}
|
|
|
|
\begin{verbatim}
|
|
|
|
`configure' configures MLD2P4 1.1 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.
|
|
|
@ -141,6 +141,13 @@ Fine tuning of the installation directories:
|
|
|
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
|
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
|
|
--psdir=DIR ps documentation [DOCDIR]
|
|
|
|
--psdir=DIR ps documentation [DOCDIR]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Optional Features:
|
|
|
|
|
|
|
|
--disable-option-checking ignore unrecognized --enable/--with options
|
|
|
|
|
|
|
|
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
|
|
|
|
|
|
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
|
|
|
|
|
|
--enable-serial Specify whether to enable a fake mpi library to run
|
|
|
|
|
|
|
|
in serial mode.
|
|
|
|
|
|
|
|
|
|
|
|
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)
|
|
|
@ -149,27 +156,18 @@ Optional Packages:
|
|
|
|
--with-libs List additional link flags here. For example,
|
|
|
|
--with-libs List additional link flags here. For example,
|
|
|
|
--with-libs=-lspecial_system_lib or
|
|
|
|
--with-libs=-lspecial_system_lib or
|
|
|
|
--with-libs=-L/path/to/libs
|
|
|
|
--with-libs=-L/path/to/libs
|
|
|
|
--with-clibs additional CLIBS flags to be added: will prepend
|
|
|
|
|
|
|
|
to CLIBS
|
|
|
|
|
|
|
|
--with-flibs additional FLIBS flags to be added: will prepend
|
|
|
|
|
|
|
|
to FLIBS
|
|
|
|
|
|
|
|
--with-library-path additional LIBRARYPATH flags to be added: will
|
|
|
|
|
|
|
|
prepend to LIBRARYPATH
|
|
|
|
|
|
|
|
--with-include-path additional INCLUDEPATH flags to be added: will
|
|
|
|
|
|
|
|
prepend to INCLUDEPATH
|
|
|
|
|
|
|
|
--with-module-path additional MODULE_PATH flags to be added: will
|
|
|
|
|
|
|
|
prepend to MODULE_PATH
|
|
|
|
|
|
|
|
--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-superlu=LIBNAME Specify the library name for SUPERLU library.
|
|
|
|
--with-superlu=LIBNAME Specify the library name for SUPERLU library.
|
|
|
|
Default: "-lslu"
|
|
|
|
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-superludist=LIBNAME
|
|
|
|
--with-superludist=LIBNAME
|
|
|
|
Specify the libname for SUPERLUDIST library.
|
|
|
|
Specify the libname for SUPERLUDIST library.
|
|
|
|
Requires you also specify SuperLU. Default: "-lslud"
|
|
|
|
Requires you also specify SuperLU. Default:
|
|
|
|
|
|
|
|
"-lsuperlu_dist"
|
|
|
|
--with-superludistdir=DIR
|
|
|
|
--with-superludistdir=DIR
|
|
|
|
Specify the directory for SUPERLUDIST library and
|
|
|
|
Specify the directory for SUPERLUDIST library and
|
|
|
|
includes.
|
|
|
|
includes.
|
|
|
@ -182,10 +180,14 @@ 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 C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
|
|
CPPFLAGS (Objective) C/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
|
|
|
|
|
|
|
|
F77 Fortran 77 compiler command
|
|
|
|
|
|
|
|
FFLAGS Fortran 77 compiler flags
|
|
|
|
|
|
|
|
MPIF77 MPI Fortran 77 compiler command
|
|
|
|
|
|
|
|
MPIFC MPI Fortran compiler command
|
|
|
|
|
|
|
|
|
|
|
|
Use these variables to override the choices made by `configure' or to help
|
|
|
|
Use these variables to override the choices made by `configure' or to help
|
|
|
|
it to find libraries and programs with nonstandard names/locations.
|
|
|
|
it to find libraries and programs with nonstandard names/locations.
|
|
|
@ -193,12 +195,12 @@ 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
|
|
|
|
Thus, a sample build with libraries in installation
|
|
|
|
directories specifics to the GNU 4.3 compiler suite might be as
|
|
|
|
directories specifics to the GNU 4.7 compiler suite might be as
|
|
|
|
follows, specifying only the UMFPACK external package:
|
|
|
|
follows, specifying only the UMFPACK external package:
|
|
|
|
\begin{verbatim}
|
|
|
|
\begin{verbatim}
|
|
|
|
./configure --with-psblas=/home/user/psblas-3.0/ \
|
|
|
|
./configure --with-psblas=/home/user/psblas-3.1/ \
|
|
|
|
--with-libs="-L/usr/local/BLAS/gnu46" \
|
|
|
|
--with-libs="-L/usr/local/BLAS/gnu47" \
|
|
|
|
--with-umfpackdir=/usr/local/UMFPACK/gnu46
|
|
|
|
--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
|
|
|
|