← Back to team overview

dolfin team mailing list archive

Re: Missing MPI finalize

 



Anders Logg wrote:
Garth, is the MPI finalize missing in SubSystemsManager::finalizeMPI()?


Yes. I just pushed the fix.

Garth

It currently looks like this:

#ifdef HAVE_MPI_H
  // Finalise MPI if required
  if ( MPIinitialized() && !sub_systems_manager.petsc_controls_mpi )
    dolfin_debug("DOLFIN sub system manager finalizing MPI...");
  else
    dolfin_debug("MPI is not initialized or has already been
    finalized.");
#else
  // Do nothing
#endif




References