Merge pull request #5800 from blattms/feature/default-is-merge-well-cells-for-partioning

Switch default load balancer to Zoltan with vertex = all cells of a well
This commit is contained in:
Markus Blatt 2025-01-13 13:40:12 +01:00 committed by GitHub
commit f59262d403
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

View File

@ -425,7 +425,7 @@ void FlowGenericVanguard::registerParameters_()
("Order cells owned by rank before ghost/overlap cells.");
#if HAVE_MPI
Parameters::Register<Parameters::PartitionMethod>
("Choose partitioning strategy: 0=simple, 1=Zoltan, 2=METIS.");
("Choose partitioning strategy: 0=simple, 1=Zoltan, 2=METIS, 3=Zoltan with all cells of well represented by one vertex.");
Parameters::Register<Parameters::SerialPartitioning>
("Perform partitioning for parallel runs on a single process.");
Parameters::Register<Parameters::ZoltanImbalanceTol<Scalar>>

View File

@ -71,8 +71,9 @@ struct OwnerCellsFirst { static constexpr bool value = true; };
struct ParsingStrictness { static constexpr auto value = "normal"; };
struct ActionParsingStrictness { static constexpr auto value = "normal"; };
// 0: simple, 1: Zoltan, 2: METIS, see GridEnums.hpp
struct PartitionMethod { static constexpr int value = 1; };
/// 0: simple, 1: Zoltan, 2: METIS, 3: Zoltan with a all cells of a well
/// represented by one vertex in the graph, see GridEnums.hpp
struct PartitionMethod { static constexpr int value = 3; };
struct SchedRestart{ static constexpr bool value = false; };
struct SerialPartitioning{ static constexpr bool value = false; };

View File

@ -257,8 +257,8 @@ add_test_compare_parallel_simulation(CASENAME 3_a_mpi_multflt_mod2
SIMULATOR flow
ABS_TOL ${abs_tol_parallel}
REL_TOL 1.0e-3
DIR model2
TEST_ARGS --linear-solver-reduction=1e-7 --tolerance-cnv=5e-6 --tolerance-mb=1e-8 --newton-max-iterations=30 --enable-drift-compensation=false)
DIR model2
TEST_ARGS --linear-solver-reduction=1e-7 --tolerance-cnv=1.0e-3 --tolerance-cnv-relaxed=1.0e-3 --tolerance-mb=1e-8 --tolerance-mb-relaxed=1.0e-8 --newton-max-iterations=30)
add_test_compare_parallel_simulation(CASENAME rxft
FILENAME TEST_RXFT