|
[Sponsors] |
January 21, 2005, 09:35 |
64 Bit AMD processor--Fortran code.
|
#1 |
Guest
Posts: n/a
|
Hi,
I recently purchased a 64 Bit AMD processor. All of my code (Fortran 77 and 90) has previously run on Unix and a windows machine. Is there anything I need to know about running on a 64 bit machine that is different to a 32 Bit machine? Do I need a different compiler? |
|
January 21, 2005, 11:46 |
Re: 64 Bit AMD processor--Fortran code.
|
#2 |
Guest
Posts: n/a
|
If you have a compiled version of your code that runs under 32-bit x86, then it should be directly executable on the AMD chip, since the AMD chip is just a 64-bit x86 architecture. But in order to take advantage of the full 64 bits, you will need a compiler that ahs the capability to directly compile for the 64-bit x86 architecture.
|
|
January 21, 2005, 15:13 |
Re: 64 Bit AMD processor--Fortran code.
|
#3 |
Guest
Posts: n/a
|
nothing much i suppose ... the AMD processor is compatible with 32 bit as well, meaning, it will run your 32 bit binaries ... your 32 bit compiler will work but it won't produce 64 bit codes for you ... so you will need a new compiler to produce your 64 bit applications ... and make sure you link with the right libraries ... linking your 64 bit binary with 32 bit library will give you compilation error ...
|
|
January 22, 2005, 04:57 |
Re: 64 Bit AMD processor--Fortran code.
|
#4 |
Guest
Posts: n/a
|
sir, plz send me the code for the sub requested
|
|
January 22, 2005, 05:07 |
Re: 64 Bit AMD processor--Fortran code.
|
#5 |
Guest
Posts: n/a
|
err ... I don't understand whatcha meant ...
Tek Seang |
|
January 24, 2005, 04:30 |
Re: 64 Bit AMD processor--Fortran code.
|
#6 |
Guest
Posts: n/a
|
As others have said, the 64-bit AMD processor can run 32-bit code with no penalty, but to make use of the extended addressing and additional instructions, you'll need a compiler capable of 64-bit compilation, e.g. Absoft Pro Fortran (version 8.5 or higher).
Personally I've not found any perfomance benefits of 64-bit executables over 32-bit executables. In fact they're slower in my application. Others in my group have reported c. 30% speedup for their (3D CFD) application. |
|
January 24, 2005, 20:20 |
Re: 64 Bit AMD processor--Fortran code.
|
#7 |
Guest
Posts: n/a
|
For AMD64, you can choose PGI, PathScale, Absoft Fortran compiler, and of course, you can also use free GNU g77 compiler. Here, I suggest PGI and PathScale compilers.
Even for completely same hardwares, the performance depends on OS, compiler, compiling option, your source code etc., therefore, we may have a different conclusion for the performance in 64 bit system and 32 bit system. I have got a better performance with 64 bit OS+Compiler rather than 32 bit OS+compiler in many of my tests, and there is also test case, which has almost same performance under 32 and 64 bit system. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Small 3-D code | Zdravko Stojanovic | Main CFD Forum | 2 | July 19, 2010 10:11 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 10:46 |
AMD 64 bit installation | maka | OpenFOAM Installation | 7 | January 11, 2009 10:42 |
Return Code 2 - CFX 11.0 AMD 64 | Bayard Morales | CFX | 0 | December 5, 2007 08:36 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 15:56 |