<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MKL results reproducibility in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286620#M31428</link>
    <description>&lt;P&gt;I was reminded of this yesterday in the supermarket, you know the 1880s version of Amazon for us old timers, when a young lady had the T Shirt that said&amp;nbsp;&lt;/P&gt;
&lt;P&gt;f(x) = |x|&amp;nbsp; &amp;nbsp;get rid of the negativity, I wanted to say sometimes a very small negative zero is actually positive statistically.&amp;nbsp; But I knew she was a math major and probably believes in the sanctity of numbers.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 19:50:37 GMT</pubDate>
    <dc:creator>JohnNichols</dc:creator>
    <dc:date>2021-06-02T19:50:37Z</dc:date>
    <item>
      <title>MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286116#M31414</link>
      <description>&lt;DIV class="gmail_default"&gt;We are facing an unexpected behavior by using the MKL library. Our application makes use of the MKL to solve a sparse linear system with the Conjugate Gradient method (see attached file, which is basically a simple variant of one of the sample codes).&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="gmail_default"&gt;By changing the total number of MKL threads we obtain slightly different results over different systems and on the same CPU as well. Both CPUs are Intel Xeon and both of them support the AVX2 instruction set (see below).&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="gmail_default"&gt;In particular, if we use just one thread the application produces the same identical result on both the CPUs, whereas if we increase the number of threads up to 8 the results slightly change. To fix the number of threads we use the environment variable MKL_NUM_THREADS.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="gmail_default"&gt;To force the CPUs to use the same vec instructions we set the MKL_CBWR variable equal to "AVX2".&lt;SPAN class="im"&gt;&lt;BR /&gt;We observed the same unexpected behavior by changing the number of threads on the same CPU.&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;The MKL library version is&amp;nbsp;2019.0.117 whereas the compiler version is gcc 4.8.5. The&amp;nbsp;binary program is statically linked.&lt;/DIV&gt;
&lt;DIV class="gmail_default"&gt;Is there any other env variable o "trick" we can play to get the same results on the two systems?&lt;/DIV&gt;</description>
      <pubDate>Tue, 01 Jun 2021 10:52:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286116#M31414</guid>
      <dc:creator>Mariuccio</dc:creator>
      <dc:date>2021-06-01T10:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286619#M31427</link>
      <description>&lt;P&gt;&lt;SPAN&gt;we obtain slightly different results over different systems and on the same CPU as well&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;question I would ask as someone who does a lot of stats and numbers change even the same number in computers, what is the difference and more importantly is it statistically important.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is akin to say 0 is zero, it really is not, unless it is an int.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 19:48:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286619#M31427</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-06-02T19:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286620#M31428</link>
      <description>&lt;P&gt;I was reminded of this yesterday in the supermarket, you know the 1880s version of Amazon for us old timers, when a young lady had the T Shirt that said&amp;nbsp;&lt;/P&gt;
&lt;P&gt;f(x) = |x|&amp;nbsp; &amp;nbsp;get rid of the negativity, I wanted to say sometimes a very small negative zero is actually positive statistically.&amp;nbsp; But I knew she was a math major and probably believes in the sanctity of numbers.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 19:50:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286620#M31428</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2021-06-02T19:50:37Z</dc:date>
    </item>
    <item>
      <title>Re:MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286794#M31432</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you please provide details of build steps and prerequisite files for running the code?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2021 08:00:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286794#M31432</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-03T08:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286813#M31433</link>
      <description>&lt;P&gt;Dear John, thanks for your reply. You are a Valued Contributor and probably English is your first language and I greatly respect you.&lt;/P&gt;
&lt;P&gt;However, I have a hard time understanding your humor. My post probably is not in perfect English but it should be clear enough that&lt;/P&gt;
&lt;P&gt;we expect EXACTLY the same results (bit-to-bit identical) since:&lt;/P&gt;
&lt;P&gt;1)The executable file is the &lt;STRONG&gt;SAME&lt;/STRONG&gt; on the two systems (statically linked. ldd reports "not a dynamic executable").&lt;/P&gt;
&lt;P&gt;2)We are using the &lt;STRONG&gt;SAME&lt;/STRONG&gt; number of MKL threads on the two systems (8).&lt;/P&gt;
&lt;P&gt;3)We force the &lt;STRONG&gt;MKL_CBWR=AVX2&lt;/STRONG&gt;&amp;nbsp; env variable&amp;nbsp; and the avx2 is supported by the two CPU (both Xeon although different models)&lt;/P&gt;
&lt;P&gt;4)(not mentioned in the previous post), we double-checked that there are no uninitialized variables (using valgrind)&lt;/P&gt;
&lt;P&gt;5)Using ONE thread we obtain EXACTLY (bit-to-bit identical) results on the two systems.&lt;/P&gt;
&lt;P&gt;Now, since you are a Valued Contributor I, do you have an explanation of the fact that we obtain "different" (even if it were a single bit) results on the two systems. Do you have a suggestion to address the issue or do you have just another joke to suggest?&lt;/P&gt;
&lt;P&gt;Thanks again for your collaboration and best regards,&lt;/P&gt;
&lt;P&gt;Mariuccio&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 08:45:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286813#M31433</guid>
      <dc:creator>Mariuccio</dc:creator>
      <dc:date>2021-06-03T08:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286816#M31434</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;BR /&gt;&lt;BR /&gt;We could share with you the executable statically linked and the inputs needed by the application. The size of the data and application is roughly 120MB. Is it 0k for you?&lt;BR /&gt;&lt;BR /&gt;All the best,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mariuccio&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 08:57:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286816#M31434</guid>
      <dc:creator>Mariuccio</dc:creator>
      <dc:date>2021-06-03T08:57:41Z</dc:date>
    </item>
    <item>
      <title>Re:MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286839#M31436</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If possible try to share a minimal reproducer code. Otherwise, you can share it in .zip format.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Jun 2021 11:15:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286839#M31436</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-03T11:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286891#M31439</link>
      <description>&lt;P&gt;Dear Rajesh,&lt;/P&gt;
&lt;P&gt;I share with you the application and the data it needs to be executed. The application has been compiled for Linux OS. To run the application you just need to unzip the archive, open a terminal in the directory of the unzipped files and then:&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&amp;nbsp;set the MKL and OMP num threads to 1, instruction set to AVX2 and run application
&lt;UL&gt;
&lt;LI&gt;export MKL_NUM_THREADS=1&lt;/LI&gt;
&lt;LI&gt;export OMP_NUM_THREADS=1&lt;/LI&gt;
&lt;LI&gt;export MKL_CBWR=AVX2&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;./myapp -aff transform.mat -ref ref_image.nii -in input.nii -config config.ini -cout img1.nii -intout intensities1 -iout iout1.nii&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;set the MKL and OMP num threads to 8, instruction set to AVX2 and run application
&lt;UL&gt;
&lt;LI&gt;export MKL_NUM_THREADS=8&lt;/LI&gt;
&lt;LI&gt;export OMP_NUM_THREADS=8&lt;/LI&gt;
&lt;LI&gt;export MKL_CBWR=AVX2&lt;/LI&gt;
&lt;LI&gt;myapp -aff transform.mat -ref ref_image.nii -in input.nii -config config.ini -cout img8.nii -intout intensities8 -iout iout8.nii&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;to see the differences you can compare intensities.txt file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you need more information, please let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;Mariuccio&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 14:35:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1286891#M31439</guid>
      <dc:creator>Mariuccio</dc:creator>
      <dc:date>2021-06-03T14:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1287188#M31449</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;Is there any other env variable o "trick" we can play to get the same results on the two systems?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may try setting MKL_DYNAMIC and OMP_DYNAMIC to FALSE and verify the results. In case you need &lt;SPAN&gt;bitwise reproducible results,&amp;nbsp;&lt;/SPAN&gt;try using the strict CNR Mode. Set the flag to MKL_CBWR = AVX2, STRICT. Please refer to the below documentation link for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Link:&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/support-functions/conditional-numerical-reproducibility-control/mkl-cbwr-set.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/support-functions/conditional-numerical-reproducibility-control/mkl-cbwr-set.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know if you face any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Rajesh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 05:48:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1287188#M31449</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-24T05:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1287290#M31452</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;
&lt;P&gt;thank you for your feedback and your help I really appreciated. I would like to ask you to share with us the files you obtained by running the application, since the 8 threads and 1 thread run gave you same results you can share with us:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;img8.nii&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;intensities8.nii.gz and intensities8.txt&lt;/LI&gt;
&lt;LI&gt;iout8.nii&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;Mariuccio&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 16:43:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1287290#M31452</guid>
      <dc:creator>Mariuccio</dc:creator>
      <dc:date>2021-06-04T16:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1287619#M31457</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below are the files when ran with Strict CNR mode. Let us know if you had any issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Rajesh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jun 2021 06:59:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1287619#M31457</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-07T06:59:14Z</dc:date>
    </item>
    <item>
      <title>Re:MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1289637#M31496</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Can you please update whether your issue has been resolved? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;And in strict CNR mode, Intel® oneAPI Math Kernel Library provides bitwise reproducible results for a limited set of functions and code branches even when the number of threads changes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For further reference please visit the link below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/support-functions/conditional-numerical-reproducibility-control/reproducibility-conditions.html" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-c/top/support-functions/conditional-numerical-reproducibility-control/reproducibility-conditions.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Jun 2021 13:19:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1289637#M31496</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-14T13:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re:MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1289652#M31497</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;
&lt;P&gt;unfortunately the proposed solution didn't work in our case. We obtain different results on different machines. I provide you the &lt;EM&gt;lscpu&lt;/EM&gt; results:&lt;/P&gt;
&lt;P&gt;First CPU:&lt;/P&gt;
&lt;P&gt;Architecture: x86_64&lt;BR /&gt;CPU op-mode(s): 32-bit, 64-bit&lt;BR /&gt;Byte Order: Little Endian&lt;BR /&gt;Address sizes: 39 bits physical, 48 bits virtual&lt;BR /&gt;CPU(s): 8&lt;BR /&gt;On-line CPU(s) list: 0-7&lt;BR /&gt;Thread(s) per core: 2&lt;BR /&gt;Core(s) per socket: 4&lt;BR /&gt;Socket(s): 1&lt;BR /&gt;NUMA node(s): 1&lt;BR /&gt;Vendor ID: GenuineIntel&lt;BR /&gt;CPU family: 6&lt;BR /&gt;Model: 94&lt;BR /&gt;Model name: Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz&lt;BR /&gt;Stepping: 3&lt;BR /&gt;CPU MHz: 1600.126&lt;BR /&gt;CPU max MHz: 3700.0000&lt;BR /&gt;CPU min MHz: 800.0000&lt;BR /&gt;BogoMIPS: 5616.00&lt;BR /&gt;Virtualization: VT-x&lt;BR /&gt;L1d cache: 32K&lt;BR /&gt;L1i cache: 32K&lt;BR /&gt;L2 cache: 256K&lt;BR /&gt;L3 cache: 8192K&lt;BR /&gt;NUMA node0 CPU(s): 0-7&lt;BR /&gt;Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d&lt;BR /&gt;e&lt;/P&gt;
&lt;P&gt;second CPU:&lt;/P&gt;
&lt;P&gt;Architecture: x86_64&lt;BR /&gt;CPU op-mode(s): 32-bit, 64-bit&lt;BR /&gt;Byte Order: Little Endian&lt;BR /&gt;CPU(s): 112&lt;BR /&gt;On-line CPU(s) list: 0-111&lt;BR /&gt;Thread(s) per core: 2&lt;BR /&gt;Core(s) per socket: 28&lt;BR /&gt;Socket(s): 2&lt;BR /&gt;NUMA node(s): 2&lt;BR /&gt;Vendor ID: GenuineIntel&lt;BR /&gt;CPU family: 6&lt;BR /&gt;Model: 85&lt;BR /&gt;Model name: Intel(R) Xeon(R) Gold 6238R CPU @ 2.20GHz&lt;BR /&gt;Stepping: 7&lt;BR /&gt;CPU MHz: 1015.942&lt;BR /&gt;CPU max MHz: 4000.0000&lt;BR /&gt;CPU min MHz: 1000.0000&lt;BR /&gt;BogoMIPS: 4400.00&lt;BR /&gt;Virtualization: VT-x&lt;BR /&gt;L1d cache: 32K&lt;BR /&gt;L1i cache: 32K&lt;BR /&gt;L2 cache: 1024K&lt;BR /&gt;L3 cache: 39424K&lt;BR /&gt;NUMA node0 CPU(s): 0-27,56-83&lt;BR /&gt;NUMA node1 CPU(s): 28-55,84-111&lt;BR /&gt;Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 invpcid_single intel_ppin intel_pt ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke avx512_vnni md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mariuccio&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 13:51:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1289652#M31497</guid>
      <dc:creator>Mariuccio</dc:creator>
      <dc:date>2021-06-14T13:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1293842#M31605</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As per the Conditional Numerical Reproducibility of MKL, to ensure Intel MKL calls return the same results on every Intel CPU supporting AVX2 instructions make sure that your application uses a fixed number of threads. Using&amp;nbsp; CBWR ( conditional reproducibility) provides bit_to_bit results when the number of OpenMP threads are the same from run to run. For this, set the environment variables to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;export MKL_NUM_THREADS=8&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;export OMP_NUM_THREADS=8&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;export MKL_DYNAMIC=FALSE&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;export OMP_DYNAMIC=FALSE&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;export MKL_ENABLE_INSTRUCTIONS=AVX2&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&lt;I&gt;export MKL_CBWR=AVX2&lt;/I&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know if you want any more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a file attached to this post with the results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Rajesh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 03:55:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1293842#M31605</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-29T03:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1293849#M31606</link>
      <description>&lt;P&gt;Hi Rajesh,&lt;/P&gt;
&lt;P&gt;we set the variable as you suggested but it doesn't work. We do not need more information, thank you for trying to help us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;Mariuccio&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jun 2021 08:24:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1293849#M31606</guid>
      <dc:creator>Mariuccio</dc:creator>
      <dc:date>2021-06-28T08:24:17Z</dc:date>
    </item>
    <item>
      <title>Re:MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1294186#M31614</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Since you don't need any additional assistance from Intel, we will no longer respond to this thread. Please start a new thread if you need any further information. Any further interaction in this thread will be considered community only.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Have a Good day.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jun 2021 05:11:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1294186#M31614</guid>
      <dc:creator>MRajesh_intel</dc:creator>
      <dc:date>2021-06-29T05:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: MKL results reproducibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1297720#M31735</link>
      <description>&lt;P&gt;Hi Mariuccio,&lt;/P&gt;
&lt;P&gt;I have been facing the same problem few days back. I took help from following articles. (&lt;A href="https://grungeclothingstore.com/" target="_self"&gt;see&lt;/A&gt; below)&lt;/P&gt;
&lt;P&gt;These are very useful.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl.html#gs.5ms0qx" target="_blank"&gt;https://software.intel.com/content/www/us/en/develop/tools/oneapi/components/onemkl.html#gs.5ms0qx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www2.cisl.ucar.edu/resources/software/math-kernel-library-mkl" target="_blank"&gt;https://www2.cisl.ucar.edu/resources/software/math-kernel-library-mkl&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I hope you these articles help you.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 06:28:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-results-reproducibility/m-p/1297720#M31735</guid>
      <dc:creator>Ronny123</dc:creator>
      <dc:date>2021-07-12T06:28:53Z</dc:date>
    </item>
  </channel>
</rss>

