diff --git a/src/parallel_io.c b/src/parallel_io.c index dbd029569e0947cd5d5884ad392bedc81ab04468..b857fd76a53738b19e5b26b8717881e71c424b6e 100644 --- a/src/parallel_io.c +++ b/src/parallel_io.c @@ -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]; diff --git a/src/partition.c b/src/partition.c index a265f015f44d0ab39106e4fa2b302ec11c23a556..49dbf883e0dea3f00c93ca33ec8cb0248bbfbfaa 100644 --- a/src/partition.c +++ b/src/partition.c @@ -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";