I have no experience in Fortran having written code in C# and Aurelia.
I was interested in a program that designs turbine blades and would have liked to use it to explore a design process however its supplied as a program ready to compile and run.
Here is the Dropbox with the program. (there are 3 such programs this being the first in a series)
Instructions on the use of this are a couple of folders up..
I have installed minGW-W64 added to the path and then attempted to run the program. Where I think I should get a bunch of questions etc It runs and stops with an error. So I was able to compile it but it fails trying to open a file.
At line 61 of file mengen.f (unit = 5)
Fortran runtime error: Cannot open file '/dev/tty': No such file or directory
Error termination. Backtrace:
Could not print backtrace: libbacktrace could not find executable to open
#0 0xffffffff
#1 0xffffffff
#2 0xffffffff
#3 0xffffffff
#4 0xffffffff
#5 0xffffffff
#6 0xffffffff
#7 0xffffffff
#8 0xffffffff
#9 0xffffffff
#10 0xffffffff
#11 0xffffffff
I looked at the code and its trying to open a file called /dev/tty
here is the line 60.
C
OPEN(UNIT=10, FILE= 'meangen.out')
OPEN(UNIT=5, FILE= '/dev/tty')
C
Anybody out there who might know how to fix this and get it to work?
User contributions licensed under CC BY-SA 3.0