SuperLU_DIST  4.0
superlu_dist on CPU and GPU clusters
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
zdistribute_mark.c File Reference

Distribute the matrix onto the 2D process mesh. More...

#include "superlu_zdefs.h"

Functions

int_t zdistribute (fact_t fact, int_t n, SuperMatrix *A, Glu_freeable_t *Glu_freeable, LUstruct_t *LUstruct, gridinfo_t *grid)
 

Detailed Description

Distribute the matrix onto the 2D process mesh.

NOTE zdistribute_mark.c

This version is faster for Mark Baertschy's matrices, remains to be
tested for the other matrices.
Main difference: there is no dense SPA involved when distributing A into
the U structure. That is, the entries in upper triangle of A are loaded
directly into U.
The locations of modifications have XSL comments.
Date: Apr 23 09:54:15 PDT 2001

Function Documentation

int_t zdistribute ( fact_t  fact,
int_t  n,
SuperMatrix A,
Glu_freeable_t Glu_freeable,
LUstruct_t LUstruct,
gridinfo_t grid 
)
– Distributed SuperLU routine (version 1.0) –
Lawrence Berkeley National Lab, Univ. of California Berkeley.
September 1, 1999

Purpose

  Distribute the matrix onto the 2D process mesh.

Arguments

fact (input) fact_t
       Specifies whether or not the L and U structures will be re-used.
       = SamePattern_SameRowPerm: L and U structures are input, and
                                  unchanged on exit.
       = DOFACT or SamePattern: L and U structures are computed and output.
n      (input) int
       Dimension of the matrix.
A      (input) SuperMatrix*
   The original matrix A, permuted by columns, of dimension
       (A->nrow, A->ncol). The type of A can be:
       Stype = NCP; Dtype = Z; Mtype = GE.
LUstruct (input) LUstruct_t*
       Data structures for L and U factors.
grid   (input) gridinfo_t*
       The 2D process mesh.