Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Tuyen__Nguyen
Beginner
44 Views

Execute HPL with the maximum threads

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