SuperLU Distributed 8.2.1
Distributed memory sparse direct solver
pddrive3.c File Reference

Driver program for PDGSSVX example. More...

#include <math.h>
#include "superlu_ddefs.h"
Include dependency graph for pddrive3.c:

Functions

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

Detailed Description

Driver program for PDGSSVX example.

Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)

All rights reserved.

The source code is distributed under BSD license, see the file License.txt at the top-level directory.

-- Distributed SuperLU routine (version 6.1) --
Lawrence Berkeley National Lab, Univ. of California Berkeley.
March 15, 2003
April 5, 2015

Function Documentation

◆ cpp_defs()

int cpp_defs ( )
Here is the caller graph for this function:

◆ main()

int 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 row and column permutation vectors 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.

With MPICH,  program may be run by typing:
   mpiexec -n <np> pddrive3 -r <proc rows> -c <proc columns> big.rua
Here is the call graph for this function: