Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
6743 Discussions

Difference of calculcation result between i7 and xeon cpu

DongHee_Bae
Beginner
273 Views

Hi.

I make the numerical calculation program and run two computers. (One is used i7 cpu, others Xeon cpu.)

The numerical result is slightly different. (input data is same).

My program is very sensitive to numerical difference, so i confused which one is correct.

Why the differece is occured?

 

the program is complied same computer under environment

Complier : MS VS2010 C++ Complier

MKL library Version : 11.1.4.237

Linked library : mkl_core.lib, mkl_intel_lp64.lib, mkl_intel_thread.lib, libiomp5md.lib

 

the program mainly used "DGEMM", "PARDISO" functions for solving linear equation directly(not iterative method).

And the number of thread set 1.

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
273 Views

yes, this is expected behavior with floating point computations. since  version 11.1, MKL addresses such issues. Please refer to the documentation about CNR - https://software.intel.com/en-us/node/528577 

 

Reply