Am 02.01.26 um 19:38 schrieb Harald Anlauf:
I do not think you are wrong, IMHO the code is invalid as it stands.
Why do you think it is invalid?
There is of course a race condition, and the ordering of the
output characters is undefined, but that's the user's choice.
Because of the very condition that the patch tests: Parallel output
to the same unit.
However, I am willing to be corrected if somebody knows the OpenMP
standard better than I do. Fortran, of course, is silent on this.
Best regards
Thomas