I've add a class SubSystemsManager which takes care or initialising and 
finalising PETSc, MPI, etc. Seems to work ok except when using PETSc and 
plotting a Function. When running src/demo/poisson/cpp I get the message

   mca: base: component_find: unable to open osc pt2pt: file not found 
(ignored)

and MPI is not correctly finalized

 From a quick web search, this looks like an OpenMPI bug.

Garth
_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to