Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

10.2 f90 "READ UNEXPECTED CHARACTER"

Highlighted
Andrew Cunningham
Frequent Advisor

10.2 f90 "READ UNEXPECTED CHARACTER"

My f90 exe is crashing with
*** FORTRAN I/O ERROR 915: READ UNEXPECTED CHARACTER
FILE: plate_foam.nlp, UNIT: 10
( 0) 0xc21b0994 __io_ded + 0x304 [/usr/lib/pa1.1//libcl.1]
( 1) 0xc21a87c4 ____F90_END_IO + 0x864 [/usr/lib/pa1.1//libcl.1]
at a line such as...
READ(NFILE,*) A_REAL_NUMBER
I know where it is reading from in the ASCII file, and the text is nothing unusual. This is very vanilla F90 code that works fine on the same file in a Win NT using Digital Fortran.
I have applied the PHSS_22538 patch...