EXAMPLE/pddrive3.c File Reference

Driver program for PDGSSVX example. More...

#include <math.h>
#include "superlu_ddefs.h"

Include dependency graph for pddrive3.c:


Functions

 main (int argc, char *argv[])
int cpp_defs ()

Detailed Description

 -- Distributed SuperLU routine (version 2.0) --
 Lawrence Berkeley National Lab, Univ. of California Berkeley.
 March 15, 2003
 

Function Documentation

int cpp_defs (  ) 

main ( int  argc,
char *  argv[] 
)

 Purpose
 =======

 The driver program PDDRIVE3.

 This example illustrates how to use PDGSSVX to solve
 systems repeatedly with the same sparsity pattern and similar
 numerical values of matrix A.
 In this case, the column permutation vector and symbolic factorization are
 computed only once. The following data structures will be reused in the
 subsequent call to PDGSSVX:
        ScalePermstruct : DiagScale, R, C, perm_r, perm_c
        LUstruct        : etree, Glu_persist, Llu

 NOTE:
 The distributed nonzero structures of L and U remain the same,
 although the numerical values are different. So 'Llu' is set up once
 in the first call to PDGSSVX, and reused in the subsequent call.

 On an IBM SP, the program may be run by typing:
    poe pddrive3 -r <proc rows>=""> -c <proc columns>=""> <input_matrix> -procs 

 


Generated on Sat Aug 29 04:21:31 2009 for SuperLUDistributed by  doxygen 1.5.9