Creating a counter that stays synchronized across MPI processes
Implementing a shared counter isn’t trivial, but once you do it and have it in a library somewhere you can do a lot with it. In the Using MPI-2 book, which you should have to hand if you’re going to implement this stuff, one of the examples (the code is available online) is a shared … Read more