PetaVision / OpenPV

PetaVision is a C++ library for designing and deploying large-scale neurally-inspired computational models.
http://petavision.github.io
Eclipse Public License 1.0
40 stars 13 forks source link

Removed redundant messages in non-root processes. #243

Closed peteschultz closed 7 years ago

peteschultz commented 7 years ago

This pull request addresses duplication of messages when run under MPI. In many cases, each MPI process writes the same message to its log file even though the duplication carries no additional information. With this pull request, such messages (at least the most common ones) are written only by the root process. Additionally, timer information produced when the HyPerCol is deleted at the end of a run is only sent to the root process, since the MPI_Barrier calls should keep the timers more or less in sync.