[Developers] [Patches] Add consistency check to TimerReport that the number of timers is the same on all processes
schnetter at cct.lsu.edu
Wed May 12 13:43:28 CDT 2010
On May 12, 2010, at 12:13 , Ian Hinder wrote:
> (second version of patch incorporating Erik's comments)
> TimerReport contains a function CollectTimerInfo which performs a reduction of timer values across processes. Currently, this function can fail with an error from MPI_ReduceAll if the number of timers is different on the different processes. TimerReport assumes that the timers are the same on all processes. This is not something which is enforced by Cactus, but it is usually true. This patch adds a check that the number of timers is the same, and prints a warning and disables output of the corresponding timer files if it is not, rather than aborting with an MPI error.
I committed this patch.
Erik Schnetter <schnetter at cct.lsu.edu> http://www.cct.lsu.edu/~eschnett/
More information about the Developers