Skip to content

Commit

Permalink
Update C++ network test after He net reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
yut23 committed Jan 16, 2025
1 parent 54a8f90 commit d082819
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/cxx-network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,23 @@ jobs:
sudo apt-get update -y -qq
sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0
- name: Regenerate subch_simple network
- name: Regenerate he-burn-22a network
run: |
cd external/Microphysics/networks/subch_simple
python subch_simple.py
cd external/Microphysics/networks/he-burn/he-burn-22a
python he_burn_22a.py
- name: Compile burn_cell (subch_simple)
- name: Compile burn_cell (he-burn-22a)
run: |
cd external/Microphysics/unit_test/burn_cell
make realclean
make NETWORK_DIR=subch_simple -j 4
make NETWORK_DIR=he-burn/he-burn-22a -j 4
- name: Run burn_cell (subch_simple)
- name: Run burn_cell (he-burn-22a)
run: |
cd external/Microphysics/unit_test/burn_cell
./main3d.gnu.ex inputs_subch_simple > test.out
- name: Compare to stored output (subch_simple)
- name: Compare to stored output (he-burn-22a)
run: |
cd external/Microphysics/unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ${GITHUB_WORKSPACE}/.github/workflows/microphysics-benchmarks/subch_simple_unit_test.out
Expand Down

0 comments on commit d082819

Please sign in to comment.