Open stenczelt opened 3 years ago
No, there's no configuration to control pytest's output. I suspect the smarter thing to do would be look at what options your MPI system has to control stdout/stderr, as trying to sensibly have pytest take arbitrarily different paths is likely harder than handling at the MPI coordinator level.
If you do figure out how to control the output, then a PR adding documentation around it would be welcome.
@aragilar could you kindly tag a new release including this commit?
How to avoid pytest from writing on all MPI processes? If I run
So I am getting the output from all the processes. Is there a different option, or would it be possible to make pytest only print on rank 0?