17 Nov
2021
17 Nov
'21
5:25 p.m.
Hi all, I have a quick question. When using the built-in logger module in Firedrake after having called MPI (e.g. mpiexec -n 4 python main.py), the default output one would expect is for each time logger is called to log something, it would be called for each process. So in the above example, every time I log a message, it would log it 4 times. Is there a way, other than simply writing something like "if COMM.rank == 0", to get it to only log once? Thanks, Andrew Hicks