Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Different Eigenvalues on Different Machines

Samuel_M_1
New Contributor I
487 Views

Hello, 

I am computing eigenvalues on different machines. With the exact same binary and the same shared libraries, I obtain different eigenvalues for near zero entries when I run on different machines. Is this expected behavior?

On a 64 core node:

   -2.7756e-17
   4.2301e-46
   3.4694e-18
   1.7984e-02
   9.4446e-01

On a 32 core node:

   1.8526e-47
   3.4694e-18
   2.7756e-17
   1.7984e-02
   9.4446e-01

I suspect that MKL is auto-threading with different numbers of cores and this is causing the floating point operations to execute in different orders, but would like to make sure. 

0 Kudos
1 Solution
Gennady_F_Intel
Moderator
487 Views

yes, You are right. this is the expected behavior. to eliminate the problem you can try to apply CNR mode.

View solution in original post

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
488 Views

yes, You are right. this is the expected behavior. to eliminate the problem you can try to apply CNR mode.

0 Kudos
Reply