HP MLIB User's Guide Vol. 2 7th Ed.
Chapter 11 Introduction to Distributed SuperLU 739
Header files
Header files
To call double precision routines in SuperLU_DIST, you need to include
superlu_ddefs.h.
To call double precision routines in SuperLU_DIST8, you need to include
superlu_ddefs8.h.
To call double complex routines in SuperLU_DIST, you need to include
superlu_zdefs.h.
To call double complex routines in SuperLU_DIST8, you need to include
superlu_zdefs8.h.
Distributed SuperLU defined data structures
In the following definitions of data structures, "int_t" is "int" for
SuperLU_DIST routines and is "long long" for SuperLU_DIST8 routines.
1. Data structure only for double precision:
/***************************************************/
/* Definition of structure: LocalLU_t */
/***************************************************/
#define NBUFFERS 5
typedef struct {
int_t **Lrowind_bc_ptr;
double **Lnzval_bc_ptr;
int_t **Ufstnz_br_ptr;
double **Unzval_br_ptr;
int_t *Lsub_buf_2[2];
double *Lval_buf_2[2];
int_t *Usub_buf;
double *Uval_buf;
double *ujrow;
int_t bufmax[NBUFFERS];
int_t *ToRecv;
int_t *ToSendD;
int_t **ToSendR;
int_t *fmod;
int_t **fsendx_plist;
int_t *frecv;
int_t nfrecvx;
int_t *bmod;