Are there any good debugging and testing mechanisms for MPI programs?
Now the only weapon I have to diagnose an MPI program is using "cout << some string". It surely takes me too much time and it makes little promise of the correctness.
I want to have a test framework for MPI much like JUnit does to Java programs. This may not be possible because of the difference between parallel and sequential paradigms, but the test framework should be able to unit test each sequential module of my code and do integration test to make sure my program works correctly as a whole.
I also want to be able to debug MPI programs.
Btw, i cannot afford any commercial tools. Please give me some advice. Thanks.