Gfortran does not compile dynamo (and others)
Ignacio Fernández Galván
jellby@yahoo.com
Sun Feb 4 11:15:00 GMT 2007
--- Jerry DeLisle <jvdelisle@verizon.net> wrote:
> I am interested in whether or not this is a gfortran bug. Can you
> create a
> small test case from this with the filename set. You can send to me
> offlist if
> you like.
OK, I checked without the err= and it says:
Fortran runtime error: Error closing file in OPEN statement
Adding just a "close(in)" before the open statement works, so I guessed
it could be as simple as this:
program test
open(17,file='test.txt',status='unknown')
open(17,file='test.txt',status='old')
end program
and indeed, g77 works, gfortran (4.1.1 20060724) exits with the
message:
At line 4 of file test4.f
Fortran runtime error: Cannot change STATUS parameter in OPEN
statement
However, gfortran (4.3.0 20070130) works OK, although it still gives
the error with the complete Gaussian98 source (creating a short test
would be quite hard for me, I'm afraid). Could it be some bug left
between both gfortran versions?
I'll keep trying to get more information.
Ignacio
___________________________________________________________
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk
More information about the Fortran
mailing list