<?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 Yes, in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001117#M18573</link>
    <description>&lt;P&gt;Yes,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I've used Inspector (in Windows) for detecting data races. It shows me some MKL data races for example in two threads running this Fortran code:&lt;/P&gt;

&lt;P&gt;allocate(M_INV(A,A))&lt;/P&gt;

&lt;P&gt;! FILL M_INV&lt;BR /&gt;
	! &amp;nbsp;.....&lt;/P&gt;

&lt;P&gt;CALL DPOTRI( 'U', N, M_INV, A, INFO ) &amp;nbsp;&amp;lt;- Data race here&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could be this an installation problem?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jul 2014 10:24:19 GMT</pubDate>
    <dc:creator>aurora</dc:creator>
    <dc:date>2014-07-17T10:24:19Z</dc:date>
    <item>
      <title>MKL DGEMM thread safety</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001114#M18570</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;When I run my threaded application (several threads calling Fortran subroutines that use MKL lapack function DGEMM), Im getting the "DGEMM parameter number x had an illegal value" where X could be 8, 10 ...and also 0! Im sure that Im not using shared memory among the DGEMM &amp;nbsp;calls. Could be this a heap corruption? How can I figure out what is going on (only reproduced once in a thousand execution, for example)&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 10:58:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001114#M18570</guid>
      <dc:creator>aurora</dc:creator>
      <dc:date>2014-07-15T10:58:05Z</dc:date>
    </item>
    <item>
      <title>Sorry,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001115#M18571</link>
      <description>&lt;P&gt;Sorry,&lt;/P&gt;

&lt;P&gt;Tested in linux 64 bits, with Intel Fortrans 12.1 MKL and also the last MKL. Im compiling with mkl_intel_thread and using mkl_domain_set_num_threads(0, MKL_ALL)&lt;/P&gt;

&lt;P&gt;Why can`t I edit my own posts 10 minutes later?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 11:14:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001115#M18571</guid>
      <dc:creator>aurora</dc:creator>
      <dc:date>2014-07-15T11:14:00Z</dc:date>
    </item>
    <item>
      <title>Did you dynamically memory</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001116#M18572</link>
      <description>&lt;P&gt;Did you dynamically memory for the data passed to DGEMM?&lt;/P&gt;

&lt;P&gt;You can try to use "Intel Inspector" to uncover many memory related bugs. You can download a 30-day fully functional trial version if you haven't purchased the license: &lt;A href="https://software.intel.com/en-us/intel-inspector-xe" target="_blank"&gt;https://software.intel.com/en-us/intel-inspector-xe&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2014 17:00:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001116#M18572</guid>
      <dc:creator>Zhang_Z_Intel</dc:creator>
      <dc:date>2014-07-15T17:00:42Z</dc:date>
    </item>
    <item>
      <title>Yes,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001117#M18573</link>
      <description>&lt;P&gt;Yes,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I've used Inspector (in Windows) for detecting data races. It shows me some MKL data races for example in two threads running this Fortran code:&lt;/P&gt;

&lt;P&gt;allocate(M_INV(A,A))&lt;/P&gt;

&lt;P&gt;! FILL M_INV&lt;BR /&gt;
	! &amp;nbsp;.....&lt;/P&gt;

&lt;P&gt;CALL DPOTRI( 'U', N, M_INV, A, INFO ) &amp;nbsp;&amp;lt;- Data race here&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Could be this an installation problem?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 10:24:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001117#M18573</guid>
      <dc:creator>aurora</dc:creator>
      <dc:date>2014-07-17T10:24:19Z</dc:date>
    </item>
    <item>
      <title>You would need to assure that</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001118#M18574</link>
      <description>&lt;P&gt;You would need to assure that each instance of the MKL call has its own threadprivate copy of the procedure arguments which differ among threads or may be modified within MKL.&amp;nbsp;&amp;nbsp; Otherwise, you would need to put a critical or single around the suspect MKL call.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jul 2014 13:23:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001118#M18574</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-07-17T13:23:25Z</dc:date>
    </item>
    <item>
      <title>Yes, I know, in the case of</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001119#M18575</link>
      <description>&lt;P&gt;Yes, I know, in the case of DPOTRI, the arguments are characters, integers, numbers, and one &amp;nbsp;double array that Im allocating just before the call, so I think that there is not shared memory here.&lt;/P&gt;

&lt;P&gt;If then I do deallocate of M_INV and another thread does allocate(M_INV), could be the runtime giving the same memory position for the allocate so the Inspector is detecting a data race?&lt;/P&gt;

&lt;P&gt;Why is the runtime telling me that the parameter 0 is an illegal argument?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jul 2014 08:14:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001119#M18575</guid>
      <dc:creator>aurora</dc:creator>
      <dc:date>2014-07-21T08:14:00Z</dc:date>
    </item>
    <item>
      <title>I've tried inserting all</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001120#M18576</link>
      <description>&lt;P&gt;I've tried inserting all DGEMM calls (there are many more LAPACK calls like &lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;DPOTRI&lt;/SPAN&gt;) inside criticals, and now there is no error.&lt;/P&gt;

&lt;P&gt;I'm using mkl_intel_thread version. Why this is only happening with DGEMM? Inspector doesnt tell me anything about DGEMM calls..&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 11:18:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-DGEMM-thread-safety/m-p/1001120#M18576</guid>
      <dc:creator>aurora</dc:creator>
      <dc:date>2014-07-25T11:18:50Z</dc:date>
    </item>
  </channel>
</rss>

