Skip to content
Merged
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
32 changes: 24 additions & 8 deletions .github/workflows/burn_cell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Compare to stored output (VODE, he-burn/he-burn-19am)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/he-burn-19am_unit_test.out
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/he-burn-19am_unit_test.out

- name: Compile, burn_cell (VODE, ECSN)
run: |
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Compare to stored output (VODE, ECSN)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/ecsn_unit_test.out
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/ecsn_unit_test.out

- name: Compile, burn_cell (VODE, ignition_chamulak)
run: |
Expand All @@ -74,7 +74,7 @@ jobs:
- name: Compare to stored output (VODE, ignition_chamulak)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/chamulak_VODE_unit_test.out
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/chamulak_VODE_unit_test.out

- name: Compile, burn_cell (ForwardEuler, triple_alpha_plus_cago)
run: |
Expand All @@ -90,7 +90,7 @@ jobs:
- name: Compare to stored output (ForwardEuler, triple_alpha_plus_cago)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/triple_alpha_plus_cago_FE_unit_test.out
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/triple_alpha_plus_cago_FE_unit_test.out

- name: Compile, burn_cell (BackwardEuler, he-burn/he-burn-19am)
run: |
Expand All @@ -106,7 +106,7 @@ jobs:
- name: Compare to stored output (BackwardEuler, he-burn/he-burn-19am)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/he-burn-19am_BE_unit_test.out
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/he-burn-19am_BE_unit_test.out

- name: Compile, burn_cell (BackwardEuler, vode_example)
run: |
Expand All @@ -122,7 +122,7 @@ jobs:
- name: Compare to stored output (BackwardEuler, vode_example)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/vode_example_BE_unit_test.out
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/vode_example_BE_unit_test.out

- name: Compile, burn_cell (QSS, aprox13)
run: |
Expand All @@ -138,7 +138,7 @@ jobs:
- name: Compare to stored output (QSS, aprox13)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/aprox13_QSS_unit_test.out
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/aprox13_QSS_unit_test.out

- name: Compile, burn_cell (RKC, aprox13)
run: |
Expand All @@ -154,7 +154,23 @@ jobs:
- name: Compare to stored output (RKC, aprox13)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/aprox13_RKC_unit_test.out
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/aprox13_RKC_unit_test.out

- name: Compile, burn_cell (Rosenbrock, aprox13)
run: |
cd unit_test/burn_cell
make realclean
make NETWORK_DIR=aprox13 INTEGRATOR_DIR=Rosenbrock -j 4

- name: Run burn_cell (Rosenbrock, aprox13)
run: |
cd unit_test/burn_cell
./main3d.gnu.ex inputs_aprox13 unit_test.temperature=1.e9 amrex.fpe_trap_{invalid,zero,overflow}=1 > test.out

- name: Compare to stored output (Rosenbrock, aprox13)
run: |
cd unit_test/burn_cell
diff -I "^Initializing AMReX" -I "^AMReX" test.out ci-benchmarks/aprox13_Rosenbrock_unit_test.out

- name: Print backtrace
if: ${{ failure() && hashFiles('unit_test/burn_cell/Backtrace.0') != '' }}
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/burn_cell_sdc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,22 @@ jobs:
cd unit_test/burn_cell_sdc
diff state_over_time.txt ci-benchmarks/aprox19_RKC_state_over_time.txt

- name: Compile, burn_cell_sdc (Rosenbrock, aprox19)
run: |
cd unit_test/burn_cell_sdc
make realclean
make INTEGRATOR_DIR=Rosenbrock NETWORK_DIR=aprox19 -j 4

- name: Run burn_cell_sdc (Rosenbrock, aprox19)
run: |
cd unit_test/burn_cell_sdc
./main3d.gnu.ex inputs_aprox19.ci amrex.fpe_trap_{invalid,zero,overflow}=1

- name: Compare to stored output (Rosenbrock, aprox19)
run: |
cd unit_test/burn_cell_sdc
diff state_over_time.txt ci-benchmarks/aprox19_Rosenbrock_state_over_time.txt

- name: Print backtrace
if: ${{ failure() && hashFiles('unit_test/burn_cell_sdc/Backtrace.0') != '' }}
run: cat unit_test/burn_cell_sdc/Backtrace.0
73 changes: 73 additions & 0 deletions unit_test/burn_cell/ci-benchmarks/aprox13_Rosenbrock_unit_test.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
Initializing AMReX (26.04-96-g21b2deea3233)...
AMReX (26.04-96-g21b2deea3233) initialized
starting the single zone burn...
Maximum Time (s): 0.01
State Density (g/cm^3): 1000000
State Temperature (K): 1000000000
Mass Fraction (He4): 1
Mass Fraction (C12): 0
Mass Fraction (O16): 0
Mass Fraction (Ne20): 0
Mass Fraction (Mg24): 0
Mass Fraction (Si28): 0
Mass Fraction (S32): 0
Mass Fraction (Ar36): 0
Mass Fraction (Ca40): 0
Mass Fraction (Ti44): 0
Mass Fraction (Cr48): 0
Mass Fraction (Fe52): 0
Mass Fraction (Ni56): 0
RHS at t = 0
He4 -2.912333127
C12 0.970777709
O16 -8.298509966e-29
Ne20 5.422966807e-29
Mg24 1.964435012e-29
Si28 9.166136559e-30
S32 2.700697496e-32
Ar36 3.49632603e-33
Ca40 1.208764824e-34
Ti44 4.5285495e-36
Cr48 1.176042128e-37
Fe52 7.858035183e-39
Ni56 3.938787868e-40
------------------------------------
successful? 1
- Hnuc = 8.559157083e+18
- added e = 8.559157083e+16
- final T = 1516461213
------------------------------------
e initial = 1.284393683e+17
e final = 2.140309392e+17
------------------------------------
new mass fractions:
He4 0.8760688621
C12 0.1064064626
O16 0.0001403261505
Ne20 8.129222053e-05
Mg24 0.000297218442
Si28 0.01113102526
S32 0.005302198622
Ar36 0.0005664412981
Ca40 6.171246879e-06
Ti44 2.042378765e-09
Cr48 3.372233427e-14
Fe52 6.090017275e-17
Ni56 6.550908082e-23
------------------------------------
species creation rates:
omegadot(He4): -12.39311379
omegadot(C12): 10.64064626
omegadot(O16): 0.01403261505
omegadot(Ne20): 0.008129222053
omegadot(Mg24): 0.0297218442
omegadot(Si28): 1.113102526
omegadot(S32): 0.5302198622
omegadot(Ar36): 0.05664412981
omegadot(Ca40): 0.0006171246879
omegadot(Ti44): 2.042378765e-07
omegadot(Cr48): 3.372233427e-12
omegadot(Fe52): 6.090017275e-15
omegadot(Ni56): 6.550907982e-21
number of steps taken: 100
AMReX (26.04-96-g21b2deea3233) finalized
100 changes: 0 additions & 100 deletions unit_test/burn_cell/ci-benchmarks/aprox19_nse_unit_test.out

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Time Density Temperature H1 He3 He4 C12 N14 O16 Ne20 Mg24 Si28 S32 Ar36 Ca40 Ti44 Cr48 Fe52 Fe54 Ni56 n p
0 1e+06 3e+09 0.7 0.025 0.2 0.025 0.025 0.025 0 0 0 0 0 0 0 0 0 0 0 0 0
1e-10 1e+06 3.02858e+09 0.706587 0.00187781 0.215408 0.018277 0.0328286 0.0249997 2.1703e-05 3.97681e-09 1.44285e-11 1.21805e-15 1.84281e-20 1.24853e-25 1e-30 1e-30 1e-30 1e-30 1e-30 1.326e-30 1.326e-30
3.16228e-10 1e+06 3.03478e+09 0.705507 0.000621696 0.216227 0.00928497 0.0432755 0.024999 8.50451e-05 4.8139e-08 4.59412e-11 5.39967e-15 2.46795e-19 5.22916e-24 5.56043e-30 1e-30 1e-30 1e-30 1e-30 4.98321e-30 4.98321e-30
1e-09 1e+06 3.03971e+09 0.704283 0.000198657 0.216431 0.00109531 0.0526512 0.0249968 0.000342911 6.19758e-07 5.30816e-10 5.52756e-14 5.55311e-18 3.10505e-22 7.89137e-28 1.00062e-30 1e-30 1e-30 1e-30 1.85325e-29 1.85325e-29
3.16228e-09 1e+06 3.04074e+09 0.704146 6.29115e-05 0.216257 1.27682e-06 0.0533161 0.0249897 0.00121971 7.35442e-06 1.85964e-08 4.22034e-12 9.17239e-16 1.11105e-19 6.35478e-25 2.18028e-30 1.00001e-30 1e-30 1e-30 6.41836e-29 6.41836e-29
1e-08 1e+06 3.04176e+09 0.70416 2.02945e-05 0.215457 1e-30 0.0514255 0.0249673 0.00389252 7.69421e-05 6.33172e-07 4.58512e-10 3.13381e-13 1.17255e-16 2.02585e-21 1.06369e-26 1.01828e-30 1.00001e-30 1e-30 2.11343e-28 2.11343e-28
3.16228e-08 1e+06 3.04471e+09 0.704164 6.45032e-06 0.212968 2.58574e-11 0.0459009 0.0248981 0.011318 0.000724836 1.93831e-05 4.52477e-08 9.93417e-11 1.19159e-13 6.58859e-18 1.11508e-22 6.7928e-28 1e-30 1e-30 6.98363e-28 6.98363e-28
1e-07 1e+06 3.05275e+09 0.704166 2.03538e-06 0.206101 2.09306e-11 0.0322296 0.0246918 0.0266625 0.00563902 0.00050403 3.84343e-06 2.73378e-08 1.05952e-10 1.89002e-14 1.04953e-18 2.40869e-23 1e-30 1e-30 2.44823e-27 2.4427e-27
3.16228e-07 1e+06 3.07034e+09 0.704166 6.23124e-07 0.191016 1.67082e-11 0.0110247 0.0241129 0.034574 0.0261435 0.00872747 0.00022935 5.47621e-06 7.07435e-08 4.19739e-11 8.0732e-15 8.27539e-19 1.75114e-23 3.2287e-27 9.9353e-27 6.58499e-25
1e-06 1e+06 3.09568e+09 0.704166 1.91644e-07 0.169097 1.16129e-11 0.00048084 0.0224667 0.00929987 0.0309788 0.057018 0.00594679 0.00052091 2.41397e-05 5.01037e-08 3.38968e-11 1.21299e-14 8.94134e-19 1.61876e-22 4.89043e-26 3.31161e-20
3.16228e-06 1e+06 3.11505e+09 0.704167 5.91647e-08 0.150119 8.16837e-12 6.80402e-08 0.0180596 0.000891645 0.00274039 0.0735085 0.0352672 0.0127917 0.00243622 1.92922e-05 4.8563e-08 6.31556e-11 1.66878e-14 2.97805e-18 3.33147e-25 6.18066e-16
1e-05 1e+06 3.14015e+09 0.704167 1.86839e-08 0.120634 4.2724e-12 4.83314e-09 0.00987337 0.000461087 0.000861065 0.026814 0.0368458 0.0509423 0.0478243 0.00156166 1.5254e-05 7.37278e-08 7.0574e-11 1.23779e-14 2.01181e-21 2.61385e-12
Loading