Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VTB HPC tests configs for Griffin and Cardinal #451

Open
wants to merge 4 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions htgr/assembly/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[Tests]
[generate_mesh]
type = RunApp
executable_pattern = 'cardinal*'
input = 'common_input.i solid.i'
cli_args = '--mesh-only'
working_directory = 'meshes'
[]

[run_multiphysics]
type = RunApp
input = 'common_input.i openmc.i'
cli_args = "Executioner/num_steps=10"
executable_pattern = 'cardinal*'
prereq = 'generate_mesh'
min_parallel = 16
max_time = 2000
mesh_mode = DISTRIBUTED
[]
[]
405 changes: 0 additions & 405 deletions htgr/mhtgr/mhtgr_griffin/benchmark/griffin_hfem.i

This file was deleted.

12 changes: 12 additions & 0 deletions htgr/mhtgr/mhtgr_griffin/benchmark/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Tests]
[griffin_regression_1]
type = CSVDiff
input = griffin.i
csvdiff = out_griffin.csv
executable_pattern = 'griffin*|blue_crab*'
cli_args = ' TransportSystems/diff/order=FIRST Mesh/second_order=false Outputs/exodus=false'
min_parallel = 32
max_time = 800
method = 'opt' # much much too slow
[]
[]
10 changes: 10 additions & 0 deletions htgr/pb67_cardinal/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Tests]
[nek]
type = RunApp
input = nek.i
executable_pattern = 'cardinal*'
min_parallel = 96
cli_args = "Outputs/exodus=false"
[]
[]

3 changes: 3 additions & 0 deletions lfr/7pin_cardinal_demo/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
7pin_ic.fld filter=lfs diff=lfs merge=lfs -text
LFR9g_P5.xml filter=lfs diff=lfs merge=lfs -text
7pin.re2 filter=lfs diff=lfs merge=lfs -text
3 changes: 3 additions & 0 deletions lfr/7pin_cardinal_demo/7pin.re2
Git LFS file not shown
3 changes: 0 additions & 3 deletions lfr/7pin_cardinal_demo/7pin.re2.tgz

This file was deleted.

3 changes: 3 additions & 0 deletions lfr/7pin_cardinal_demo/7pin_ic.fld
Git LFS file not shown
3 changes: 0 additions & 3 deletions lfr/7pin_cardinal_demo/7pin_ic.fld.tgz

This file was deleted.

3 changes: 3 additions & 0 deletions lfr/7pin_cardinal_demo/LFR9g_P5.xml
Git LFS file not shown
3 changes: 0 additions & 3 deletions lfr/7pin_cardinal_demo/LFR9g_P5.xml.tgz

This file was deleted.

41 changes: 41 additions & 0 deletions lfr/7pin_cardinal_demo/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[Tests]
# Regression tests
[run_multiphysics]
type = CSVDiff
input = 'NT.i'
csvdiff = NT_out.csv
cli_args = "Executioner/richardson_max_its=1 Executioner/fixed_point_max_its=2"
executable_pattern = 'cardinal*'
prereq = 'run_neutronics run_nekrs'
min_parallel = 144
max_time = 2000
mesh_mode = DISTRIBUTED
[]
[run_neutronics]
type = CSVDiff
input = 'NTmesh.i NT.i'
cli_args = "Outputs/file_base=neutronics_only_out Executioner/force_fixed_point_solve=false Transfers/active='' MultiApps/active='' Mesh/inactive='fmg'"
csvdiff = neutronics_only_out.csv
# 16 processors to have enough memory
min_parallel = 16
# for devel testing
max_time = 500
executable_pattern = 'griffin*'
abs_zero = 1e-4
rel_err = 1e-4
[]
[run_conduction]
type = CSVDiff
input = 'HCmesh.i HC.i'
csvdiff = HC_out.csv
cli_args = "Executioner/dt=0.01 Executioner/end_time=0.1 Outputs/time_step_interval=1 Transfers/active='' MultiApps/active='' Mesh/inactive='fmg'"
executable_pattern = 'cardinal*|moose*'
min_parallel = 8
[]
[run_nekrs]
type = RunApp
input = 'nek.i'
executable_pattern = 'cardinal*'
min_parallel = 144
[]
[]
28 changes: 2 additions & 26 deletions lfr/7pin_cardinal_demo/tests
Original file line number Diff line number Diff line change
Expand Up @@ -5,35 +5,12 @@
input = 'NTmesh.i'
cli_args = '--mesh-only'
[]
[generate_mesh_pre_cfd]
type = RunApp
executable_pattern = 'cardinal*'
input = 'NTmesh.i'
cli_args = '--mesh-only'
# this additional test is only to make the dependency for unzip_cfd
prereq = 'generate_mesh_neutronics'
[]
[generate_mesh_heat]
type = RunApp
executable_pattern = 'cardinal*|griffin*'
input = 'HCmesh.i'
cli_args = '--mesh-only'
[]
[unzip_xs]
type = RunCommand
command = 'tar -xvf LFR9g_P5.xml.tgz'
prereq = 'generate_mesh_neutronics'
[]
[unzip_cfd1]
type = RunCommand
command = 'tar -xvf 7pin_ic.fld.tgz'
prereq = 'generate_mesh_pre_cfd'
[]
[unzip_cfd]
type = RunCommand
command = 'tar -xvf 7pin.re2.tgz'
prereq = 'unzip_cfd1'
[]

# Syntax tests
[syntax_griffin]
Expand All @@ -42,7 +19,7 @@
check_input = true
executable_pattern = 'griffin*'
cli_args = "MultiApps/active='' Transfers/active=''"
prereq = 'unzip_xs'
prereq = 'generate_mesh_neutronics'
max_time = 400
[]
[syntax_conduction]
Expand All @@ -58,7 +35,6 @@
input = 'nek.i'
check_input = true
executable_pattern = 'cardinal*'
prereq = 'unzip_cfd'
# need more memory
min_parallel = 32
[]
Expand All @@ -71,7 +47,7 @@
csvdiff = NT_out.csv
cli_args = "Executioner/richardson_max_its=1 Executioner/fixed_point_max_its=2"
executable_pattern = 'cardinal*'
prereq = 'unzip_xs syntax_nekrs'
prereq = 'syntax_nekrs'
min_parallel = 144
max_time = 2000
mesh_mode = DISTRIBUTED
Expand Down
38 changes: 38 additions & 0 deletions microreactors/KRUSTY/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[Tests]
[mesh_gen]
# We do not run Exodiff for the griffin mesh due to the randomness of the triangulation
# We do run a --mesh-only to make sure the exodus file can be generated
# We also run a CSVDiff to make sure the mesh generation is consistent
# For the BISON mesh, we do run Exodiff as it is deterministic based on the gold griffin mesh
[mesh_gen_griffin]
type = RunApp
input = 'MESH/KRUSTY_mesh_gen_griffin.i'
executable_pattern = 'griffin*|blue_crab*|dire_wolf*'
cli_args = "--mesh-only MESH/Griffin_mesh.e"
[]
[mesh_gen_bison]
type = Exodiff
input = 'MESH/KRUSTY_mesh_gen_bison.i'
exodiff = MESH/BISON_mesh.e
executable_pattern = 'griffin*|blue_crab*|dire_wolf*'
cli_args = "--mesh-only MESH/BISON_mesh.e"
[]
[]
[simplified_regression]
[griffin_simple]
type = CSVDiff
input = 'Neutronics/Griffin/krusty_ANL22_endf70_hybrid_SN35_NA3_coarse_CMFD.i'
csvdiff = 'Neutronics/Griffin/krusty_ANL22_endf70_hybrid_SN35_NA3_coarse_CMFD_out.csv'
cli_args = "Outputs/exodus=false
TransportSystems/sn/NPolar=1
TransportSystems/sn/NAzmthl=3
TransportSystems/sn/NA=1"
executable_pattern = 'bison*|blue_crab*|dire_wolf*'
min_parallel = 40
max_time = 3600
# Cross section warning
allow_warnings = true
prereq = 'mesh_gen_bison mesh_gen_griffin'
[]
[]
[]
48 changes: 48 additions & 0 deletions microreactors/hpmr_h2/steady/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[Tests]
# Generate the meshes
[neutronics_coarse_mesh]
type = CheckFiles
input = one_twelfth_simba_core_CM.i
cli_args = '--mesh-only'
executable_pattern = 'griffin*|blue_crab*|dire_wolf*'
check_files = one_twelfth_simba_core_CM_in.e
[]
[neutronics_fine_mesh]
type = CheckFiles
input = one_twelfth_simba_core.i
cli_args = '--mesh-only'
check_files = one_twelfth_simba_core_in.e
executable_pattern = 'griffin*|blue_crab*|dire_wolf*'
prereq = neutronics_coarse_mesh
[]

[thermal_only]
type = CSVDiff
input = 'thermal_ss.i'
csvdiff = 'thermal_ss_out.csv'
check_input = True
executable_pattern = 'blue_crab*|dire_wolf*|bison*'
cli_args = "MultiApps/active='' Transfers/active='' Outputs/file_base= thermal_ss_standalone"
min_parallel = 192 # won't be tested for now
[]

[griffin_only]
type = CSVDiff
input = 'neutronics_eigenvalue.i'
csvdiff = 'neutronics_eigenvalue_standalone.csv'
executable_pattern = 'griffin*|blue_crab*|dire_wolf*'
cli_args = "MultiApps/active='' Transfers/active='' AuxVariables/Trefl/initial_condition=800 "
"Outputs/file_base=neutronics_eigenvalue_standalone"
min_parallel = 192 # won't be tested for now
prereq = neutronics_fine_mesh
[]

[coupled_run]
type = CSVDiff
csvdiff = 'neutronics_eigenvalue_out.csv'
input = 'neutronics_eigenvalue.i'
executable_pattern = 'blue_crab*|dire_wolf*'
min_parallel = 192 # won't be tested for now
prereq = griffin_only
[]
[]
37 changes: 37 additions & 0 deletions msr/lotus/steady_state/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[Tests]
# Regression tests
[neutronics_only]
type = CSVDiff
input = 'run_neutronics_9_group.i'
cli_args = "MultiApps/active='' Transfers/active='' Executioner/fixed_point_min_its=0 Outputs/exodus=false"
csvdiff = 'run_neutronics_9_group_out.csv'
executable_pattern = 'griffin*'
# Model is fairly expensive to run
method = 'opt'
min_parallel = 8
max_time = 400
[]
[flow_only]
type = CSVDiff
input = 'run_ns_initial.i'
cli_args = "MultiApps/active='' Transfers/active='' Executioner/num_steps=3 Outputs/exodus=false"
csvdiff = 'run_ns_initial_out.csv'
executable_pattern = 'pronghorn*|combined*'
# Model is fairly expensive to run
method = 'opt'
min_parallel = 16
max_time = 400
[]
[coupled_mcre_multiphysics]
type = CSVDiff
input = 'run_neutronics_9_group.i'
csvdiff = 'multiphysics_out.csv multiphysics_out_ns0.csv'
executable_pattern = 'mcre*|blue_crab*'
cli_args = "Outputs/file_base=multiphysics_out Outputs/exodus=false"
# Fuel temperature is out of bounds for MGXS
allow_warnings = true
min_parallel = 32
max_time = 2000
method = 'opt'
[]
[]
19 changes: 19 additions & 0 deletions msr/msre/pipe_cardinal/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[Tests]
[cfd]
type = RunApp
input = nek.i
check_input = True
executable_pattern = 'cardinal*'
min_parallel = 64
cli_args = 'Outputs/exodus=false'
[]
[multiphysics]
type = CSVDiff
input = cardinal.i
csvdiff = 'cardinal_out.csv'
executable_pattern = 'cardinal*|combined*'
# Exceedingly slow in devel mode
method = 'opt'
cli_args = 'Outputs/exodus=false
[]
[]
18 changes: 18 additions & 0 deletions pbfhr/mark1/reflector/cht/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Tests]
[nek]
type = RunApp
input = nek.i
requirement = "Cardinal shall be able to simulate bypass flow in the reflector of the Mark1 reactor."
executable_pattern = 'cardinal*'
min_parallel = 32
cli_args = 'Outputs/exodus=false'
[]
[full_sim]
type = RunApp
input = solid.i
requirement = "Cardinal shall be able to run a conjugate heat transfer simnulation in the reflector of the Mark1 reactor."
executable_pattern = 'cardinal*'
min_parallel = 32
cli_args = 'Outputs/exodus=false'
[]
[]
18 changes: 18 additions & 0 deletions pbfhr/mark1/reflector/conduction/hpc_tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Tests]
[nek]
type = RunApp
input = nek.i
requirement = "Cardinal shall be able to simulate bypass flow in the reflector of the Mark1 reactor."
executable_pattern = 'cardinal*'
min_parallel = 32
cli_args = 'Outputs/exodus=false'
[]
[full_sim]
type = RunApp
input = solid.i
requirement = "Cardinal shall be able to run a conjugate heat transfer simnulation in the reflector of the Mark1 reactor."
executable_pattern = 'cardinal*'
min_parallel = 32
cli_args = 'Outputs/exodus=false'
[]
[]
Loading