fix bug in nproc
This commit is contained in:
parent
1e8925ba7f
commit
d0e0fd9e09
@ -689,7 +689,7 @@ void SubPhase::AggregateLabels(char *FILENAME){
|
|||||||
ipz = rnk / (npx*npy);
|
ipz = rnk / (npx*npy);
|
||||||
ipy = (rnk - ipz*npx*npy) / npx;
|
ipy = (rnk - ipz*npx*npy) / npx;
|
||||||
ipx = (rnk - ipz*npx*npy - ipy*npx);
|
ipx = (rnk - ipz*npx*npy - ipy*npx);
|
||||||
printf("ipx=%i ipy=%i ipz=%i\n", ipx, ipy, ipz);
|
//printf("ipx=%i ipy=%i ipz=%i\n", ipx, ipy, ipz);
|
||||||
int tag = 15+rnk;
|
int tag = 15+rnk;
|
||||||
MPI_Recv(LocalID,local_size,MPI_CHAR,rnk,tag,Dm->Comm,MPI_STATUS_IGNORE);
|
MPI_Recv(LocalID,local_size,MPI_CHAR,rnk,tag,Dm->Comm,MPI_STATUS_IGNORE);
|
||||||
for (int k=1; k<nz-1; k++){
|
for (int k=1; k<nz-1; k++){
|
||||||
|
Loading…
Reference in New Issue
Block a user