message: Fixed synchronization issue in load-dc miniapp.
diff: @@ -91,7 +91,13 @@ int main(int argc, char *argv[])
  it != fields.end() || fields.begin() == fields.end(); ++it)
  {
  socketstream sol_sock(vishost, visport);
  - if (!sol_sock)
  + bool succeeded = sol_sock.good();
  +#ifdef MFEM_USE_MPI
  + bool all_succeeded;
  + MPI_Allreduce(&succeeded, &all_succeeded, 1, MPI_INT, MPI_MIN, MPI_COMM_WORLD);
  + succeeded = all_succeeded;
  +#endif
  + if (!succeeded)
  {
  mfem::out << "Connection to " << vishost << ':' << visport
  << " failed." << endl;
  