Fortran · Runtime error
What does Error 10: Cannot overwrite existing file mean in Fortran?
An OPEN statement specified STATUS='NEW' for a file that already exists.
An OPEN statement specified STATUS='NEW' for a file that already exists.
Use STATUS='REPLACE' if overwriting is actually intended, or STATUS='UNKNOWN' if the program should work whether or not the file already exists.