Leela
Joined: 22 Sep 2013 Posts: 2
|
Posted: Sun Sep 22, 2013 3:54 pm Post subject: error 516 - ORGANIZATION is not a recognised keyword in OPEN |
|
|
Below is a section of code from a much longer program, the functioning code for which I obtained from a PhD thesis.
DO 5 I=1,25,1
TAURR(I,1)=0.0
TAURR(I,2)=0.0
TAU00(I,1)=0.0
TAU00(I,2)=0.0
5 CONTINUE
OPEN (UNIT=1, FILE='CORRECT1.DAT',STATUS='OLD', ORGANIZATION='SEQUENTIAL') ! Line 90
WRITE(1,50)T,R(2)
The above code gives the following message, the only message resulting from attempting to compile the entire program:
Compiling file: CellGrowth_Fortran.f90
C:\Users\Leela\Desktop\CellGrowth_Fortran.F90(90) : error 516 - ORGANIZATION is not a recognised keyword in OPEN
C:\Users\Leela\Desktop\CellGrowth_Fortran.F90(90) : warning 868 - Opening unit 1 may affect the operation of input from the default unit '*' - are you sure you want to do this?
Compilation failed.
As far as I know, ORGANIZATION is a keyword for OPEN. The OPEN command is only used once in the whole program, near the beginning. No other units besides 1 and 6 (referring to the screen) appear in the program.
What could be the cause of this message, and how can I fix it?
Thank you. |
|