New Reply

64 bit windows fortran compiler

 
Share Thread Thread Tools
Jan31-09, 07:34 PM   #1
 

64 bit windows fortran compiler


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.
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> 'Whodunnit' of Irish potato famine solved
>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change
>> Curiosity Mars rover drills second rock target
Jan31-09, 07:52 PM   #2
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Retired Staff Staff Emeritus
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.
 
Feb1-09, 12:40 AM   #3
 
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!
 
Sep26-11, 01:03 PM   #4
 

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
 
Sep26-11, 01:35 PM   #5

Math 2012
 
Recognitions:
Science Advisor Science Advisor
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.
 
New Reply
Thread Tools


Similar Threads for: 64 bit windows fortran compiler
Thread Forum Replies
Fortran 77 & 90/95 on Windows XP Programming & Comp Sci 13
LInux fortran to windows Programming & Comp Sci 3
Fortran compiler specific "kind" modifier. Programming & Comp Sci 0
C or FORTRAN compiler for Vista? Programming & Comp Sci 10
NEED HELP with fortran compiler ASAP Programming & Comp Sci 2