Welcome to this forum.
Do you happen to have the older code? If yes, have you tried that code as-is with either gfortran (with -std=legacy) and/or the free Intel oneAPI IFORT “Classic” compiler?
Note the fpscomp
compiler option with Intel oneAPI free compiler: that may be of interest to you to look into for this I/O need.