<?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: Confirm multi-threaded compatibility in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870002#M8380</link>
    <description>&lt;BR /&gt;If your upper level threading doesn't use OpenMP, I can see the MKL threading having difficulty tracking the number of threads. If there were trouble caused by each .dll attempting to initialize OpenMP, you should get the warning about multiple initializations, which means you are in unsupported territory. I doubt that your scenario is well tested. If you know how many threads you want used by MKL, you should set that number in OMP_NUM_THREADS environment variable.&lt;BR /&gt;</description>
    <pubDate>Tue, 08 Jan 2008 14:21:48 GMT</pubDate>
    <dc:creator>TimP</dc:creator>
    <dc:date>2008-01-08T14:21:48Z</dc:date>
    <item>
      <title>Confirm multi-threaded compatibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870001#M8379</link>
      <description>Hi,
&lt;BR /&gt;
&lt;BR /&gt;We are building a custom MKL 10.0.012 DLL for IA32, to be called by our C# .NET 2005 application via PInvoke.  
&lt;BR /&gt;
&lt;BR /&gt;We are using the builder tool, with stdcall and a def file.
&lt;BR /&gt;
&lt;BR /&gt;Our application uses Windows Forms and is multi-threaded (we call VML functions from multiple threads).
&lt;BR /&gt;
&lt;BR /&gt;I found the documentation a bit confusing here; I got the impression that if the builder tool linked mkl_intel_thread.lib and libiomp5md.lib, then we would be able to use the resulting multi-threaded custom DLL with our .NET application.  Unfortunately, when we run the application on a multi-core machine, the software crashes without many diagnostics when the custom MKL DLL is invoked.
&lt;BR /&gt;
&lt;BR /&gt;We are able to build and run successfully by just linking mkl_sequential.lib - but I wanted to clarify whether we would be able to use the multi-threaded layer.
&lt;BR /&gt;
&lt;BR /&gt;Thanks and regards.</description>
      <pubDate>Tue, 08 Jan 2008 00:33:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870001#M8379</guid>
      <dc:creator>yevs19</dc:creator>
      <dc:date>2008-01-08T00:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Confirm multi-threaded compatibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870002#M8380</link>
      <description>&lt;BR /&gt;If your upper level threading doesn't use OpenMP, I can see the MKL threading having difficulty tracking the number of threads. If there were trouble caused by each .dll attempting to initialize OpenMP, you should get the warning about multiple initializations, which means you are in unsupported territory. I doubt that your scenario is well tested. If you know how many threads you want used by MKL, you should set that number in OMP_NUM_THREADS environment variable.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Jan 2008 14:21:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870002#M8380</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-01-08T14:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Confirm multi-threaded compatibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870003#M8381</link>
      <description>could you try to use libguide40.lib instead libiomp5md.lib?</description>
      <pubDate>Tue, 08 Jan 2008 14:34:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870003#M8381</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-01-08T14:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Confirm multi-threaded compatibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870004#M8382</link>
      <description>Setting OMP_NUM_THREADS to 1 allows the application to run without errors (albeit with the same performance characteristics as mkl_sequential?)
&lt;BR /&gt;
&lt;BR /&gt;Setting OMP_NUM_THREADS to 2+ causes the application to fail as before.</description>
      <pubDate>Mon, 21 Jan 2008 03:21:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870004#M8382</guid>
      <dc:creator>yevs19</dc:creator>
      <dc:date>2008-01-21T03:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Confirm multi-threaded compatibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870005#M8383</link>
      <description>Unfortunately, using libguide40 didn't seem to make any difference here.</description>
      <pubDate>Mon, 21 Jan 2008 03:21:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870005#M8383</guid>
      <dc:creator>yevs19</dc:creator>
      <dc:date>2008-01-21T03:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Confirm multi-threaded compatibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870006#M8384</link>
      <description>There was a DLL builder bug fixed in update 3 which is available now. I'm afraid I can't promise it will address your issue based on the info on this thread, but I mention it in case you're up for the experiment. &lt;BR /&gt;-Tod&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jun 2008 22:43:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870006#M8384</guid>
      <dc:creator>Todd_R_Intel</dc:creator>
      <dc:date>2008-06-18T22:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Confirm multi-threaded compatibility</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870007#M8385</link>
      <description>I tried again with Update 3 but still having access violations whenever I call anything from VML.  Can I find out specifically what memory issue the update addressed?</description>
      <pubDate>Mon, 30 Jun 2008 06:54:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Confirm-multi-threaded-compatibility/m-p/870007#M8385</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2008-06-30T06:54:46Z</dc:date>
    </item>
  </channel>
</rss>

