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

Driver program for PSGSSVX example. More...

#include <math.h>
#include "superlu_sdefs.h"
Include dependency graph for psdrive1.c:

Functions

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

Detailed Description

Driver program for PSGSSVX 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 7.0) --
Lawrence Berkeley National Lab, Univ. of California Berkeley.
March 15, 2003
April 5, 2015
January 4 2020

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 PSDRIVE1.

This example illustrates how to use PSGSSVX to
solve systems with the same A but different right-hand side,
possibly with different number of right-hand sides.
In this case, we factorize A only once in the first call to
PSGSSVX, and reuse the following data structures
in the subsequent call to PSGSSVX:
       ScalePermstruct  : DiagScale, R, C, perm_r, perm_c
       LUstruct         : Glu_persist, Llu

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