CFD Online URL
[Sponsors]
Home > Forums > Main CFD Forum

64 Bit AMD processor--Fortran code.

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 21, 2005, 10:35
Default 64 Bit AMD processor--Fortran code.
  #1
John.
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?
  Reply With Quote

Old   January 21, 2005, 12:46
Default Re: 64 Bit AMD processor--Fortran code.
  #2
ag
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.
  Reply With Quote

Old   January 21, 2005, 16:13
Default Re: 64 Bit AMD processor--Fortran code.
  #3
Tek Seang
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 ...
  Reply With Quote

Old   January 22, 2005, 05:57
Default Re: 64 Bit AMD processor--Fortran code.
  #4
senthamarai kannan
Guest
 
Posts: n/a
sir, plz send me the code for the sub requested
  Reply With Quote

Old   January 22, 2005, 06:07
Default Re: 64 Bit AMD processor--Fortran code.
  #5
Tek Seang
Guest
 
Posts: n/a
err ... I don't understand whatcha meant ...

Tek Seang
  Reply With Quote

Old   January 24, 2005, 05:30
Default Re: 64 Bit AMD processor--Fortran code.
  #6
Steve
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.
  Reply With Quote

Old   January 24, 2005, 21:20
Default Re: 64 Bit AMD processor--Fortran code.
  #7
Z. Zeng
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.
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 11:11
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 11:46
AMD 64 bit installation maka OpenFOAM Installation 7 January 11, 2009 11:42
Return Code 2 - CFX 11.0 AMD 64 Bayard Morales CFX 0 December 5, 2007 09:36
Design Integration with CFD? John C. Chien Main CFD Forum 19 May 17, 2001 16:56


All times are GMT -4. The time now is 04:50.