Lines Matching refs:npes

27   idx_t npes, mype, pe, count, mask, pass;  in ParMETIS_V3_Mesh2Dual()  local
43 gkMPI_Comm_size(*comm, &npes); in ParMETIS_V3_Mesh2Dual()
50 ChangeNumberingMesh(elmdist, eptr, eind, NULL, NULL, NULL, npes, mype, 1); in ParMETIS_V3_Mesh2Dual()
70 nodedist = ismalloc(npes+1, 0, "nodedist"); in ParMETIS_V3_Mesh2Dual()
71 for (nodedist[0]=0, i=0,j=gmaxnode+1; i<npes; i++) { in ParMETIS_V3_Mesh2Dual()
72 k = j/(npes-i); in ParMETIS_V3_Mesh2Dual()
82 scounts = imalloc(npes, "scounts"); in ParMETIS_V3_Mesh2Dual()
83 rcounts = imalloc(npes, "rcounts"); in ParMETIS_V3_Mesh2Dual()
84 sdispl = imalloc(npes+1, "sdispl"); in ParMETIS_V3_Mesh2Dual()
85 rdispl = imalloc(npes+1, "rdispl"); in ParMETIS_V3_Mesh2Dual()
126 iset(npes, 0, scounts); in ParMETIS_V3_Mesh2Dual()
132 ASSERT(pe < npes); in ParMETIS_V3_Mesh2Dual()
136 icopy(npes, scounts, sdispl); in ParMETIS_V3_Mesh2Dual()
137 MAKECSR(i, npes, sdispl); in ParMETIS_V3_Mesh2Dual()
139 icopy(npes, rcounts, rdispl); in ParMETIS_V3_Mesh2Dual()
140 MAKECSR(i, npes, rdispl); in ParMETIS_V3_Mesh2Dual()
142 ASSERT(sdispl[npes] == eptr[nelms]*2); in ParMETIS_V3_Mesh2Dual()
144 nrecv = rdispl[npes]/2; in ParMETIS_V3_Mesh2Dual()
155 for (i=0; i<npes; i++) { in ParMETIS_V3_Mesh2Dual()
166 for (pe=0; pe<npes; pe++) { in ParMETIS_V3_Mesh2Dual()
179 iset(npes, 0, scounts); in ParMETIS_V3_Mesh2Dual()
182 for (pe=0; pe<npes; pe++) { in ParMETIS_V3_Mesh2Dual()
201 icopy(npes, scounts, sdispl); in ParMETIS_V3_Mesh2Dual()
202 MAKECSR(i, npes, sdispl); in ParMETIS_V3_Mesh2Dual()
205 nsend = sdispl[npes]; in ParMETIS_V3_Mesh2Dual()
209 for (pe=0; pe<npes; pe++) { in ParMETIS_V3_Mesh2Dual()
231 icopy(npes, rcounts, rdispl); in ParMETIS_V3_Mesh2Dual()
232 MAKECSR(i, npes, rdispl); in ParMETIS_V3_Mesh2Dual()
234 nrecv = rdispl[npes]; in ParMETIS_V3_Mesh2Dual()
243 for (pe=0; pe<npes; pe++) { in ParMETIS_V3_Mesh2Dual()
344 ChangeNumberingMesh(elmdist, eptr, eind, myxadj, myadjncy, NULL, npes, mype, 0); in ParMETIS_V3_Mesh2Dual()