This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

check if MPI

+2 votes

Can I tell if dolfin runs in MPI mode by any of Dolfin's MPI functions?

asked Aug 7, 2014 by nschloe FEniCS User (7,120 points)

1 Answer

+2 votes
 
Best answer

print(dolfin.MPI.size(dolfin.mpi_comm_world()))

answered Aug 7, 2014 by nschloe FEniCS User (7,120 points)
...