add the ROCK2/4 integrators #1331
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: burn_cell | |
on: [pull_request] | |
jobs: | |
burn_cell: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Get AMReX | |
run: | | |
mkdir external | |
cd external | |
git clone https://github.com/AMReX-Codes/amrex.git | |
cd amrex | |
git checkout development | |
echo 'AMREX_HOME=$(GITHUB_WORKSPACE)/external/amrex' >> $GITHUB_ENV | |
echo $AMREX_HOME | |
if [[ -n "${AMREX_HOME}" ]]; then exit 1; fi | |
cd ../.. | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y -qq | |
sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0 | |
- name: Compile, burn_cell (VODE, subch_approx) | |
run: | | |
cd unit_test/burn_cell | |
make realclean | |
make NETWORK_DIR=subch_approx -j 4 | |
- name: Run burn_cell (VODE, subch_approx) | |
run: | | |
cd unit_test/burn_cell | |
./main3d.gnu.ex inputs_subch_approx > test.out | |
- name: Compare to stored output (VODE, subch_approx) | |
run: | | |
cd unit_test/burn_cell | |
diff -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/subch_approx_unit_test.out | |
- name: Compile, burn_cell (VODE, ECSN) | |
run: | | |
cd unit_test/burn_cell | |
make realclean | |
make NETWORK_DIR=ECSN -j 4 | |
- name: Run burn_cell (VODE, ECSN) | |
run: | | |
cd unit_test/burn_cell | |
./main3d.gnu.ex inputs_ecsn > test.out | |
- name: Compare to stored output (VODE, ECSN) | |
run: | | |
cd unit_test/burn_cell | |
diff -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/ecsn_unit_test.out | |
- name: Compile, burn_cell (VODE, ignition_chamulak) | |
run: | | |
cd unit_test/burn_cell | |
make realclean | |
make NETWORK_DIR=ignition_chamulak -j 4 | |
- name: Run burn_cell (VODE, ignition_chamulak) | |
run: | | |
cd unit_test/burn_cell | |
./main3d.gnu.ex inputs_ignition_chamulak > test.out | |
- name: Compare to stored output (VODE, ignition_chamulak) | |
run: | | |
cd unit_test/burn_cell | |
diff -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/chamulak_VODE_unit_test.out | |
- name: Compile, burn_cell (ForwardEuler, triple_alpha_plus_cago) | |
run: | | |
cd unit_test/burn_cell | |
make realclean | |
make NETWORK_DIR=triple_alpha_plus_cago INTEGRATOR_DIR=ForwardEuler -j 4 | |
- name: Run burn_cell (ForwardEuler, triple_alpha_plus_cago) | |
run: | | |
cd unit_test/burn_cell | |
./main3d.gnu.ex inputs_triple > test.out | |
- name: Compare to stored output (ForwardEuler, triple_alpha_plus_cago) | |
run: | | |
cd unit_test/burn_cell | |
diff -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/triple_alpha_plus_cago_FE_unit_test.out | |
- name: Compile, burn_cell (BackwardEuler, subch_approx) | |
run: | | |
cd unit_test/burn_cell | |
make realclean | |
make NETWORK_DIR=subch_approx INTEGRATOR_DIR=BackwardEuler -j 4 | |
- name: Run burn_cell (BackwardEuler, subch_approx) | |
run: | | |
cd unit_test/burn_cell | |
./main3d.gnu.ex inputs_subch_approx > test.out | |
- name: Compare to stored output (BackwardEuler, subch_approx) | |
run: | | |
cd unit_test/burn_cell | |
diff -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/subch_approx_BE_unit_test.out | |
- name: Compile, burn_cell (QSS, aprox13) | |
run: | | |
cd unit_test/burn_cell | |
make realclean | |
make NETWORK_DIR=aprox13 INTEGRATOR_DIR=QSS -j 4 | |
- name: Run burn_cell (QSS, aprox13) | |
run: | | |
cd unit_test/burn_cell | |
./main3d.gnu.ex inputs_aprox13 > test.out | |
- name: Compare to stored output (QSS, aprox13) | |
run: | | |
cd unit_test/burn_cell | |
diff -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/aprox13_QSS_unit_test.out | |
- name: Compile, burn_cell (RKC, aprox13) | |
run: | | |
cd unit_test/burn_cell | |
make realclean | |
make NETWORK_DIR=aprox13 INTEGRATOR_DIR=RKC -j 4 | |
- name: Run burn_cell (RKC, aprox13) | |
run: | | |
cd unit_test/burn_cell | |
./main3d.gnu.ex inputs_aprox13 unit_test.temperature=1.e9 > test.out | |
- name: Compare to stored output (RKC, aprox13) | |
run: | | |
cd unit_test/burn_cell | |
diff -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/aprox13_RKC_unit_test.out |