Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28633 Discussions

Question about AMD vs INTEL CPU using IFC

Brian_A_
Novice
432 Views
If we compile a program that generates mathematical results on an INTEL CPU and a end user runs it on a AMD CPU, could they get different results? Is the floating point calculations different?
We have a end user who is getting different results than us. THey are using RedHat Linux Enterprise 6.1 on a AMD Opteron CPU. We have tried openSuse, RedHat Linux Enterprise 6, and Windows 7 on a INTEL CPU, and all three get the same resluts but different than the end user.
0 Kudos
1 Reply
TimP
Honored Contributor III
432 Views
The imf-arch-consistency=true option, first implemented in ifort 12.0.4, is intended to produce more accurate results uniformly across various CPU models. It reduces performance of svml (vectorized math library).
-prec-div -prec-sqrt also avoid generation of code which gives slightly different results on AMD.
0 Kudos
Reply