Skip to content
Snippets Groups Projects
Commit c649b9e3 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

added node repartitioning based on graph partition with METIS.

Former-commit-id: 94b22e6baa904a93133bced7189476d3734ff3b4
parent 228931f3
Branches
Tags
No related merge requests found
...@@ -926,6 +926,12 @@ int main ( int argc , char *argv[] ) { ...@@ -926,6 +926,12 @@ int main ( int argc , char *argv[] ) {
/* Let loose a runner on the space. */ /* Let loose a runner on the space. */
for ( j = 0 ; j < runs && e.time < clock ; j++ ) { for ( j = 0 ; j < runs && e.time < clock ; j++ ) {
/* Repartition the space amongst the nodes? */
#if defined(WITH_MPI) && defined(HAVE_METIS)
if ( j == 1 )
e.forcerepart = 1;
#endif
// message( "starting run %i/%i (t=%.3e) with %i threads and %i queues..." , j+1 , runs , e.time , e.nr_threads , e.nr_queues ); fflush(stdout); // message( "starting run %i/%i (t=%.3e) with %i threads and %i queues..." , j+1 , runs , e.time , e.nr_threads , e.nr_queues ); fflush(stdout);
timers_reset( timers_mask_all ); timers_reset( timers_mask_all );
#ifdef COUNTER #ifdef COUNTER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment