3.5 Example and test programs
The package contains the examples and tests directories; both of them are
further divided into fileread and pdegen subdirectories. Their purpose is as
follows:
-
examples
- contains a set of simple example programs with a predefined
choice of preconditioners, selectable via integer values. These
are intended to get an acquaintance with the multilevel
preconditioners available in AMG4PSBLAS.
-
tests
- contains a set of more sophisticated examples that will allow the
user, via the input files in the runs subdirectories, to experiment
with the full range of preconditioners implemented in the package.
The fileread directories contain sample programs that read sparse matrices
from files, according to the Matrix Market or the Harwell-Boeing storage
format; the pdegen programs generate matrices in full parallel mode from
the discretization of a sample partial differential equation.