HP MLIB User's Guide Vol. 2 7th Ed.
Chapter 11 Introduction to Distributed SuperLU 789
Solve systems of distributed linear equations. pdgstrs_Bglobal/pzgstrs_Bglobal
Name pdgstrs_Bglobal/pzgstrs_Bglobal
Solve systems of distributed linear equations.
Purpose
pdgstrs_Bglobal and pzgstrs_Bglobal solve systems of distributed linear
equations A*X=B with a general N-by-N matrix A using the LU factorization
computed by
pdgstrf or pzgstrf.
Usage SUPERLU_DIST
void pdgstrs_Bglobal (int n, LUstruct_t *LUstruct, gridinfo_t *grid,
double *B, int ldb, int nrhs, SuperLUStat_t *stat, int *info)
void pzgstrs_Bglobal (int n, LUstruct_t *LUstruct, gridinfo_t *grid,
double *B, int ldb, int nrhs, SuperLUStat_t *stat, int *info)
SUPERLU_DIST8
void pdgstrs_Bglobal (long long n, LUstruct_t *LUstruct, gridinfo_t
*grid, double *B, long long ldb, long long nrhs, SuperLUStat_t *stat,
long long *info)
void pzgstrs_Bglobal (long long n, LUstruct_t *LUstruct, gridinfo_t
*grid, double *B, long long ldb, long long nrhs, SuperLUStat_t *stat,
long long *info)
Arguments n
(input)
(global) The order of the system of linear equations.
LUstruct
(input)
The distributed data structures storing L and U
factors. The L and U factors are obtained from pdgstrf
or pzgstrf for the possibly scaled and permuted matrix
A.
grid
(input)
The 2D process mesh. It contains the MPI
communicator, the number of process rows (NPROW),
the number of process columns (NPCOL), and my
process rank, It is an input argument to all the parallel
routines.
B
(input/output)
On entry, the right-hand side matrix of the possibly
equilibrated and row permuted system. On exit, the
solution matrix of the possibly equilibrated and row
permuted system if info=0.