I am working in FORTRAN
I need to avoid writing to the same file at the same time while working in a parallel environment.
I have a program (that I have not written and cannot edit) that calls a subroutine (that I have written and can edit). The subroutine is called over and over again by...