idaholab / moose

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

Lengthy (mechanics) tests slow down testing #7938

Closed sapitts closed 2 years ago

sapitts commented 7 years ago

Description of the enhancement or error report

Identifying and speeding up the tests which require more than 2.0 seconds to run in opt should reduce the time to test new code when submitting PRs to MOOSE in three of the modules.

Rationale for the enhancement or information for reproducing the error

./run_tests -j8 -t

Tests with run time lengths that should be reduced:

If you see a test which you wrote listed below, please modify the input file so that the relevant physics are still tested while remaining under the 2.0 second guideline. Once the test run time is below the 2.0 second run time limit, please mark the test on list below as complete. Pinging @bwspenc @acasagran @dschwen @WilkAndy @hchen139 @jiangwen84 @jasondhales

combined module

tensor mechanics module

solid mechanics module

WilkAndy commented 7 years ago

Thanks for identifying these, @sapitts . It's a boring chore, but MOOSE would slowly fall apart if we didn't constantly improve it like this.

permcody commented 7 years ago

I kind of think that MOOSE would fall apart without @sapitts in general!

WilkAndy commented 7 years ago

Hi @sapitts . I sped-up my two tests. I can't add a tick mark to your boxes above, so you'll have to do it for me. The tests are mohr_coulomb.random combined:poro_mechanics.borehole

sapitts commented 7 years ago

Thank you @WilkAndy - checkmarks added! (and this was really @bwspenc's idea)

gambka commented 7 years ago

When migrating tests over to tensor mechanics from solid mechanics some of the tests listed above were found to now run within the 2.0 second limit. The tests are:

combined:nodal_area.Hex272Proc combined:nodal_area.Hex20_3 combined:nodal_area.Hex20_2 combined:nodal_area.Hex20

gambka commented 7 years ago

The following tests are just above the threshold now ~2.01 and are only running a single timestep so I do not see any modifications to be made to speed them up further:

axisymmetric_2d3d_solution_function.axisymmetric_2d3d_solution_function_3dz_scale axisymmetric_2d3d_solution_function.axisymmetric_2d3d_solution_function_3dy_scale

gambka commented 7 years ago

The following test is now below the threshold. I'll be committing a PR shortly.

combined:fdp_geometric_coupling.test

sapitts commented 2 years ago

Closing this issue because it's quite out of date and the testing system has since developed better controls for timing