added diagnostic info for memory and balance info

This commit is contained in:
Steve Plimpton
2019-01-23 16:01:10 -07:00
committed by Axel Kohlmeyer
parent fc002e30d3
commit bbe6c9bb63
5 changed files with 184 additions and 34 deletions

View File

@ -966,10 +966,11 @@ void Irregular::exchange_data(char *sendbuf, int nbytes, char *recvbuf)
if (nrecv_proc) MPI_Waitall(nrecv_proc,request,status);
// approximate memory tally
// DEBUG lines
bigint irregular_bytes = 2*nprocs*sizeof(int);
irregular_bytes += maxindex*sizeof(int);
irregular_bytes += maxbuf;
//bigint irregular_bytes = 2*nprocs*sizeof(int);
//irregular_bytes += maxindex*sizeof(int);
//irregular_bytes += maxbuf;
}
/* ----------------------------------------------------------------------