-
Notifications
You must be signed in to change notification settings - Fork 35
139 lines (115 loc) · 4.72 KB
/
burn_cell.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
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 "^Initializing AMReX" -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 "^Initializing AMReX" -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 "^Initializing AMReX" -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 "^Initializing AMReX" -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 "^Initializing AMReX" -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 "^Initializing AMReX" -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 "^Initializing AMReX" -I "^AMReX" -I "^reading in reaclib rates" test.out ci-benchmarks/aprox13_RKC_unit_test.out