mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
commit
f59262d403
@ -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>>
|
||||
|
@ -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; };
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user