SuperLU_DIST
4.0
superlu_dist on CPU and GPU clusters
|
Distribute the input matrix in a distributed compressed row format. More...
Functions | |
int | dcreate_dist_matrix (SuperMatrix *A, int_t m, int_t n, int_t nnz, double *nzval_g, int_t *rowind_g, int_t *colptr_g, gridinfo_t *grid) |
Distribute the input matrix in a distributed compressed row format.
– Distributed SuperLU routine (version 3.2) – Lawrence Berkeley National Lab, Univ. of California Berkeley. October 2012
Purpose
DCREATE_DIST_MATRIX reads the global matrix from three input arrays and distribute it to the processes in a distributed compressed row format.
Arguments
A (output) SuperMatrix* Local matrix A in NR_loc format.
M (input) int_t The row number of the global matrix.
N (input) int_t The col number of the global matrix.
NNZ (input) int_t The number nonzeros in the global matrix.
NZVAL_G (input) double* Nonzero values of the global matrix.
ROWIND_G (input) int_t* Row indices of the global matrix.
COLPTR_G (input) int_t* Columns pointers of the global matrix.
GRID (input) gridinof_t* The 2D process mesh.
int dcreate_dist_matrix | ( | SuperMatrix * | A, |
int_t | m, | ||
int_t | n, | ||
int_t | nnz, | ||
double * | nzval_g, | ||
int_t * | rowind_g, | ||
int_t * | colptr_g, | ||
gridinfo_t * | grid | ||
) |