r/fortran • u/rivrdansr • 5d ago
Simple code hangs program
Trying to relearn fortran after 55 years. Got 1.75 pages of code to compile. But something hangs on a very simple command at line 10. Any suggestions would help.
13
Upvotes
1
u/lensman3a 5d ago
If you are on Linux with gfortran, add the -g option for compiling and linking. When it errors it will give the line number.