Fortran Fortran 77 & 90/95 on Windows XP

  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Fortran Windows
AI Thread Summary
Compiling and running Fortran 77 and 90/95 codes on Windows XP can be achieved using several tools. The Intel Visual Fortran Compiler Professional Edition is one option, but users may find it challenging without a command terminal. Alternatives include downloading Windows PowerShell for command-line access and using the g95-MinGW freeware Fortran compiler, which is user-friendly and capable of producing stand-alone executables without nag screens. The Silverfrost FTN95 compiler is another option, but it has limitations such as nag screens and dependency on additional files for executables. Users recommend combining Silverfrost for development and g95 for final compilation to streamline the process. For those new to programming, it's essential to understand that what is needed is a compiler or IDE rather than the programming language itself. Resources for downloading compilers and tutorials are available online, and users are encouraged to seek out comprehensive guides to aid in their learning.
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
Views
3K
Replies
2
Views
15K
Replies
3
Views
5K
Replies
8
Views
4K
Replies
4
Views
71K
Back
Top