14 #include "../PBpblas.h"
15 #include "../PBtools.h"
16 #include "../PBblacs.h"
17 #include "../PBblas.h"
21 int IA,
int JA,
int * DESCA )
154 int Acol, Arow, Aii, Aimb1, Ainb1, Ajj, Ald, Amb, Amp, Anb, Anq,
155 izero=0, mycol, myrow, npcol, nprow;
167 if( ( M <= 0 ) || ( N <= 0 ) )
return;
175 PB_Cdescribe( M, N, IA, JA, DESCA, nprow, npcol, myrow, mycol, &Aii, &Ajj,
176 &Ald, &Aimb1, &Ainb1, &Amb, &Anb, &Arow, &Acol, Ad0 );
180 Amp =
PB_Cnumroc( M, 0, Aimb1, Amb, myrow, Arow, nprow );
181 Anq =
PB_Cnumroc( N, 0, Ainb1, Anb, mycol, Acol, npcol );
182 if( ( Amp <= 0 ) || ( Anq <= 0 ) )
return;
187 Mptr( A, Aii, Ajj, Ald,
TYPE->size ), &Ald );