Intel Fortran Compiler on AMD cpu

Intel Fortran Compiler on AMD cpu

Hello, I'd like to ask something

I'm going to buy a new computer with an AMD cpu but before I would like to know if fortran is complete compatible with it or if it run only with Intel cpu.

will be everything ok or there are some bugs, different comands to use or whatelse?

I'm aksing because I hope I will not have bad surprise when it's too late


3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

For running on AMD CPU, ifort requires use of a compatible -m option (or no architecture option).  The -x options won't work, and the -ax options will take the secondary code path (sse2 by default).

Latest AMD CPU versions should work with a variety of architecture options, including -mavx.  Any AMD CPU produced in recent years should work with -msse3 (or the default -msse2).

You may require -imf-arch-consistency=true in case the default automatic run-time selection of math library is unsatisfactory.  This option has been improved in recent ifort releases.

You can take out a 30-day trial license to see if it works for you.

What Tim says is correct, though the level of detail may have confused you. If you don't use any of the options for targeting specific processor kinds, then you'll have no problem.  If you use -xHost to say "optimize for the processor I'm compiling on", you'll have no problem. You can also use the -m options to target specific instruction sets without requiring an Intel CPU.

If you look at the performance comparisons at polyhedron,com you'll see that they got the best performance on AMD processors using the Intel compiler.

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today