[root]/StandAlone/tools/mpi_test
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 8 (100.0%) | 136 (100.0%) | 17.0 |
dav | 5 (62.5%) | 130 (95.6%) | 26.0 |
jsutherland | 3 (37.5%) | 6 (4.4%) | 2.0 |
This one has been a long time coming.
Rip out the standard namespace opening that has been polluting header files throughout the framework. This crept into all sorts of places.
DO NOT open namespaces in header files. Ever.
2 lines of code changed in 2 files:
Apparently "rank" is defined in std namespace as well. Tighten this up on mpi_test.cc to get it compiling on new systems.
4 lines of code changed in 1 file:
Need to use Uintah's mpi_defs include instead of hardcoding mpi.h.
0 lines of code changed in 2 files:
Added an mpi_hang test. This test can be used to reproduce a bug we
have seen in a few mpi libraries where calling MPI_Abort on a single
processor does not cause the mpi library to kill all processes (as it
should). This can (sometimes) cause sus to hang until the job runs
out of time. Note, this bug usually (only?) showed up when running on
at least 2 nodes. If on 1 node, the library behaved correctly.
(Note, there was a bug in sus that caused MPI_Abort to only be called
on a single processor in some situations, and this bug has been fixed.
However, it is very likely that there will be cases in sus when only
one process will detect an abort condition and thus only one processor
will call MPI_Abort... thus it is necessary for the MPI library to
actually handle this correctly...)
130 lines of code changed in 3 files: