14 #include "../PBpblas.h"
15 #include "../PBtools.h"
16 #include "../PBblacs.h"
17 #include "../PBblas.h"
20 int PB_Cspan(
int N,
int I,
int INB,
int NB,
int SRCPROC,
int NPROCS )
26 int I, INB, N, NB, NPROCS, SRCPROC;
78 return( ( SRCPROC >= 0 ) &&
80 ( ( I < INB ) ? ( I + N > INB ) :
81 ( I + N > INB + ( ( I - INB ) / NB + 1 ) * NB ) ) ) );