Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Execute HPL with the maximum threads

Tuyen__Nguyen
Beginner
1,162 Views

My platform is KNL 7250 ( 1.4GHz, 68 cores).

I used Intel Vtune Amplifier to check the total thread. 

I want to execute HPL 2.3 with full threads (272 threads) but can not. I tried 2 way: setup environment variables (OMP_NUM_THREADS=272) or modified HPL_pdgesv.c with add 

omp_set_num_threads(272);

#pragma omp parallel

{
    if( ( ALGO->depth == 0 ) || ( GRID->npcol == 1 ) )
   {
      HPL_pdgesv0(  GRID, ALGO, A );
   }
   else
   {
      HPL_pdgesvK2( GRID, ALGO, A );
   }

/*
 * Solve upper triangular system
 */
   if( A->info == 0 ) HPL_pdtrsv( GRID, A );
}

But HPL just works with a maximum  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.

How can I use full threads with HPL? 

Thanks!

 
0 Kudos
0 Replies
Reply