Hey guys,
I was testing a dolfin script for MPI and sadly it did not work the way I expected it to. Any help would be appreciated!
A minimal example script named mpi_test.py
from dolfin import *
mpi_rank = MPI.rank(MPI.comm_world)
mpi_size = MPI.size(MPI.comm_world)
print("rank / size: ", mpi_rank, "/", mpi_size)
Running mpirun -n 4 python3 mpi_test.py
in Fenics 2018.1.0 container gives the following output
rank / size: 2 / 4
rank / size: 1 / 4
rank / size: 0 / 4
rank / size: 3 / 4
but the same script in the Fenics 2019.1.0 container gives
rank / size: 0 / 1
rank / size: 0 / 1
rank / size: 0 / 1
rank / size: 0 / 1
Has anything changed in the newer container? I couldnot find anything in the Changelog.