14 #include "../PBpblas.h"
15 #include "../PBtools.h"
16 #include "../PBblacs.h"
17 #include "../PBblas.h"
20 int PB_Cindxg2p(
int IG,
int INB,
int NB,
int PROC,
int SRCPROC,
int NPROCS )
26 int IG, INB, NB, NPROCS, PROC, SRCPROC;
76 if( ( IG < INB ) || ( SRCPROC == -1 ) || ( NPROCS == 1 ) )
86 PROC = SRCPROC + 1 + ( IG - INB ) / NB;
87 return(
MPosMod( PROC, NPROCS ) );