1. The problem statement, all variables and given/known data Working on a FORTRAN based code for some work. Not sure what's wrong with it. 2. Relevant equations 3. The attempt at a solution The section of the code that is causing the problem is: Code (Text): OPEN( UNIT = 17,FILE='updateddata.txt',STATUS='UNKNOWN') DO I = 1, 146 READ( 17, 703) MASSNUMBER2(I), ABUNDANCE2(I) 703 FORMAT( I7, ES15.8) WRITE (*,*) MASSNUMBER2(I), ABUNDANCE2(I) END DO CLOSE ( UNIT = 17 ) My problem is I get a run time error when running the entire code: At line 31 of Chisquared.f (unit = 17, file='updateddata.txt') Fortran runtime error: Bad values during floating point read My question is: Is anything wrong in the fortran code here? Anything noticeable that would cause an error?