Fortran 64 bit windows fortran compiler

AI Thread Summary
The discussion centers on the challenges of finding a suitable 64-bit Fortran compiler for Windows, particularly after transitioning to a new PC with a 64-bit processor and Windows Vista. The user has explored options like Intel's compiler but is deterred by compatibility issues and high costs. Suggestions include using the GNU Compiler Collection, specifically gfortran, which can generate 64-bit output, although some confusion exists about the actual bitness of the downloaded compilers. It's clarified that even if a compiler runs as a 32-bit application, it can still produce 64-bit code, depending on the options used. The conversation emphasizes the importance of verifying compiler capabilities through documentation and command-line options.
mcgrete
Messages
2
Reaction score
0
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.
 
Technology news on Phys.org
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 said:
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!
 
mcgrete said:
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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...

Similar threads

Replies
4
Views
5K
Replies
13
Views
4K
Replies
33
Views
216K
Replies
2
Views
4K
Replies
16
Views
2K
Replies
6
Views
2K
Back
Top