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

Discussion Overview

The discussion revolves around compiling and running Fortran 77 and 90/95 codes on a Windows XP operating system. Participants share their experiences with different compilers and development environments, as well as their preferences for command-line versus graphical interfaces.

Discussion Character

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

Main Points Raised

  • One participant expresses confusion about using the Intel Visual Fortran Compiler and mentions the lack of a terminal for command input.
  • Another participant questions the necessity of a terminal for compiling and running programs, suggesting that it is not required for all languages.
  • A participant shares their preference for using a Mac and a terminal for compiling, indicating discomfort with point-and-click compilers.
  • One participant outlines a solution involving the installation of Windows PowerShell and the g95-MinGW freeware compiler, along with an editor.
  • Several participants mention using the Silverfrost FTN95 and Plato IDE, noting its ease of use but also its limitations, such as nag screens and issues with creating standalone executables.
  • A participant suggests using g77 from the GNU compiler collection, mentioning the potential need to run it from Cygwin.
  • Another participant seeks guidance on compiling Fortran 77 with the Silverfrost software, encountering path issues with FTN77.
  • A new participant inquires about downloading Fortran and tutorials, indicating they are starting a course in Fortran 77.
  • One participant clarifies that what is needed is a compiler or IDE, not the programming language itself.

Areas of Agreement / Disagreement

Participants express a range of preferences for different compilers and environments, with no clear consensus on the best approach. Some participants favor graphical interfaces while others prefer command-line tools. The discussion remains unresolved regarding the best tools and methods for compiling Fortran on Windows XP.

Contextual Notes

Participants mention various compilers and IDEs, but there are unresolved issues regarding compatibility, installation steps, and specific configurations needed for different setups.

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 4 ·
Replies
4
Views
15K
  • · Replies 3 ·
Replies
3
Views
5K
  • · 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