214 UnitTestClass testCase;
220 testCase.setFilePrefix(filePrefix());
225 (testCase.*methodPtrs_[i])();
234 std::cout << std::endl;
235 std::cout <<
" Failure " << std::endl << std::endl;
236 std::cout << e.
message() << std::endl;
248 MPI::COMM_WORLD.Barrier();
249 if (mpiRank() == 0) {
250 results_[0] = result;
251 if (results_[0] == 0) {
252 std::cout << std::endl;
253 std::cout <<
" Failure on Processor 0"
254 << std::endl << std::endl;
255 std::cout << exception.
message() << std::endl;
258 for (
int i=1; i < mpiSize(); ++i) {
260 MPI::COMM_WORLD.Recv(&(results_[i]), 1, MPI_INT, i, i);
262 if (results_[i] == 0) {
265 MPI::COMM_WORLD.Send(&(results_[i]), 1, MPI_INT, i, mpiSize() + i);
267 MPI::COMM_WORLD.Recv(&(results_[i]), 1, MPI_INT, i, 2*mpiSize() + i);
280 MPI::COMM_WORLD.Send(&result, 1, MPI_INT, 0, mpiRank());
284 MPI::COMM_WORLD.Recv(&result, 1, MPI_INT, 0,
285 mpiSize() + mpiRank());
287 std::cout << std::endl;
288 std::cout <<
" Failure on Processor " << mpiRank()
289 << std::endl << std::endl;
290 std::cout << exception.
message() << std::endl;
293 MPI::COMM_WORLD.Send(&result, 1, MPI_INT, 0,
294 2*mpiSize() + mpiRank());
297 MPI::COMM_WORLD.Barrier();