What do I need to create FORTRAN programs?

  • Context: Fortran 
  • Thread starter Thread starter rhimmelblau
  • Start date Start date
  • Tags Tags
    Fortran Programs
Click For Summary
SUMMARY

Aerospace engineering students learning FORTRAN can utilize the G95 FORTRAN compiler, which is available for free. To create and debug FORTRAN programs, users can install Cygwin to access a UNIX-like environment, which includes the gdb debugger. Recommended text editors for coding include Notepad++ (free) and UltraEdit (low cost). For those preferring a graphical interface, Simply Fortran is available for $25.

PREREQUISITES
  • Familiarity with FORTRAN programming language
  • Basic understanding of command-line operations in Windows
  • Knowledge of Cygwin installation and usage
  • Experience with text editors like Notepad++ or IDEs like Simply Fortran
NEXT STEPS
  • Install Cygwin and explore its FORTRAN IDE options
  • Learn to use gdb for debugging FORTRAN programs
  • Research the features of Simply Fortran for GUI-based development
  • Practice command-line compilation and execution of FORTRAN programs using G95
USEFUL FOR

Aerospace engineering students, software developers learning FORTRAN, and anyone seeking to develop and debug FORTRAN applications on Windows platforms.

rhimmelblau
Messages
7
Reaction score
0
So I am an Aerospace engineering student and we are learning FORTRAN right now (you can all thank Boeing for that). I had gotten used to writing in Visual studio with the nice visual debugger and compiler. Unfortunately I can't seem to find a student version of the FORTRAN debugger for VS, so I am wondering where can I find a preferably free or low cost FORTRAN compiler and debugger that I can create my codes in on my personal computer. I have the G95 FORTRAN compiler that a friend gave me, but nothing to write the codes into feed it.

Any help would be appreciated,
Thanks
 
Last edited:
Technology news on Phys.org
Hi rhimmelblau -

Editors: Purely Windows: Notepad++ or UltraEdit, one free, the other cheap.

Install cygwin on your PC. FORTRAN is free as part of the gcc suite, as is gdb (debugger).
This creates a Linux environment (UNIX) , which you will have to deal with later on anyway, assuming you continue your current career path. There are various IDE's for cygwin for FORTRAN, so if you care to learn one them, you do not need an editor like Notepad++. This assumes you install one of the windows-like desktops, for example, Gnome.

http://www.cygwin.com/
 
If you already have g95, all you need now is a nice syntax highlighting editor, like Notepad++, as mentioned before.

I don't think you need cygwin for g95; but it is a nice unix-like environment...then again, you can also download all those command-line utilities for windows...but I think this might already too much for you...it sounds like, presently, you are just a very Windows-oriented kind of guy...nevertheless, for working with fortran program, I recommend you reconnect with your DOS terminal...that's where you will do something like:
c:\>g95 -o myprogram myprogram.f90
c:\>myprogram < inputfile > outputfile
c:\> etc, etc, etc

Also, for $25 buck, you may instead get a copy of Simply Fortran...if you prefer GUI's and IDEs.
 

Similar threads

  • · Replies 37 ·
2
Replies
37
Views
5K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K