Open ohm314 opened 4 years ago
This proposal look fine to me (some minor tweaks we can do later).
Note :
MPI_Barrier
based loop is needed for not mixing mpi messages but as you know that's not efficient as well. But we can discuss/decide later what to do about that.
The Problem
Currently logging in coreneuron is done through a variety of
printf
s,DEBUG
ifdefs and a bit of MPI to print only on rank 0. This code is hard to maintain, messy, limiting and the output is ugly.Considerations
Example:
(i.e. logger shouldn't worry about buffer caching and MPI synchronisations etc.)
Caveats