[Developers] [Patches] Add consistency check to TimerReport that the number of timers is the same on all processes
Ian Hinder
ian.hinder at aei.mpg.de
Wed May 12 12:13:45 CDT 2010
(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.
--
Ian Hinder
ian.hinder at aei.mpg.de
--- StripMime Report -- processed MIME parts ---
multipart/mixed
text/plain (text body -- kept)
application/octet-stream
---
More information about the Developers
mailing list