Skip to content

Commit

Permalink
Fix most oversetfe asynclogic tests
Browse files Browse the repository at this point in the history
The following still deadlock:

  inciter:asynclogic_oversetfe_u0.0_migr_pe3
  inciter:asynclogic_oversetfe_u0.0_migr_pe8
  inciter:asynclogic_oversetfe_u0.5_migr_pe1
  inciter:asynclogic_oversetfe_u0.5_migr_pe3
  inciter:asynclogic_oversetfe_u0.5_migr_pe8
  inciter:asynclogic_oversetfe_u0.9_migr_pe1
  inciter:asynclogic_oversetfe_u0.9_migr_pe3
  inciter:asynclogic_oversetfe_u0.9_migr_pe8

i.e., those that actually migrate.
  • Loading branch information
jbakosi committed Jan 9, 2024
1 parent 7a8726c commit 7bdcd1e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,23 @@ function(add_async_test scheme virt npes ppn migr)
set(migr_append_name "_migr")
set(migr_label "migration")
endif()
if(scheme STREQUAL "oversetfe")
set(ARG "-c slot_cyl_${scheme}.q -v -u ${virt} -b ${migr_cmd}")
set(TEXT_RES "diag.0;diag.1")
set(TEXT_BAS "noop.ndiff.cfg;noop.ndiff.cfg")
else()
set(ARG "-c slot_cyl_${scheme}.q -i unitcube_1k.exo -v -u ${virt} -b ${migr_cmd}")
set(TEXT_RES diag)
set(TEXT_BAS "noop.ndiff.cfg")
endif()
add_regression_test(
asynclogic_${scheme}_u${virt}${migr_append_name}
${INCITER_EXECUTABLE}
NUMPES ${npes} PPN ${ppn}
INPUTFILES slot_cyl_${scheme}.q unitcube_1k.exo
ARGS -c slot_cyl_${scheme}.q -i unitcube_1k.exo -v -u ${virt} -b
${migr_cmd}
TEXT_BASELINE noop.ndiff.cfg
TEXT_RESULT diag
ARGS ${ARG}
TEXT_BASELINE ${TEXT_BAS}
TEXT_RESULT ${TEXT_RES}
TEXT_DIFF_PROG_ARGS --trunc
TEXT_DIFF_PROG_CONF noop.ndiff.cfg
LABELS ${scheme} ${migr_label})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,22 @@ inciter
nstep 10 # Max number of time steps
dt 0.001 # Time step size
ttyi 1 # TTY output interval
ctau 1.0 # FCT mass diffusivity

scheme oversetfe

transport
physics advection
problem slot_cyl
compflow
physics euler
problem user_defined
material
gamma 1.66666666666667 end
end
mesh filename "unitcube_1k.exo" end
mesh filename "unitcube_1k.exo" end
ic
density 1.0 end
velocity 0.0 0.0 0.0 end
pressure 1.0 end
end
end

field_output
Expand Down

0 comments on commit 7bdcd1e

Please sign in to comment.