Skip to content

Commit 0e1495c

Browse files
authored
Merge pull request #2360 from su2code/develop
update master
2 parents ef8e968 + a991912 commit 0e1495c

File tree

1,043 files changed

+6767
-4236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,043 files changed

+6767
-4236
lines changed

.github/workflows/regression.yml

Lines changed: 98 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ jobs:
5252
key: ${{ matrix.config_set }}-${{ github.sha }}
5353
restore-keys: ${{ matrix.config_set }}
5454
- name: Pre Cleanup
55-
uses: docker://ghcr.io/su2code/su2/build-su2:230813-0103
55+
uses: docker://ghcr.io/su2code/su2/build-su2:240320-1536
5656
with:
5757
entrypoint: /bin/rm
5858
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
5959
- name: Build
60-
uses: docker://ghcr.io/su2code/su2/build-su2:230813-0103
60+
uses: docker://ghcr.io/su2code/su2/build-su2:240320-1536
6161
with:
6262
args: -b ${{github.ref}} -f "${{matrix.flags}}"
6363
- name: Compress binaries
@@ -68,7 +68,7 @@ jobs:
6868
name: ${{ matrix.config_set }}
6969
path: install_bin.tgz
7070
- name: Post Cleanup
71-
uses: docker://ghcr.io/su2code/su2/build-su2:230813-0103
71+
uses: docker://ghcr.io/su2code/su2/build-su2:240320-1536
7272
with:
7373
entrypoint: /bin/rm
7474
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -95,12 +95,12 @@ jobs:
9595
key: ${{ matrix.config_set }}-${{ github.sha }}
9696
restore-keys: ${{ matrix.config_set }}
9797
- name: Pre Cleanup
98-
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:230813-0103
98+
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:240320-1536
9999
with:
100100
entrypoint: /bin/rm
101101
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
102102
- name: Build
103-
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:230813-0103
103+
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:240320-1536
104104
with:
105105
args: -b ${{github.ref}} -f "${{matrix.flags}}"
106106
- name: Compress binaries
@@ -111,7 +111,45 @@ jobs:
111111
name: ${{ matrix.config_set }}
112112
path: install_bin.tgz
113113
- name: Post Cleanup
114-
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:230813-0103
114+
uses: docker://ghcr.io/su2code/su2/build-su2-tsan:240320-1536
115+
with:
116+
entrypoint: /bin/rm
117+
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
118+
build_asan:
119+
name: Build SU2 (asan)
120+
strategy:
121+
fail-fast: false
122+
matrix:
123+
config_set: [BaseNoMPI-asan, ReverseNoMPI-asan]
124+
include:
125+
- config_set: BaseNoMPI-asan
126+
flags: '--buildtype=debugoptimized -Denable-openblas=true -Dwith-mpi=disabled -Denable-mlpcpp=true --warnlevel=3 --werror'
127+
- config_set: ReverseNoMPI-asan
128+
flags: '--buildtype=debugoptimized -Denable-autodiff=true -Denable-normal=false -Dwith-mpi=disabled --warnlevel=3 --werror'
129+
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
130+
steps:
131+
- name: Cache Object Files
132+
uses: actions/cache@v4
133+
with:
134+
path: ccache
135+
key: ${{ matrix.config_set }}-${{ github.sha }}
136+
restore-keys: ${{ matrix.config_set }}
137+
- name: Pre Cleanup
138+
uses: docker://ghcr.io/su2code/su2/build-su2-asan:240320-1536
139+
with:
140+
entrypoint: /bin/rm
141+
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
142+
- name: Build
143+
run: docker run --rm --cap-add SYS_PTRACE -v $(pwd):${{ github.workspace }} -w ${{ github.workspace }} ghcr.io/su2code/su2/build-su2-asan:240320-1536 -b ${{github.ref}} -f "${{matrix.flags}}"
144+
- name: Compress binaries
145+
run: tar -zcvf install_bin.tgz install/*
146+
- name: Upload Binaries
147+
uses: actions/upload-artifact@v4
148+
with:
149+
name: ${{ matrix.config_set }}
150+
path: install_bin.tgz
151+
- name: Post Cleanup
152+
uses: docker://ghcr.io/su2code/su2/build-su2-asan:240320-1536
115153
with:
116154
entrypoint: /bin/rm
117155
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -142,7 +180,7 @@ jobs:
142180
tag: OMP
143181
steps:
144182
- name: Pre Cleanup
145-
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
183+
uses: docker://ghcr.io/su2code/su2/test-su2:240320-1536
146184
with:
147185
entrypoint: /bin/rm
148186
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -168,12 +206,12 @@ jobs:
168206
chmod a+x $BIN_FOLDER/*
169207
ls -lahR $BIN_FOLDER
170208
- name: Run Tests in Container
171-
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
209+
uses: docker://ghcr.io/su2code/su2/test-su2:240320-1536
172210
with:
173211
# -t <Tutorials-branch> -c <Testcases-branch>
174212
args: -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}}
175213
- name: Cleanup
176-
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
214+
uses: docker://ghcr.io/su2code/su2/test-su2:240320-1536
177215
with:
178216
entrypoint: /bin/rm
179217
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -188,7 +226,7 @@ jobs:
188226
testscript: ['hybrid_regression.py', 'hybrid_regression_AD.py']
189227
steps:
190228
- name: Pre Cleanup
191-
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:230813-0103
229+
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:240320-1536
192230
with:
193231
entrypoint: /bin/rm
194232
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -214,12 +252,57 @@ jobs:
214252
chmod a+x $BIN_FOLDER/*
215253
ls -lahR $BIN_FOLDER
216254
- name: Run Tests in Container
217-
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:230813-0103
255+
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:240320-1536
218256
with:
219257
# -t <Tutorials-branch> -c <Testcases-branch>
220258
args: -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}} -a "--tsan"
221259
- name: Cleanup
222-
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:230813-0103
260+
uses: docker://ghcr.io/su2code/su2/test-su2-tsan:240320-1536
261+
with:
262+
entrypoint: /bin/rm
263+
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
264+
address_sanitizer_tests:
265+
runs-on: ${{ inputs.runner || 'ubuntu-latest' }}
266+
name: Address Sanitizer Tests
267+
needs: build_asan
268+
strategy:
269+
fail-fast: false
270+
matrix:
271+
testscript: ['serial_regression.py', 'serial_regression_AD.py']
272+
steps:
273+
- name: Pre Cleanup
274+
uses: docker://ghcr.io/su2code/su2/test-su2-asan:240320-1536
275+
with:
276+
entrypoint: /bin/rm
277+
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
278+
- name: Download All artifacts
279+
uses: actions/download-artifact@v4
280+
- name: Uncompress and Move Binaries
281+
run: |
282+
BIN_FOLDER="$PWD/install/bin"
283+
mkdir -p $BIN_FOLDER
284+
ls -lah $BIN_FOLDER
285+
for type in Base Reverse Forward; do
286+
TYPE_FOLDER="${type}NoMPI-asan"
287+
echo "Processing '$TYPE_FOLDER' ..."
288+
if [ -d $TYPE_FOLDER ]; then
289+
pushd $TYPE_FOLDER
290+
ls -lah
291+
tar -zxvf install_bin.tgz
292+
ls -lah install/bin/
293+
cp -r install/* $BIN_FOLDER/../
294+
popd;
295+
fi
296+
done
297+
chmod a+x $BIN_FOLDER/*
298+
ls -lahR $BIN_FOLDER
299+
- name: Run Tests in Container
300+
uses: docker://ghcr.io/su2code/su2/test-su2-asan:240320-1536
301+
with:
302+
# -t <Tutorials-branch> -c <Testcases-branch>
303+
args: -b ${{github.ref}} -t develop -c develop -s ${{matrix.testscript}} -a "--asan"
304+
- name: Cleanup
305+
uses: docker://ghcr.io/su2code/su2/test-su2-asan:240320-1536
223306
with:
224307
entrypoint: /bin/rm
225308
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -240,7 +323,7 @@ jobs:
240323
tag: MPI
241324
steps:
242325
- name: Pre Cleanup
243-
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
326+
uses: docker://ghcr.io/su2code/su2/test-su2:240320-1536
244327
with:
245328
entrypoint: /bin/rm
246329
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}
@@ -301,11 +384,11 @@ jobs:
301384
echo $PWD
302385
ls -lahR
303386
- name: Run Unit Tests
304-
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
387+
uses: docker://ghcr.io/su2code/su2/test-su2:240320-1536
305388
with:
306389
entrypoint: install/bin/${{matrix.testdriver}}
307390
- name: Post Cleanup
308-
uses: docker://ghcr.io/su2code/su2/test-su2:230813-0103
391+
uses: docker://ghcr.io/su2code/su2/test-su2:240320-1536
309392
with:
310393
entrypoint: /bin/rm
311394
args: -rf install install_bin.tgz src ccache ${{ matrix.config_set }}

AUTHORS.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ Daumantas Kavolis
6969
Dave Taflin
7070
Eduardo Molina
7171
Edwin van der Weide
72+
Eitan Aberman
7273
Ethan Alan Hereth
7374
Florian Dittmann
7475
Filip Hahs
@@ -108,6 +109,7 @@ Max Sagebaum
108109
Michele Gaffuri
109110
Mickael Philit
110111
Mladen Banovic
112+
Mor
111113
Nat-1
112114
Nicola Fonzi
113115
Nijso Beishuizen
@@ -137,6 +139,7 @@ Trent Lukaczyk
137139
Vinzenz Götz
138140
VivaanKhatri
139141
Wally Maier
142+
Yair Mor-Yossef
140143
Y. Chandukrishna
141144
Zan Xu
142145
Zcaic

0 commit comments

Comments
 (0)