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
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Strange error in parallel mode but fine in serial mode
|
1 | 622 | July 17, 2020 | |
Save the result of mpirun in a numpy array | 14 | 2348 | June 4, 2023 | |
MPIRUN - writing out text in parallel
|
6 | 1256 | August 20, 2021 | |
Gathering function on root process (MPI) issue with mixed element | 2 | 141 | February 20, 2024 | |
Error with IO in parallel -
|
4 | 671 | July 6, 2021 |