<?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:Eigen + MKL uses single core for complex matrix (ZHEEV) in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314784#M32063</link>
    <description>&lt;P&gt;Could you set the MKL_VERBOSE environment and show the log?&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 15 Sep 2021 12:16:07 GMT</pubDate>
    <dc:creator>Gennady_F_Intel</dc:creator>
    <dc:date>2021-09-15T12:16:07Z</dc:date>
    <item>
      <title>Eigen + MKL uses single core for complex matrix (ZHEEV)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314699#M32056</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;DIV class="votecell post-layout--left"&gt;
&lt;DIV class="js-voting-container d-flex jc-center fd-column ai-stretch gs4 fc-black-200" data-post-id="69114759"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="postcell post-layout--right"&gt;
&lt;DIV class="s-prose js-post-body"&gt;
&lt;P&gt;there is a weird behavior from mkl on our cluster. I am calling Eigen::SelfAdjointEigenSolverEigen::MatrixXcd for a complex hermitian matrix (ZHEEV).&lt;/P&gt;
&lt;P&gt;When I calculate the eigenvectors for large matrices (dim &amp;gt;~ 100k) it only uses a single core.&lt;/P&gt;
&lt;P&gt;Strangely, it runs perfectly fine (multiple cores) for smaller complex matrices, real matrices and large complex matrices (dim &amp;gt;~ 100k) without eigenvectors.&lt;/P&gt;
&lt;P&gt;Did anyone face the same issue or has any idea what is going on in the background?&lt;/P&gt;
&lt;P&gt;I tried various mkl versions.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Sep 2021 07:22:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314699#M32056</guid>
      <dc:creator>taiyler</dc:creator>
      <dc:date>2021-09-15T07:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Eigen + MKL uses single core for complex matrix (ZHEEV)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314726#M32058</link>
      <description>&lt;P&gt;it is strange. How did you check that the single-core is only used?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 08:11:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314726#M32058</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-09-15T08:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Eigen + MKL uses single core for complex matrix (ZHEEV)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314732#M32059</link>
      <description>&lt;P&gt;I simply monitored the process via htop&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 08:26:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314732#M32059</guid>
      <dc:creator>taiyler</dc:creator>
      <dc:date>2021-09-15T08:26:07Z</dc:date>
    </item>
    <item>
      <title>Re:Eigen + MKL uses single core for complex matrix (ZHEEV)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314784#M32063</link>
      <description>&lt;P&gt;Could you set the MKL_VERBOSE environment and show the log?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2021 12:16:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1314784#M32063</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-09-15T12:16:07Z</dc:date>
    </item>
    <item>
      <title>Re:Eigen + MKL uses single core for complex matrix (ZHEEV)</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1316093#M32075</link>
      <description>&lt;P&gt;as I see no feedback, I built the zheev mkl example and run the code with different problem sizes when MKL_VERBOSE is ON. See below the logs which were captured when zheev were run with 2K, 20K and 10K problem sizes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regarding to 100K problem, I didn't wait when the run will be completed but in any case, I see mkl returns 80 OpenMP threads has been used while this run.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;$ ./a.out 2000&lt;/P&gt;&lt;P&gt;MKL_VERBOSE Intel(R) MKL 2020.0 Update 4 Product build 20200917 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) with support of Intel(R) Deep Learning Boost (Intel(R) DL Boost), EVEX-encoded AES and Carry-Less Multiplication Quadword instructions, Lnx 2.30GHz ilp64 intel_thread&lt;/P&gt;&lt;P&gt;MKL_VERBOSE ZHEEV(V,L,2000,0x147bfd00c080,2000,0x3566f00,0x7ffd2acabf80,-1,0x357bf40,0) 248.69ms CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp;NThr:80&lt;/P&gt;&lt;P&gt;MKL_VERBOSE ZHEEV(V,L,2000,0x147bfd00c080,2000,0x3566f00,0x147c02277080,34000,0x357bf40,0) 751.07ms CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp;NThr:80&lt;/P&gt;&lt;P&gt;...zheev passed ...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;$ ./a.out 20000&lt;/P&gt;&lt;P&gt;MKL_VERBOSE Intel(R) MKL 2020.0 Update 4 Product build 20200917 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) with support of Intel(R) Deep Learning Boost (Intel(R) DL Boost), EVEX-encoded AES and Carry-Less Multiplication Quadword instructions, Lnx 2.30GHz ilp64 intel_thread&lt;/P&gt;&lt;P&gt;MKL_VERBOSE ZHEEV(V,L,20000,0x14832434b080,20000,0x1484a31df080,0x7ffd02392280,-1,0x1484a3169080,0) 195.66ms CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp;NThr:80&lt;/P&gt;&lt;P&gt;MKL_VERBOSE ZHEEV(V,L,20000,0x14832434b080,20000,0x1484a31df080,0x148323713080,340000,0x1484a3169080,0) 290.12s CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp;&lt;B&gt;NThr:80&lt;/B&gt;&lt;/P&gt;&lt;P&gt;...zheev passed ...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;$ ./ilp64.x 100000&lt;/P&gt;&lt;P&gt;MKL_VERBOSE Intel(R) MKL 2020.0 Update 4 Product build 20200917 for Intel(R) 64 architecture Intel(R) Advanced Vector Extensions 512 (Intel(R) AVX-512) with support of Intel(R) Deep Learning Boost (Intel(R) DL Boost), EVEX-encoded AES and Carry-Less Multiplication Quadword instructions, Lnx 2.30GHz ilp64 intel_thread&lt;/P&gt;&lt;P&gt;MKL_VERBOSE ZHEEV(V,L,100000,0x143b952bd080,100000,0x1460d775f080,0x7ffc14d94f00,-1,0x1460d5ea2080,0) 110.63ms CNR:OFF Dyn:1 FastMM:1 TID:0&amp;nbsp;&lt;B&gt;NThr:80&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;srun: Force Terminated job 24982&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This issue has been resolved and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Sep 2021 04:49:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Eigen-MKL-uses-single-core-for-complex-matrix-ZHEEV/m-p/1316093#M32075</guid>
      <dc:creator>Gennady_F_Intel</dc:creator>
      <dc:date>2021-09-21T04:49:03Z</dc:date>
    </item>
  </channel>
</rss>

