mld2p4-2:

Updated  to use psb_sparse_mod also some .m4, .tex, configure file.
stopcriterion
Michele Martone 14 years ago
parent 5fc55bfc4c
commit 1a43c78bf1

@ -314,7 +314,7 @@ dnl Warning : square brackets are EVIL!
[AC_MSG_CHECKING([for working source dir of PSBLAS]) [AC_MSG_CHECKING([for working source dir of PSBLAS])
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
program test program test
use psb_sparse_mod use psb_base_mod
end program test end program test
EOF EOF
if AC_TRY_EVAL(ac_compile) && test -s conftest${ac_objext}; then if AC_TRY_EVAL(ac_compile) && test -s conftest${ac_objext}; then
@ -347,7 +347,7 @@ dnl Warning : square brackets are EVIL!
[AC_MSG_CHECKING([for version of PSBLAS supporting psb_long_int_k_]) [AC_MSG_CHECKING([for version of PSBLAS supporting psb_long_int_k_])
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
program test program test
use psb_sparse_mod use psb_base_mod
integer(psb_long_int_k_) :: val integer(psb_long_int_k_) :: val
end program test end program test
EOF EOF

4
configure vendored

@ -5324,7 +5324,7 @@ ac_compile='${MPIFC-$FC} -c -o conftest${ac_objext} $FMFLAG$PSBLAS_DIR/include $
$as_echo_n "checking for working source dir of PSBLAS... " >&6; } $as_echo_n "checking for working source dir of PSBLAS... " >&6; }
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
program test program test
use psb_sparse_mod use psb_base_mod
end program test end program test
EOF EOF
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
@ -5351,7 +5351,7 @@ ac_compile='${MPIFC-$FC} -c -o conftest${ac_objext} $FMFLAG$PSBLAS_DIR/include $
$as_echo_n "checking for version of PSBLAS supporting psb_long_int_k_... " >&6; } $as_echo_n "checking for version of PSBLAS supporting psb_long_int_k_... " >&6; }
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
program test program test
use psb_sparse_mod use psb_base_mod
integer(psb_long_int_k_) :: val integer(psb_long_int_k_) :: val
end program test end program test
EOF EOF

@ -45,7 +45,7 @@ Examples showing the basic use of MLD2P4 are reported in Section~\ref{sec:exampl
Note that the Fortran 95 module \verb|mld_prec_mod|, containing the definition of the Note that the Fortran 95 module \verb|mld_prec_mod|, containing the definition of the
preconditioner data type and the interfaces to the routines of MLD2P4, preconditioner data type and the interfaces to the routines of MLD2P4,
must be used in any program calling such routines. must be used in any program calling such routines.
The modules \verb|psb_sparse_mod|, for the sparse matrix and communication descriptor The modules \verb|psb_base_mod|, for the sparse matrix and communication descriptor
data types, and \verb|psb_krylov_mod|, for interfacing with the data types, and \verb|psb_krylov_mod|, for interfacing with the
Krylov solvers, must be also used (see Section~\ref{sec:examples}). Krylov solvers, must be also used (see Section~\ref{sec:examples}).
@ -114,7 +114,7 @@ multi-level preconditioner available in the real double precision version
of MLD2P4 (see Table~\ref{tab:precinit}). This preconditioner is chosen of MLD2P4 (see Table~\ref{tab:precinit}). This preconditioner is chosen
by simply specifying \verb|'ML'| as second argument of \verb|mld_precinit| by simply specifying \verb|'ML'| as second argument of \verb|mld_precinit|
(a call to \verb|mld_precset| is not needed) and is applied with the BiCGSTAB (a call to \verb|mld_precset| is not needed) and is applied with the BiCGSTAB
solver provided by PSBLAS. As previously observed, the modules \verb|psb_sparse_mod|, solver provided by PSBLAS. As previously observed, the modules \verb|psb_base_mod|,
\verb|mld_prec_mod| and \verb|psb_krylov_mod| must be used by the example program. \verb|mld_prec_mod| and \verb|psb_krylov_mod| must be used by the example program.
The part of the code concerning the The part of the code concerning the
@ -139,7 +139,7 @@ the corresponding Fortran 95 codes are available in \verb|examples/fileread/|.
\begin{minipage}{.90\textwidth} \begin{minipage}{.90\textwidth}
{\small {\small
\begin{verbatim} \begin{verbatim}
use psb_sparse_mod use psb_base_mod
use mld_prec_mod use mld_prec_mod
use psb_krylov_mod use psb_krylov_mod
... ... ... ...

Loading…
Cancel
Save