# Example and test programs

[ prev ] [ prev-tail ] [ tail ] [ up ]

#### 3.5 Example and test programs

The package contains a `samples` directory, divided in two subdirs `simple` and `advanced`; both of them are further divided into `fileread` and `pdegen` subdirectories. Their purpose is as follows:

simple

  contains a set of simple example programs with a predefined choice of preconditioners, selectable via integer values. These are intended to get acquainted with the multilevel preconditioners available in AMG4PSBLAS.

advanced

  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.

[ prev ] [ prev-tail ] [ front ] [ up ]