Fortran
Demas Ami
demmi@surfree.com
Wed Apr 19 19:04:00 GMT 2000
Dear Sir/Madam,
I'm new to linux. I tried to compile my fortran program using G77 and it
works. But when I run
the program, after I type the input file and the designated output file,
the program got aborted.
I already put the input file in the same directory as the program. My
program work in windows
using MS compiler.
I use the following sintax for open file:
open(unit=5, file='inputfile', status='new')
open(unit=6, file='output', status='unknown')
read(5,*)n ...........(something like this)
write(6,*) hf ........(something like this)
Is it impossible to write program in linux(g77) using the input file
and writing the output into fiel
Thank you for your kind attention and cooperation.
Best regards,
Suwito
More information about the Gcc
mailing list