Progress bar for 4d bin
S-01628
As a Tullow Geophysicist I want a progress report on the 4d bin as if I'm running something for several days, I would like to be able to work out approximately how much time is left.
Pre-Dev Notes:
One method of doing this is to use one-sided communication. Each process creates a size_t prog = i (the number of interactions through the for loop) and a size_t elapsedTime (time since the start of the for loop). that a single rank then does a one-sided read of and then calculates mean, median, min, max progress.
An estimate of time remaining can be calculated by finding the average time per iteration and multiplying it by the number of iterations left.
Implementation Notes:
ADDME
System Test Changes:
ADDME
Bug Fixes:
ADDME
C++ API Changes:
ADDME
C API Changes:
ADDME
Success Criteria:
-
Only one node should display progress stats -
Two levels of progress statistics:
-
Overall elapsed wall time of program and overall estimate of wall time left -
Iterations of for loop elapsed on each proc and iterations left
-
CREATED ON - 20/04/2017