Commit 477abb62 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

force re-partitioning every 100 steps. should use some form of automatic load...

force re-partitioning every 100 steps. should use some form of automatic load imbalance detection furhter on.


Former-commit-id: 302e90448afcb26f55a8f41f76a95e4a1db1167b
parent 558ecbf7
......@@ -827,12 +827,12 @@ int main ( int argc , char *argv[] ) {
/* Repartition the space amongst the nodes? */
#if defined(WITH_MPI) && defined(HAVE_METIS)
if ( j == 2 )
if ( j % 100 == 2 )
e.forcerepart = 1;
#endif
/* Force a rebuild for testing. */
/* if ( j % 4 == 1 )
/* if ( j % 4 == 3 )
e.forcerebuild = 1; */
// 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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment