Fortran 77 & 90/95 on Windows XP

  • Context: Fortran 
  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Fortran Windows
Click For Summary
SUMMARY

This discussion focuses on compiling and running Fortran 77 and Fortran 90/95 codes on Windows XP. Users recommend the Intel Visual Fortran Compiler Professional Edition for Windows, but also suggest alternatives like the freeware g95-MinGW compiler for a more accessible option. The Silverfrost FTN95 and Plato IDE are mentioned as user-friendly environments, although they have limitations such as nag screens and dependency on additional files for executables. For effective use, participants emphasize the importance of installing Windows PowerShell 1.0 as a console for command execution.

PREREQUISITES
  • Understanding of Fortran programming languages (Fortran 77, Fortran 90/95)
  • Familiarity with Windows XP operating system
  • Basic knowledge of using compilers and IDEs
  • Installation of Windows PowerShell 1.0
NEXT STEPS
  • Research the installation and usage of g95-MinGW as a Fortran compiler
  • Explore the features and limitations of Silverfrost FTN95 and Plato IDE
  • Learn how to set up and use Windows PowerShell for compiling code
  • Investigate the GNU Compiler Collection (GCC) for additional Fortran support
USEFUL FOR

This discussion is beneficial for beginner and intermediate programmers, educators, and students learning Fortran, particularly those using Windows XP and seeking effective tools for compiling and running Fortran code.

natski
Messages
262
Reaction score
2
Hi all,

I'm sure this question has been asked before but I couldn't find it. However, I will ask it nevertheless...

How does one compile AND run fortran 77 & 90/95 codes on a Windows XP O/S? The fact I am asking this means I am not a computer-whizz so please take this into account when replying! :-S

I have installed Intel(R) Visual Fortran Compiler Professional Edition for Windows but I don't really see what this gives me since I still lack a terminal where I can start typing in commands... Also it's only on a 90-day evaluation, surely there is a freeware version out there?

Natski
 
Technology news on Phys.org
Well I usually use a Mac, so typically I use an X11 terminal and compile and run programs within there. I don't really like the idea of a point-and-click compiler somehow...
 
Matter of preferences then :smile:
 
natski said:
I have installed Intel(R) Visual Fortran Compiler Professional Edition for Windows

Didn't it come with documentation on how to use it?
 
Ok, I think I have found the solution to my problem and will post it here for those who are similarly clueless with computers.

1) Download & Install Windows PowerShell 1.0 from Microsoft Download Center, which is your console for compiling and running code.

2) Download g95-MinGW from the g95 homepage (just Google g95), which is a freeware Fortran compiler for Windows. You have to use the readme.txt file to change a couple of system features after installing.

3) Download & install an editor, I got Crimson Editor.

Natski
 
I have the silverfrost FTN95 program on my Xp and that works fine. (Is similarly clueless about computers) I think that was just one download.
 
Yes! I am also clueless and have the Silverfrost Plato IDE program which I downloaded for free (but forget where).

Works great

EDIT: Sorry, forgot to mention I am using XP
 
Guys I had a similar question a few weeks ago because I wanted to brush up on Fortran so I could help my nephew who's taking a Uni course that requires it.

I also first downloaded the silverfrost/plato compiler/development environment. It's nice and easy to use but it's got the annoying nag screen and also it doesn't make stand-alone executible files. (the .exe files you make won't run on another computer unless you also copy the salflib.dll file as well). Someone recommended the freeware g95 compiler (for windows) so I downloaded that and it works great, no nag screen and it makes stand-alone executable files.

So I recommend getting both the silverfrost and g95 compilers. You get the nice development and debugging environment of silverfrost, then when you're finished debugging just compile with g95 to make a nagless exe.
 
  • #10
uart said:
Guys I had a similar question a few weeks ago because I wanted to brush up on Fortran so I could help my nephew who's taking a Uni course that requires it.

I also first downloaded the silverfrost/plato compiler/development environment.

Do you know how to compile Fortran77 with this software? I keep getting the error that I need FTN77 on my path, but I don't even see FTN77 in the program folder, there's only ftn95 and ftn90, I think, so I don't know what to put on the path.

Thanks.
 
  • #12
I will be starting Fortran 77 as a new course.
I need the website to download the programming language itself (can i install it on windows 7 OS?)
I also need a website to download the tutorial
This is to keep me ahead of my training on this programm
 
  • #13
There is no such thing as a "programming language to download". What you are looking for is a compiler and/or IDE (Integrated Debugging Environment) or at least some debugger.
 
  • #14
@Borek
Thanks for that information, I'm new to programming
Pls give me the full list of what i need to start learning programming with Fortran 77.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 2 ·
Replies
2
Views
15K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 4 ·
Replies
4
Views
15K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
71K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K