Open syntax error
Paul Campbell
pwc@u.washington.edu
Thu Jun 5 22:31:00 GMT 2008
Thanks.
I had read that page but it was not clear
that I could delete the statment.
It compiled. I still have problems with other
files but I spent hours trying to find a fix.
You replied in 13 minutes.
again, many thanks
FX wrote:
>> $ make
>> f77 -g -C -c -o dirt.o dirt.f
>> In file dirt.f:44
>>
>> open(*,form='print')
>> 1
>> Error: Syntax error in OPEN statement at (1)
>> make: *** [dirt.o] Error 1
>>
>> I understand that g77 does not support FORM='PRINT' and I have looked
>> at asa. I expect that I could use asa after the program runs.
>> But how do I modify this statement to compile. I tried form='formatted'.
>
> If I understand correctly what it says in the g77 doc
> (http://www.delorie.com/gnu/docs/gcc/g77_604.html), you should simply
> remove or comment out that statement.
>
> FX
>
> --François-Xavier Coudert
> http://www.homepages.ucl.ac.uk/~uccafco/
>
More information about the Fortran
mailing list