idaholab / moose

Multiphysics Object Oriented Simulation Environment
https://www.mooseframework.org
GNU Lesser General Public License v2.1
1.71k stars 1.04k forks source link

Pre-Split Testing #11585

Open friedmud opened 6 years ago

friedmud commented 6 years ago

Rationale

We need to add another testing "mode" to run_tests... similar to --recover or --distributed-mesh: --pre-split.

--pre-split will run with some amount of parallel (-p 4 maybe?) and, similar to --recover, will attempt to run each test once with --split-mesh and then run it again with --use-split.

Of course: many tests won't be able to work this way:

  1. Serial only tests (max_parallel = 1)
  2. Replicated mesh only tests (mesh_mode = replicated)
  3. ??

Description

See Above

Impact

New testing capability

YaqiWang commented 6 years ago

Willl --use-split affect the convergence? I mean if it will generate different convergence against normal runs with distributed mesh? If not, this testing appears significantly overlapping distributed mesh testing, which makes its necessity questionable.

friedmud commented 6 years ago

No - it won't effect convergence.

This is meant as a check for missing RelationshipManagers. Any algorithm requiring "long-distance" mesh information (like the grain tracker for phase field for example - or contact - or periodic boundary conditions) the RelationshipManager must be attached to the objects correctly to make pre-split work correctly.