Looks like you are correct, lines 489-496 of restartwrite.f: ! if overlay mode: rename temporaryrestartfile into .rout file if(irstrt(2).eq.1) then close(15) call system("rm -f "//fnrstrt(1:ipos+4)) call system("mv temporaryrestartfile "//fnrstrt(1:ipos+4)) endif