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
1 Like
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