Skip to content
Snippets Groups Projects
Commit 71a30d10 authored by Timo Koch's avatar Timo Koch
Browse files

[test] Run dambreak test in parallel

parent 2e67dc60
No related branches found
No related tags found
1 merge request!1845Feature/istl solver factory
dune_symlink_to_source_files(FILES "params.input")
dumux_add_test(NAME test_shallowwater_dambreak
SOURCES main.cc
TIMEOUT 1500
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
add_executable(test_shallowwater_dambreak EXCLUDE_FROM_ALL main.cc)
dumux_add_test(NAME test_shallowwater_dambreak_sequential
TARGET test_shallowwater_dambreak
LABELS shallowwater
TIMEOUT 1500
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_ff_shallowwater_dambreak-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/dambreak-00001.vtu
--zeroThreshold {"velocityY":1e-14}
--command "${CMAKE_CURRENT_BINARY_DIR}/test_shallowwater_dambreak params.input
-Problem.Name dambreak")
dumux_add_test(NAME test_shallowwater_dambreak_parallel
TARGET test_shallowwater_dambreak
LABELS shallowwater parallel
TIMEOUT 1500
CMAKE_GUARD MPI_FOUND
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_ff_shallowwater_dambreak-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/s0002-dambreak_parallel-00001.pvtu
--zeroThreshold {"velocityY":1e-14,"process rank":100}
--command "${MPIEXEC} -np 2 ${CMAKE_CURRENT_BINARY_DIR}/test_shallowwater_dambreak params.input
-Problem.Name dambreak_parallel")
......@@ -17,13 +17,11 @@ EnablePartialReassembly = true
EnableDynamicOutput = false
[LinearSolver]
Type = cgsolver
Type = bicgstabsolver
MaxIterations = 80
[LinearSolver.Preconditioner]
Type = amg
Type = ilu
Verbosity = 0
AmgMaxLevel = 2
AmgPreSmoothingSteps = 1
AmgPostSmoothingSteps = 1
AmgCriterionSymmetric = true
ILUOrder = 0
ILUResort = true
dune_symlink_to_source_files(FILES "params.input")
dumux_add_test(NAME test_shallowwater_roughchannel
SOURCES main.cc
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
SOURCES main.cc
LABELS shallowwater
COMMAND ${CMAKE_SOURCE_DIR}/bin/testing/runtest.py
CMD_ARGS --script fuzzy
--files ${CMAKE_SOURCE_DIR}/test/references/test_ff_shallowwater_roughchannel-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/roughchannel-00001.vtu
--zeroThreshold {"velocityY":1e-14}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment