Error collecting data using mpiexec

This question is not related to FEniCS (as illustrated by the code example). This relates to how to use an MPI communicator to decide which process should write to file. See for instance

https://mpi4py.readthedocs.io/en/stable/tutorial.html
or

1 Like