Hi!
I am sorry for the simple question.
I am trying to solve the following example:
http://fenicsproject.org/documentation/dolfin/1.1.0/python/demo/pde/cahn-hilliard/python/documentation.html
And I am having this error:
random.seed(2 + MPI.process_number()) AttributeError: type object 'MPI' has no attribute 'process_number'
What am I doing wrong? Any comments are appreciated!
Thanks!
Hi, the interface for MPI has changed. The call is now MPI.rank(communicator), e.g.
MPI.rank(communicator)
from dolfin import * print MPI.rank(mpi_comm_world())
Thanks, MiroK!