What Is the Best Fortran 77 IDE for Beginners?

  • Context: Fortran 
  • Thread starter Thread starter chris_0101
  • Start date Start date
  • Tags Tags
    Fortran
Click For Summary

Discussion Overview

The discussion revolves around finding suitable Integrated Development Environments (IDEs) for beginners learning Fortran 77, particularly in the context of a university course on scientific programming. Participants share their experiences with various IDEs and seek recommendations or solutions to issues encountered while coding.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant expresses difficulty in finding a user-friendly IDE for Fortran 77, having tried several options including Eclipse, NetBeans, and Plato IDE, with limited success.
  • Another participant inquires if the first user tried the freeware "silverfrost ftn95 personal" with Plato, suggesting that it might work differently.
  • The original poster mentions encountering errors when running a simple "Hello world" program in Plato, despite copying the code correctly from the internet.
  • One participant notes they have not experienced spurious errors with the "silverfrost" ftn95, suggesting that code snippets from the internet may require additional context to run properly.
  • A suggestion is made to modify the print statement in the code to use single quotes instead of double quotes, indicating potential syntax issues.
  • Another participant shares their experience using vi for programming in Fortran 77 and expresses a desire for IDE recommendations.
  • One participant argues against the necessity of an IDE for small programs, advocating for the use of a command line compiler like gfortran and a simple text editor instead, citing the benefits of learning command line tools for future programming tasks.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best IDE for Fortran 77, with multiple competing views on the necessity and effectiveness of IDEs versus command line tools. The discussion remains unresolved regarding the best approach for beginners.

Contextual Notes

Some participants highlight potential issues with specific IDEs and coding practices, but there are no definitive solutions or corrections provided. The discussion reflects varying levels of experience and preferences among participants.

Who May Find This Useful

Beginners in Fortran 77 programming, students enrolled in scientific programming courses, and individuals interested in exploring IDE options versus command line tools for coding.

chris_0101
Messages
59
Reaction score
0
Hi everybody,

I am currently enrolled in a course in university based on scientific programming in fortran 77. The issue that I have is that I cannot find a decent IDE for fortran. I have tried multiple other IDE's such as eclipse, netbeans (both requiring additional add-ons) and other stand alone IDE's such as Plato IDE with no luck. The closest thing that I got to a working IDE is microsoft powerstation 4.0 but when I run a program the compiler force closes with an error 0x0. So I am asking if anyone can suggest a Fortran 77 IDE that is easy to use for begginers or if anyone can provide instructions (or a link to an instructions page) to get one of the IDE's I mentioned to work.

Thank you for your help

chris_0101
 
Technology news on Phys.org
You said you'd tried Plato. Was that with the freeware "silverfrost ftn95 personal"? Did it not work or did you just not like it?
 
Yes that's the one. The funny thing about the Plato IDE is that it works, its just whenever I type in a sample, such as the hello world program, it says that there is an error with my coding, even though I copied it straight from the net. Something is not working as far as I know.
 
I've never noticed any problem with spurious errors. The only issue with the freeware "silverfrost" ftn95 is that it has a small "nag-ware" delay of about 8 seconds.

If you test it again perhaps you could post the error messages here and someone might be about to straighten them out for you. Code examples that you find on the internet are often just snippets and they won't always run "stand alone" (without some other code or definitions).
 
The code that I used is shown below:

program hello
print *, "Hello world!"
end program hello

When the compiler of Plato runs the program a red line highlights the second line of code, so I am assuming there is an issue.
 
I am also using Fortran 77, for a computational physics course. We mainly create our programs using vi.

So yes, if anyone can suggest a good Fortran IDE, that would be helpful.
 
chris_0101 said:
The code that I used is shown below:

program hello
print *, "Hello world!"
end program hello

When the compiler of Plato runs the program a red line highlights the second line of code, so I am assuming there is an issue.
You're just clicking the wrong button. The green button starts program in the debugger, so it's sitting at the first code-line of the program waiting for you to run or step etc. Use the blue button if you just want to run the program in a normal manner from within the IDE. Alternatively you could run the exe file directly from a command prompt, or by double clicking the exe file.

See attachment.
 

Attachments

  • plato.jpg
    plato.jpg
    26.2 KB · Views: 542
Last edited:
chris_0101 said:
I am currently enrolled in a course in university based on scientific programming in fortran 77. The issue that I have is that I cannot find a decent IDE for fortran.

Why bother with an IDE at all? They're great for large programs, but for the small programs you'll be making in a single semester course, and even for the small to medium sized programs that make up most of scientific computing, I think the way to go is a command line compiler like gfortran and a simple text editor with syntax highlighting (and while vi and emacs are wonderful editors for those already experienced in using them, I wouldn't recommend them just for a course due to the learning curve).

Learning to compile and link in the terminal (or to create a basic makefile) and to use a command line debugger like GDB is fairly simple (not much harder than learning how to use the same features of an IDE), and they are something you'll probably use after you've completed the class if you ever have to write programs again, in any language, whereas you'll probably never use that particular Fortran-specific IDE again.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 10 ·
Replies
10
Views
19K
  • · Replies 7 ·
Replies
7
Views
9K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 8 ·
Replies
8
Views
6K