After hg pull/update from repository my code have started to report that 
it needs MPI. I don't use multi processors at this moment, so I was a 
confused.

I've found that the problem is in Mesh:Mesh(std:string) constructor.
If one process is started MPI::num_processes() is equal 1, not 0.

So there should be:
if (MPI::num_processes() > 1)
rather than:
if (MPI::num_processes() > 0)

regrd.
BArtek



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

Reply via email to