I think we should flush print message by adding flush=True in the print function (it is mainly relevant for so_mpi file) otherwise message will appear at the end of the mpi jobs
A better way than changing every print functions is to run python scripts with the -u option in order to unbuffered stdout/stderr. We just need to add the information within the README files
https://github.com/simonsobs/pspy/blob/9e0a6ff85d593b00b15b5bdb3c10c088dd26bcb6/pspy/so_mpi.py#L63
I think we should flush
print
message by addingflush=True
in theprint
function (it is mainly relevant forso_mpi
file) otherwise message will appear at the end of thempi
jobs