Fortran What do I need to create FORTRAN programs?

  • Thread starter Thread starter rhimmelblau
  • Start date Start date
  • Tags Tags
    Fortran Programs
AI Thread Summary
Aerospace engineering students learning FORTRAN are seeking affordable or free compilers and debuggers for personal use. The G95 FORTRAN compiler is mentioned, but users need a suitable editor to write code. Recommendations include Notepad++ and UltraEdit for text editing. Installing Cygwin is suggested to create a UNIX-like environment, which includes FORTRAN as part of the gcc suite and the gdb debugger. While Cygwin is beneficial, it may not be necessary for using G95. For those preferring a graphical interface, Simply Fortran is available for around $25. Users are encouraged to familiarize themselves with command-line operations for compiling and running FORTRAN programs.
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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
8
Views
4K
Replies
4
Views
2K
Replies
5
Views
2K
Replies
16
Views
3K
Replies
9
Views
4K
Replies
16
Views
2K
Replies
3
Views
3K
Replies
8
Views
2K
Back
Top