MPI simulation hangs
Posted: Fri Oct 11, 2019 6:09 pm
I have a network simulation that runs just fine in serial, and it used to also work in parallel until I re-organized the code a bit (placing different classes in different files, and wrapping the code to actually run the simulation in its own function). The simulation periodically dumps data to file, and when I run it in parallel it just hangs at the first data dump, never actually dumping anything to file. I'm not sure how to even approach debugging this, since not all print statements will print to the screen in parallel.
Thoughts on where I can start?
Thoughts on where I can start?