<?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: LAPACK using multiple cores with sequential library in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859840#M7393</link>
    <description>&lt;P&gt;David,&lt;/P&gt;
&lt;P&gt;could you say which VML functions are you using in your application?&lt;/P&gt;
&lt;P&gt;Information about used MKL version will be appreciable also.&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jul 2008 13:55:08 GMT</pubDate>
    <dc:creator>Andrey_G_Intel2</dc:creator>
    <dc:date>2008-07-14T13:55:08Z</dc:date>
    <item>
      <title>LAPACK using multiple cores with sequential library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859836#M7389</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am linking the following libraries with MKL10 on windows:&lt;BR /&gt;&lt;BR /&gt;mkl_sequential_dll&lt;BR /&gt;mkl_intel_c_dll&lt;BR /&gt;mkl_core_dll&lt;BR /&gt;&lt;BR /&gt;and noticed that LAPACK DGELSS is using multiple cores (all 8 of them). My application has only 2 threads.&lt;BR /&gt;&lt;BR /&gt;MKL does respond to setting the environment variable MKL_NUM_THREADS=1, but ignores a runtime call to mkl_set_num_threads(1). Id rather call the API function that mess around with environment vars.&lt;BR /&gt;&lt;BR /&gt;I'm using Windows threads, but I don't wan't MKL to thread itself. I thought that was the whole point of the sequential threading layer?&lt;BR /&gt;&lt;BR /&gt;Can anyone help?&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;David.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 15:10:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859836#M7389</guid>
      <dc:creator>David_W_5</dc:creator>
      <dc:date>2008-07-10T15:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: LAPACK using multiple cores with sequential library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859837#M7390</link>
      <description>It appears the mkl_thread library has been linked, and the sequential library is not used. Could you submit your case (object files and link command) on your premier.intel.com account?&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 16:09:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859837#M7390</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2008-07-10T16:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: LAPACK using multiple cores with sequential library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859838#M7391</link>
      <description>Rather tricky at this stage since the error is in a very large codebase and it's proving difficult to isolate the case. It seems to depend on the matrix sizes, which is unsurprising. I'm working on it.&lt;BR /&gt;&lt;BR /&gt;In the debugger I'm looking at the loaded libraries and I'm indeed seeing mkl_thread.dll being loaded which surprised me.&lt;BR /&gt;&lt;BR /&gt;In dependency walker I'm only seeing implicit dependencies to mkl_sequential however. I see my call to MKL_Set_Num_Threads as well as calls to mkl_blass_dgemm.&lt;BR /&gt;&lt;BR /&gt;It would seem that my LAPACK calls are being routed via mkl_thread which is being dynamically loaded.&lt;BR /&gt;&lt;BR /&gt;I'm definitely *NOT* linking to the import library mkl_intel_thread_dll.lib as i've just deleted the .lib. However, the intel_thread.dll happens to be sitting on my path.&lt;BR /&gt;&lt;BR /&gt;Does this help narrow down the problem?&lt;BR /&gt;&lt;BR /&gt;thanks.&lt;BR /&gt;&lt;BR /&gt;David.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 16:35:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859838#M7391</guid>
      <dc:creator>David_W_5</dc:creator>
      <dc:date>2008-07-10T16:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: LAPACK using multiple cores with sequential library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859839#M7392</link>
      <description>Further to my previous reply, I note that the intel_thread_dll is loaded as it is an implicit depedency of mkl_vml_p4m.dll.&lt;BR /&gt;&lt;BR /&gt;I am calling several vml functions prior to lapack. If I remove these calls to vml, intel_thread.dll does not get loaded and more importantly the lapack functions get called on a single thread as expected.&lt;BR /&gt;&lt;BR /&gt;Therefore, I conclude that this is a bug in the library where calls to vml result in a mixture of threading layers being used.&lt;BR /&gt;&lt;BR /&gt;I shall submit this to premier.&lt;BR /&gt;&lt;BR /&gt;David.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 18:49:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859839#M7392</guid>
      <dc:creator>David_W_5</dc:creator>
      <dc:date>2008-07-10T18:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: LAPACK using multiple cores with sequential library</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859840#M7393</link>
      <description>&lt;P&gt;David,&lt;/P&gt;
&lt;P&gt;could you say which VML functions are you using in your application?&lt;/P&gt;
&lt;P&gt;Information about used MKL version will be appreciable also.&lt;/P&gt;
&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2008 13:55:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/LAPACK-using-multiple-cores-with-sequential-library/m-p/859840#M7393</guid>
      <dc:creator>Andrey_G_Intel2</dc:creator>
      <dc:date>2008-07-14T13:55:08Z</dc:date>
    </item>
  </channel>
</rss>

