Skip to content
Snippets Groups Projects
Commit 4500d31f authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Updated the default value of the repartitioning to the valid choice 'task_weights'

parent a374ea9c
No related branches found
No related tags found
No related merge requests found
......@@ -441,6 +441,7 @@ void read_ic_parallel(char* fileName, const struct unit_system* internal_units,
N_total[ptype] =
(numParticles[ptype]) + (numParticles_highWord[ptype] << 32);
/* Get the box size if not cubic */
dim[0] = boxSize[0];
dim[1] = (boxSize[1] < 0) ? boxSize[0] : boxSize[1];
dim[2] = (boxSize[2] < 0) ? boxSize[0] : boxSize[2];
......
......@@ -995,7 +995,7 @@ void partition_init(struct partition *partition,
/* Defaults make use of METIS if available */
#ifdef HAVE_METIS
const char *default_repart = "both";
const char *default_repart = "task_weights";
const char *default_part = "simple_metis";
#else
const char *default_repart = "none";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment