Register to reply

64 bit windows fortran compiler

by mcgrete
Tags: compiler, fortran, windows
Share this thread:
mcgrete
#1
Jan31-09, 07:34 PM
P: 2
Hi,
I have used Compaq Visual Fortran 6.5 for years. Recently bought a new PC with Intel Core2 Quad Q6600 processor and Windows Vista 64 bit Home Premium OS (yes, likely a mistake on the OS).

I wish to use Code I wrote in the past and take advantage of 64bit processor, memory, etc.

I have been unable to find a free (or inexpensive) 64 bit fortran compiler for Windows. Perhaps I have misunderstood what info I have found on the web. I considered shelling out the $2k for Intel's latest version, which is supposed to be compatible with Compaq Visual Fortran, but it appears to require Windows' SDK, which I read to not be supported by Windows Vista Home (go figure).

Before I break down and buy another hard drive and install Linux (which I wish to avoid the effort and the maintenance on another OS), does anyone have knowledge to help?

If not with the Windows, with the selection of Linux OS versions (there are so many) and a compatible Fortran compiler for Linux and Compaq Visual Fortran code (I have all the source code still, obviously).

I appreciate it.
Phys.Org News Partner Science news on Phys.org
Experts defend operational earthquake forecasting, counter critiques
EU urged to convert TV frequencies to mobile broadband
Sierra Nevada freshwater runoff could drop 26 percent by 2100
Hurkyl
#2
Jan31-09, 07:52 PM
Emeritus
Sci Advisor
PF Gold
Hurkyl's Avatar
P: 16,091
The GNU compiler collection includes a Fortran 77 compiler (g77), and GNU appears to be developing a compiler for the more recent standard (gfortran). If you cannot find a direct port of one of these compilers to windows, then I expect you could use Cygwin to provide an environment in which they can run.
mcgrete
#3
Feb1-09, 12:40 AM
P: 2
Quote Quote by Hurkyl View Post
The GNU compiler collection includes a Fortran 77 compiler (g77), and GNU appears to be developing a compiler for the more recent standard (gfortran). If you cannot find a direct port of one of these compilers to windows, then I expect you could use Cygwin to provide an environment in which they can run.
Hurkyl,
Thanks. I have tried this, and it appears that all versions are actually true 32bit, but will run on 32 or 64 bit OS. Is that correct, or am I missing something? For instance, I downloaded "mingw-w64-bin_x86_64-mingw_20090110.zip" and extracted. Many of the files appear to indicate that they are actually 32bit, e.g. x86_64-pc-mingw32-gfortran.exe.

Again, I am looking to take advantage of my 64bit processor and OS. Am I ignorant about this?

How would I try and verify/check that the compiler is actually true 64 bit vs. 32 bit that will run on a 64 bit system?

Thanks!

PhysixForum
#4
Sep26-11, 01:03 PM
P: 3
64 bit windows fortran compiler

Please see http://www.physicsforums.com/showthr...99#post3523499 for information on Simply Fortran - a truly excellent 32 bit program that is proving extremely reliable on a 64-bit Win 7 laptop.
---
John Wasilewski
AlephZero
#5
Sep26-11, 01:35 PM
Engineering
Sci Advisor
HW Helper
Thanks
P: 7,178
Quote Quote by mcgrete View Post
Hurkyl,
Thanks. I have tried this, and it appears that all versions are actually true 32bit, but will run on 32 or 64 bit OS. Is that correct, or am I missing something? For instance, I downloaded "mingw-w64-bin_x86_64-mingw_20090110.zip" and extracted. Many of the files appear to indicate that they are actually 32bit, e.g. x86_64-pc-mingw32-gfortran.exe.

Again, I am looking to take advantage of my 64bit processor and OS. Am I ignorant about this?

How would I try and verify/check that the compiler is actually true 64 bit vs. 32 bit that will run on a 64 bit system?

Thanks!
It doesn't matter if the compiler is only a 32 but application. Compilation is not a hugely demanding task, and much of it is "8-bit" character manipulation anyway.

What matters is that the compiler can generate 64-bit output code. Professional-quality compiler systems (like GNU) can usually generate code for a whole range of different target machines - even for completely different CPU chips from the CPU that the compiler is running on. (That is called "cross-compilation").

The documentation will tell you what options to use on the command line to generate code for different machine architectures.


Register to reply

Related Discussions
Fortran 77 & 90/95 on Windows XP Programming & Computer Science 13
LInux fortran to windows Programming & Computer Science 3
Fortran compiler specific kind modifier. Programming & Computer Science 0
C or FORTRAN compiler for Vista? Programming & Computer Science 10
NEED HELP with fortran compiler ASAP Programming & Computer Science 2