<?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 Execute HPL with the maximum threads in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Execute-HPL-with-the-maximum-threads/m-p/1132563#M6432</link>
    <description>&lt;P&gt;My platform is KNL 7250 ( 1.4GHz, 68 cores).&lt;/P&gt;&lt;P&gt;I used Intel Vtune Amplifier to check the total thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to execute HPL 2.3 with full threads (272 threads) but can not. I tried 2 way: setup environment&amp;nbsp;variables (OMP_NUM_THREADS=272) or modified HPL_pdgesv.c with add&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:; class-name:dark;"&gt;omp_set_num_threads(272);

#pragma omp parallel

{
&amp;nbsp; &amp;nbsp; if( ( ALGO-&amp;gt;depth == 0 ) || ( GRID-&amp;gt;npcol == 1 ) )
&amp;nbsp; &amp;nbsp;{
&amp;nbsp; &amp;nbsp; &amp;nbsp; HPL_pdgesv0( &amp;nbsp;GRID, ALGO, A );
&amp;nbsp; &amp;nbsp;}
&amp;nbsp; &amp;nbsp;else
&amp;nbsp; &amp;nbsp;{
&amp;nbsp; &amp;nbsp; &amp;nbsp; HPL_pdgesvK2( GRID, ALGO, A );
&amp;nbsp; &amp;nbsp;}

/*
&amp;nbsp;* Solve upper triangular system
&amp;nbsp;*/
&amp;nbsp; &amp;nbsp;if( A-&amp;gt;info == 0 ) HPL_pdtrsv( GRID, A );
}&lt;/PRE&gt;

&lt;P&gt;But HPL just works with a maximum&amp;nbsp; 68 threads. If I decrease numbers of threads less than 68, it will work with my number of threads setup. But it does not work with numbers of threads greater than 68.&lt;/P&gt;
&lt;P&gt;How can I use full threads with HPL?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;DIV id="eJOY__extension_root" style="all:unset"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Thu, 31 Oct 2019 10:49:01 GMT</pubDate>
    <dc:creator>Tuyen__Nguyen</dc:creator>
    <dc:date>2019-10-31T10:49:01Z</dc:date>
    <item>
      <title>Execute HPL with the maximum threads</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Execute-HPL-with-the-maximum-threads/m-p/1132563#M6432</link>
      <description>&lt;P&gt;My platform is KNL 7250 ( 1.4GHz, 68 cores).&lt;/P&gt;&lt;P&gt;I used Intel Vtune Amplifier to check the total thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to execute HPL 2.3 with full threads (272 threads) but can not. I tried 2 way: setup environment&amp;nbsp;variables (OMP_NUM_THREADS=272) or modified HPL_pdgesv.c with add&amp;nbsp;&lt;/P&gt;
&lt;PRE class="brush:; class-name:dark;"&gt;omp_set_num_threads(272);

#pragma omp parallel

{
&amp;nbsp; &amp;nbsp; if( ( ALGO-&amp;gt;depth == 0 ) || ( GRID-&amp;gt;npcol == 1 ) )
&amp;nbsp; &amp;nbsp;{
&amp;nbsp; &amp;nbsp; &amp;nbsp; HPL_pdgesv0( &amp;nbsp;GRID, ALGO, A );
&amp;nbsp; &amp;nbsp;}
&amp;nbsp; &amp;nbsp;else
&amp;nbsp; &amp;nbsp;{
&amp;nbsp; &amp;nbsp; &amp;nbsp; HPL_pdgesvK2( GRID, ALGO, A );
&amp;nbsp; &amp;nbsp;}

/*
&amp;nbsp;* Solve upper triangular system
&amp;nbsp;*/
&amp;nbsp; &amp;nbsp;if( A-&amp;gt;info == 0 ) HPL_pdtrsv( GRID, A );
}&lt;/PRE&gt;

&lt;P&gt;But HPL just works with a maximum&amp;nbsp; 68 threads. If I decrease numbers of threads less than 68, it will work with my number of threads setup. But it does not work with numbers of threads greater than 68.&lt;/P&gt;
&lt;P&gt;How can I use full threads with HPL?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;DIV id="eJOY__extension_root" style="all:unset"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 31 Oct 2019 10:49:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Execute-HPL-with-the-maximum-threads/m-p/1132563#M6432</guid>
      <dc:creator>Tuyen__Nguyen</dc:creator>
      <dc:date>2019-10-31T10:49:01Z</dc:date>
    </item>
  </channel>
</rss>

