-
Notifications
You must be signed in to change notification settings - Fork 42
225 lines (215 loc) · 8.96 KB
/
linux.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
name: PeleLMeX_linux
on:
workflow_dispatch:
push:
branches: [ main, development ]
pull_request:
branches: [ main, development ]
concurrency:
group: ${{ github.ref }}-${{ github.head_ref }}-PeleLMeX_linux
cancel-in-progress: true
jobs:
# Build and Run the EB_FlowPastCylinder RegTest with GNU9.3 and MPI support
#FPC2D:
# name: [email protected] MPI Run [FPC2DDBG]
# runs-on: ubuntu-latest
# env:
# {CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code"}
# steps:
# - uses: actions/checkout@v3
# - name: System Dependencies
# run: .github/workflows/dependencies/dependencies_gcc10.sh
# - name: Repo Dependencies
# run: Utils/CloneDeps.sh
# - name: Build
# env:
# AMREX_HOME: ${GITHUB_WORKSPACE}/build/amrex
# PELE_PHYSICS_HOME: ${GITHUB_WORKSPACE}/build/PelePhysics
# PELELMEX_HOME: ${GITHUB_WORKSPACE}
# AMREX_HYDRO_HOME: ${GITHUB_WORKSPACE}/build/AMReX-Hydro
# SUNDIALS_HOME : ${GITHUB_WORKSPACE}/build/sundials
# working-directory: ./Exec/RegTests/EB_FlowPastCylinder/
# run: |
# make TPL COMP=gnu USE_MPI=TRUE DEBUG=TRUE
# make -j 2 COMP=gnu USE_MPI=TRUE DEBUG=TRUE
# - name: Run
# working-directory: ./Exec/RegTests/EB_FlowPastCylinder/
# run: |
# ./PeleLMeX2d.gnu.DEBUG.MPI.ex input.2d-regt amr.max_step=2 amr.plot_int=-1 amr.check_int=-1 amrex.fpe_trap_invalid=1 amrex.fpe_trap_zero=1 amrex.fpe_trap_overflow=1
# ./PeleLMeX2d.gnu.DEBUG.MPI.ex input.2d-regt_WallBump amr.max_step=2 amr.plot_int=-1 amr.check_int=-1
# make -j 2 COMP=gnu USE_MPI=TRUE
# - name: RunDNS
# working-directory: ./Exec/RegTests/HITDecay/
# run: |
# ./PeleLMeX3d.gnu.MPI.ex input.3d amr.max_step=10 amr.plot_int=-1 amr.check_int=-1
# - name: RunLES_Smago
# working-directory: ./Exec/RegTests/HITDecay/
# run: |
# ./PeleLMeX3d.gnu.MPI.ex input.3d_les amr.max_step=10 amr.plot_int=-1 amr.check_int=-1
# - name: RunLES_WALE
# working-directory: ./Exec/RegTests/HITDecay/
# run: |
# ./PeleLMeX3d.gnu.MPI.ex input.3d_les peleLM.les_model="WALE" amr.max_step=10 amr.plot_int=-1 amr.check_int=-1
# Build and Run the EB_PipeFlow RegTest with GNU9.3 and MPI support
EBPF3D:
name: [email protected] MPI Run [EBPF3D]
runs-on: ubuntu-latest
env:
{CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code"}
steps:
- uses: actions/checkout@v3
- name: System Dependencies
run: .github/workflows/dependencies/dependencies_gcc10.sh
- name: Repo Dependencies
run: Utils/CloneDeps.sh
- name: Build
env:
AMREX_HOME: ${GITHUB_WORKSPACE}/build/amrex
PELE_PHYSICS_HOME: ${GITHUB_WORKSPACE}/build/PelePhysics
PELELMEX_HOME: ${GITHUB_WORKSPACE}
AMREX_HYDRO_HOME: ${GITHUB_WORKSPACE}/build/AMReX-Hydro
SUNDIALS_HOME : ${GITHUB_WORKSPACE}/build/sundials
working-directory: ./Exec/RegTests/EB_PipeFlow/
run: |
make TPL COMP=gnu USE_MPI=TRUE
make -j 2 COMP=gnu USE_MPI=TRUE
- name: Run
working-directory: ./Exec/RegTests/EB_PipeFlow/
run: |
mpirun -n 2 ./PeleLMeX3d.gnu.MPI.ex input.3d-regt amr.max_step=2 amr.plot_int=-1 amr.check_int=-1 amr.n_cell=128 32 32
# Build and Run the EB_BackwardStepFlame RegTest with GNU9.3 and MPI support
EBBFS:
name: [email protected] MPI Run [EBBFS]
runs-on: ubuntu-latest
env:
{CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code"}
steps:
- uses: actions/checkout@v3
- name: System Dependencies
run: .github/workflows/dependencies/dependencies_gcc10.sh
- name: Repo Dependencies
run: Utils/CloneDeps.sh
- name: Build
env:
AMREX_HOME: ${GITHUB_WORKSPACE}/build/amrex
PELE_PHYSICS_HOME: ${GITHUB_WORKSPACE}/build/PelePhysics
PELELMEX_HOME: ${GITHUB_WORKSPACE}
AMREX_HYDRO_HOME: ${GITHUB_WORKSPACE}/build/AMReX-Hydro
SUNDIALS_HOME : ${GITHUB_WORKSPACE}/build/sundials
working-directory: ./Exec/RegTests/EB_BackwardStepFlame/
run: |
make TPL COMP=gnu USE_MPI=TRUE
make -j 2 COMP=gnu USE_MPI=TRUE
- name: Run
working-directory: ./Exec/RegTests/EB_BackwardStepFlame/
run: |
mpirun -n 2 ./PeleLMeX2d.gnu.MPI.ex input.2d amr.max_step=2 amr.plot_int=-1 amr.check_int=-1
# Build and Run the Efield flamesheet with GNU9.3 and MPI support
EFIELD:
name: [email protected] MPI Run [EFIELD]
runs-on: ubuntu-latest
env:
{CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code"}
steps:
- uses: actions/checkout@v3
- name: System Dependencies
run: .github/workflows/dependencies/dependencies_gcc10.sh
- name: Repo Dependencies
run: Utils/CloneDeps.sh
- name: Build
env:
AMREX_HOME: ${GITHUB_WORKSPACE}/build/amrex
PELE_PHYSICS_HOME: ${GITHUB_WORKSPACE}/build/PelePhysics
PELELMEX_HOME: ${GITHUB_WORKSPACE}
AMREX_HYDRO_HOME: ${GITHUB_WORKSPACE}/build/AMReX-Hydro
SUNDIALS_HOME : ${GITHUB_WORKSPACE}/build/sundials
working-directory: ./Exec/Efield/FlameSheetIons
run: |
make TPL COMP=gnu USE_MPI=TRUE
make -j 2 COMP=gnu USE_MPI=TRUE
- name: Run
working-directory: ./Exec/Efield/FlameSheetIons
run: |
mpirun -n 2 ./PeleLMeX2d.gnu.MPI.EF.ex input.2d-regt amr.max_step=2 amr.plot_int=-1 amr.check_int=-1
# Build and Run the TurbInflow RegTest in DEBUG with GNU9.3 and MPI support
TI3D:
name: [email protected] MPI Run [TI3DDBG]
runs-on: ubuntu-latest
env:
{CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code"}
steps:
- uses: actions/checkout@v3
- name: System Dependencies
run: .github/workflows/dependencies/dependencies_gcc10.sh
- name: Repo Dependencies
run: Utils/CloneDeps.sh
- name: GenerateTurbFile
env:
AMREX_HOME: ${GITHUB_WORKSPACE}/build/amrex
PELE_PHYSICS_HOME: ${GITHUB_WORKSPACE}/build/PelePhysics
PELELMEX_HOME: ${GITHUB_WORKSPACE}
AMREX_HYDRO_HOME: ${GITHUB_WORKSPACE}/build/AMReX-Hydro
SUNDIALS_HOME : ${GITHUB_WORKSPACE}/build/sundials
working-directory: ./Exec/RegTests/TurbInflow/TurbFileHIT
run: |
make -j 2 COMP=gnu
./PeleTurb3d.gnu.ex input hit_file=../../HITDecay/hit_ic_4_32.dat input_ncell=32
- name: Build
env:
AMREX_HOME: ${GITHUB_WORKSPACE}/build/amrex
PELE_PHYSICS_HOME: ${GITHUB_WORKSPACE}/build/PelePhysics
PELELMEX_HOME: ${GITHUB_WORKSPACE}
AMREX_HYDRO_HOME: ${GITHUB_WORKSPACE}/build/AMReX-Hydro
SUNDIALS_HOME : ${GITHUB_WORKSPACE}/build/sundials
working-directory: ./Exec/RegTests/TurbInflow/
run: |
make TPL COMP=gnu USE_MPI=TRUE DEBUG=TRUE
make -j 2 COMP=gnu USE_MPI=TRUE DEBUG=TRUE
- name: Run
working-directory: ./Exec/RegTests/TurbInflow/
run: |
mpirun -n 2 ./PeleLMeX3d.gnu.DEBUG.MPI.ex input.3d peleLM.num_init_iter=1 amr.n_cell=32 32 32 amr.max_step=2 amr.plot_int=-1 amr.check_int=-1
mpirun -n 2 ./PeleLMeX3d.gnu.DEBUG.MPI.ex input.3d_twoInjs peleLM.num_init_iter=1 amr.n_cell=32 32 32 amr.max_step=2 amr.plot_int=-1 amr.check_int=-1
mpirun -n 2 ./PeleLMeX3d.gnu.DEBUG.MPI.ex input.3d_posX peleLM.num_init_iter=1 amr.n_cell=32 32 32 amr.max_step=2 amr.plot_int=-1 amr.check_int=-1
mpirun -n 2 ./PeleLMeX3d.gnu.DEBUG.MPI.ex input.3d_BoxLoZ peleLM.num_init_iter=1 amr.n_cell=32 32 32 amr.max_step=2 amr.plot_int=-1 amr.check_int=-1
# Build and Run the SprayTest RegTest with GNU9.3 and MPI support
SPRAY:
name: [email protected] MPI Run [SPRAY]
runs-on: ubuntu-latest
env:
{CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code"}
steps:
- uses: actions/checkout@v3
- name: System Dependencies
run: |
.github/workflows/dependencies/dependencies_gcc10.sh
sudo apt-get install -y python3-setuptools
python3 -m pip install --user numpy
python3 -m pip install --user argparse
- name: Repo Dependencies
run: Utils/CloneDeps.sh
- name: Build AMReX Tools
env:
AMREX_HOME: ${GITHUB_WORKSPACE}/build/amrex
working-directory: ./build/amrex/Tools/Plotfile
run: |
make
- name: Build PeleLMeX
env:
AMREX_HOME: ${GITHUB_WORKSPACE}/build/amrex
PELE_PHYSICS_HOME: ${GITHUB_WORKSPACE}/build/PelePhysics
PELELMEX_HOME: ${GITHUB_WORKSPACE}
AMREX_HYDRO_HOME: ${GITHUB_WORKSPACE}/build/AMReX-Hydro
SUNDIALS_HOME : ${GITHUB_WORKSPACE}/build/sundials
PELEMP_HOME: ${GITHUB_WORKSPACE}/build/PeleMP
working-directory: ./Exec/RegTests/SprayTest/
run: |
make TPL COMP=gnu USE_MPI=TRUE
make -j 2 COMP=gnu USE_MPI=TRUE
- name: Run
working-directory: ./Exec/RegTests/SprayTest/
run: |
cp ${GITHUB_WORKSPACE}/build/amrex/Tools/Plotfile/fcompare.gnu.ex .
sed -i "s/mpiexec -n 1/mpiexec -n 2/g" multiRuns.py
./multiRuns.py
./compareOutput.py