Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

64 bit fortran compilers

Status
Not open for further replies.

mcgrete

Programmer
Jan 31, 2009
1
Hi,
I have used Compaq Visual Fortran (6.5) for some time. Recently purchased a new PC (Vista 64bit Home Premium; maybe a mistake) with Intel Core2Quad Q6600 processor.

I am looking for a 64 bit fortran compiler (preferably free) that will run on my OS, and be compatable with code I have written in Compaq Visual Fortran.

I have not seemed to find one, or at least I can't verify when one that supports 64 bit Windows and my processor. I have used info at: Perhaps I simply misread info on this and similar sites.

I don't wish to spend $2k on Intel 9 or Intel 10 Fortran compiler, and it appears that my OS is not supported by Windows SDK either, which I understand to be required to use the Intel compiler.

I am open to installing Linux, and doing the same, but would like to avoid installing and maintaining another OS. I am open to installing Windows XP x64 or Windows 7 (x64 I assume).

Any help would be appreciated.
 
Hi mcgrete,

I have Vista 32 only, but I have heard that the Win32 programs should run on Win64 too. Have you tried this? Isn't true?

To use the free compilers you don't need Linux, you can install one of these alternatives or both:

1. Mingw with MSYS
At home I'm using Mingw with MSYS. With Mingw I have g77, gfortran and g95 installed. I don't know if Mingw runs on Win64. Google for it or simply try to install it from the above home page.

2. Cygwin
At my work on Win XP I have Cygwin installed, which is an complete Unix-like environment for Windows including GNU compiler collection. On the home page they say that it's running on Win64 too. The difference to Mingw/Msys is that the compilers do not create exe as with Mingw - you can run your compiled programs only inside cygwin enwironment. On the other side is Cygwin more complete Unix-like environment than MSYS.




 
If you install a development version of Linux, under development tools you should get gfortran. It is not normally ticked by default. That is a 64 bit version since it is based on gcc which has to be 64bit to run on a 64bit OS.

You could also try g95 - see - lots of 64 bit versions there. I prefer g95 to gfortran but that is a personal thing.

Windows versions: not sure. If gcc on XP64 generates 64 bit code, then gfortran will be 64 bit too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top