kusano 7d535a
		SuperLU EXAMPLES
kusano 7d535a
kusano 7d535a
This directory contains sample programs to illustrate how to use
kusano 7d535a
various functions provded in SuperLU. You can modify these
kusano 7d535a
examples to suit your applications.
kusano 7d535a
kusano 7d535a
Here are the descriptions of the double precision examples:
kusano 7d535a
    dlinsol : use simple driver DGSSV to solve a linear system one time.
kusano 7d535a
    dlinsol1: use simple driver DGSSV in the symmetric mode.
kusano 7d535a
    dlinsolx: use DGSSVX with the full (default) options to solve a
kusano 7d535a
              linear system.
kusano 7d535a
    dlinsolx1: use DGSSVX to factorize A first, then solve the system later.
kusano 7d535a
    dlinsolx2: use DGSSVX to solve systems repeatedly with the same sparsity
kusano 7d535a
	       pattern of matrix A.
kusano 7d535a
    superlu  : the small 5x5 sample program in Section 2 of the Users' Guide.
kusano 7d535a
kusano 7d535a
    ditersol: use GMRES with ILU preconditioner to solver a linear system.
kusano 7d535a
              (The ILU is computed by the routine SRC/dgsitrf.c)
kusano 7d535a
kusano 7d535a
kusano 7d535a
To compile all the examples, type:
kusano 7d535a
	% make
kusano 7d535a
kusano 7d535a
To run the small 5x5 sample program in Section 1 of the Users' Guide, type:
kusano 7d535a
    	% superlu
kusano 7d535a
kusano 7d535a
To run the real version examples, type:
kusano 7d535a
        % dlinsol < g10      (or, % slinsol < g10)
kusano 7d535a
        % dlinsolx -h < g10     (or, % slinsolx < g10)
kusano 7d535a
        % dlinsolx1 < g10    (or, % slinsolx1 < g10)
kusano 7d535a
        % dlinsolx2 < g10    (or, % slinsolx2 < g10)
kusano 7d535a
kusano 7d535a
To run the complex version examples, type:
kusano 7d535a
        % zlinsol < cmat      (or, % clinsol < cmat)
kusano 7d535a
        % zlinsolx < cmat     (or, % clinsolx < cmat)
kusano 7d535a
        % zlinsolx1 < cmat    (or, % clinsolx1 < cmat)
kusano 7d535a
        % zlinsolx2 < cmat    (or, % clinsolx2 < cmat)
kusano 7d535a
kusano 7d535a
To run the ILU preconditioner example, type:
kusano 7d535a
        % ditersol -h < g10
kusano 7d535a
        % zitersol -h < cmat
kusano 7d535a