Hello everyone,
I am trying to compile a code under fedora14.Kernel Linux 2.6.35.6-45fc14.i686-GNOME 2.32.0. I use f77,g77 and gfortran to compile but I get the same error all ways.
Unsupported OPEN control item at (^) -- ACTION=, ASSOCIATEVARIABLE=, BLOCKSIZE=, BUFFERCOUNT=, CARRIAGECONTROL=, DEFAULTFILE=, DELIM=, DISPOSE=, EXTENDSIZE=, INITIALSIZE=, KEY=, MAXREC=, NOSPANBLOCKS, ORGANIZATION=, PAD=, POSITION=, READONLY=, RECORDTYPE=, SHARED=, and USEROPEN= are not supported
simulps14.for:700:
open(unit=02,status='old',form='formatted',file='STNS',read only) ^
and open statements are like this:
open(unit=02,status='old',form='formatted',file='STNS',read only)
rewind (02)
call input2
close(02)
What could be the reason of this problem? I have checked and some pages say that the problem could be solved by changing the code. In my case, since the code is nearly 10000 lines long, it is impossible for me to change it and I have a little knowledge about Fortran.
What should I do to compile the code? Should I try unix or sun??? Is that be the reason?
Thank you everyone!!