Skip to content

Commit 8af32f6

Browse files
authored
Merge branch 'master' into an/update-xcode
2 parents fea01ca + beeab68 commit 8af32f6

4 files changed

Lines changed: 69 additions & 328 deletions

File tree

.github/workflows/mac.yml

Lines changed: 6 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -112,46 +112,14 @@ jobs:
112112
run: |
113113
mkdir -p install
114114
tar -xzvf macos-clang-sanitizer-install.tar.gz -C install
115-
- name: Run func tests (MPI, num_proc=1)
116-
run: python3 scripts/run_tests.py --running-type="processes"
115+
- name: Run func tests (MPI)
116+
run: python3 scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
117117
env:
118-
PPC_NUM_PROC: 1
119-
PPC_NUM_THREADS: 3
120-
- name: Run func tests (MPI, num_proc=2)
121-
run: python3 scripts/run_tests.py --running-type="processes"
122-
env:
123-
PPC_NUM_PROC: 2
124-
PPC_NUM_THREADS: 2
125-
- name: Run func tests (MPI, num_proc=3)
126-
run: python3 scripts/run_tests.py --running-type="processes"
127-
env:
128-
PPC_NUM_PROC: 3
129-
PPC_NUM_THREADS: 1
130-
- name: Run func tests (MPI, num_proc=4)
131-
run: python3 scripts/run_tests.py --running-type="processes"
132-
env:
133-
PPC_NUM_PROC: 4
134118
PPC_NUM_THREADS: 1
135-
- name: Run tests (threads, num_threads=1)
136-
run: python3 scripts/run_tests.py --running-type="threads"
137-
env:
138-
PPC_NUM_PROC: 1
139-
PPC_NUM_THREADS: 1
140-
- name: Run tests (threads, num_threads=2)
141-
run: python3 scripts/run_tests.py --running-type="threads"
142-
env:
143-
PPC_NUM_PROC: 1
144-
PPC_NUM_THREADS: 2
145-
- name: Run tests (threads, num_threads=3)
146-
run: python3 scripts/run_tests.py --running-type="threads"
147-
env:
148-
PPC_NUM_PROC: 1
149-
PPC_NUM_THREADS: 3
150-
- name: Run tests (threads, num_threads=4)
151-
run: python3 scripts/run_tests.py --running-type="threads"
119+
- name: Run tests (threads)
120+
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
152121
env:
153122
PPC_NUM_PROC: 1
154-
PPC_NUM_THREADS: 4
155123
macos-clang-test-extended:
156124
needs:
157125
- macos-clang-test
@@ -178,23 +146,7 @@ jobs:
178146
run: |
179147
mkdir -p install
180148
tar -xzvf macos-clang-sanitizer-install.tar.gz -C install
181-
- name: Run tests (threads, num_threads=5)
182-
run: python3 scripts/run_tests.py --running-type="threads"
183-
env:
184-
PPC_NUM_PROC: 1
185-
PPC_NUM_THREADS: 5
186-
- name: Run tests (threads, num_threads=7)
187-
run: python3 scripts/run_tests.py --running-type="threads"
188-
env:
189-
PPC_NUM_PROC: 1
190-
PPC_NUM_THREADS: 7
191-
- name: Run tests (threads, num_threads=11)
192-
run: python3 scripts/run_tests.py --running-type="threads"
193-
env:
194-
PPC_NUM_PROC: 1
195-
PPC_NUM_THREADS: 11
196-
- name: Run tests (threads, num_threads=13)
197-
run: python3 scripts/run_tests.py --running-type="threads"
149+
- name: Run tests (threads extended)
150+
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
198151
env:
199152
PPC_NUM_PROC: 1
200-
PPC_NUM_THREADS: 13

.github/workflows/ubuntu.yml

Lines changed: 19 additions & 176 deletions
Original file line numberDiff line numberDiff line change
@@ -114,46 +114,14 @@ jobs:
114114
run: |
115115
mkdir -p install
116116
tar -xzvf ubuntu-gcc-install-${{ matrix.os }}.tar.gz -C install
117-
- name: Run func tests (MPI, num_proc=1)
118-
run: python3 scripts/run_tests.py --running-type="processes"
119-
env:
120-
PPC_NUM_PROC: 1
121-
PPC_NUM_THREADS: 3
122-
- name: Run func tests (MPI, num_proc=2)
123-
run: python3 scripts/run_tests.py --running-type="processes"
124-
env:
125-
PPC_NUM_PROC: 2
126-
PPC_NUM_THREADS: 2
127-
- name: Run func tests (MPI, num_proc=3)
128-
run: python3 scripts/run_tests.py --running-type="processes"
129-
env:
130-
PPC_NUM_PROC: 3
131-
PPC_NUM_THREADS: 1
132-
- name: Run func tests (MPI, num_proc=4)
133-
run: python3 scripts/run_tests.py --running-type="processes"
117+
- name: Run func tests (MPI)
118+
run: python3 scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
134119
env:
135-
PPC_NUM_PROC: 4
136120
PPC_NUM_THREADS: 1
137-
- name: Run func tests (threads, num_threads=1)
138-
run: python3 scripts/run_tests.py --running-type="threads"
121+
- name: Run func tests (threads)
122+
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
139123
env:
140124
PPC_NUM_PROC: 1
141-
PPC_NUM_THREADS: 1
142-
- name: Run func tests (threads, num_threads=2)
143-
run: python3 scripts/run_tests.py --running-type="threads"
144-
env:
145-
PPC_NUM_PROC: 1
146-
PPC_NUM_THREADS: 2
147-
- name: Run func tests (threads, num_threads=3)
148-
run: python3 scripts/run_tests.py --running-type="threads"
149-
env:
150-
PPC_NUM_PROC: 1
151-
PPC_NUM_THREADS: 3
152-
- name: Run func tests (threads, num_threads=4)
153-
run: python3 scripts/run_tests.py --running-type="threads"
154-
env:
155-
PPC_NUM_PROC: 1
156-
PPC_NUM_THREADS: 4
157125
ubuntu-gcc-test-extended:
158126
needs:
159127
- ubuntu-gcc-test
@@ -176,26 +144,10 @@ jobs:
176144
run: |
177145
mkdir -p install
178146
tar -xzvf ubuntu-gcc-install-${{ matrix.os }}.tar.gz -C install
179-
- name: Run func tests (threads, num_threads=5)
180-
run: python3 scripts/run_tests.py --running-type="threads"
147+
- name: Run func tests (threads extended)
148+
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
181149
env:
182150
PPC_NUM_PROC: 1
183-
PPC_NUM_THREADS: 5
184-
- name: Run func tests (threads, num_threads=7)
185-
run: python3 scripts/run_tests.py --running-type="threads"
186-
env:
187-
PPC_NUM_PROC: 1
188-
PPC_NUM_THREADS: 7
189-
- name: Run func tests (threads, num_threads=11)
190-
run: python3 scripts/run_tests.py --running-type="threads"
191-
env:
192-
PPC_NUM_PROC: 1
193-
PPC_NUM_THREADS: 11
194-
- name: Run func tests (threads, num_threads=13)
195-
run: python3 scripts/run_tests.py --running-type="threads"
196-
env:
197-
PPC_NUM_PROC: 1
198-
PPC_NUM_THREADS: 13
199151
ubuntu-clang-build:
200152
runs-on: ${{ matrix.os }}
201153
strategy:
@@ -264,46 +216,14 @@ jobs:
264216
run: |
265217
mkdir -p install
266218
tar -xzvf ubuntu-clang-install-${{ matrix.os }}.tar.gz -C install
267-
- name: Run func tests (MPI, num_proc=1)
268-
run: python3 scripts/run_tests.py --running-type="processes"
269-
env:
270-
PPC_NUM_PROC: 1
271-
PPC_NUM_THREADS: 3
272-
- name: Run func tests (MPI, num_proc=2)
273-
run: python3 scripts/run_tests.py --running-type="processes"
274-
env:
275-
PPC_NUM_PROC: 2
276-
PPC_NUM_THREADS: 2
277-
- name: Run func tests (MPI, num_proc=3)
278-
run: python3 scripts/run_tests.py --running-type="processes"
219+
- name: Run func tests (MPI)
220+
run: python3 scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
279221
env:
280-
PPC_NUM_PROC: 3
281222
PPC_NUM_THREADS: 1
282-
- name: Run func tests (MPI, num_proc=4)
283-
run: python3 scripts/run_tests.py --running-type="processes"
284-
env:
285-
PPC_NUM_PROC: 4
286-
PPC_NUM_THREADS: 1
287-
- name: Run tests (threads, num_threads=1)
288-
run: python3 scripts/run_tests.py --running-type="threads"
289-
env:
290-
PPC_NUM_PROC: 1
291-
PPC_NUM_THREADS: 1
292-
- name: Run tests (threads, num_threads=2)
293-
run: python3 scripts/run_tests.py --running-type="threads"
223+
- name: Run tests (threads)
224+
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
294225
env:
295226
PPC_NUM_PROC: 1
296-
PPC_NUM_THREADS: 2
297-
- name: Run tests (threads, num_threads=3)
298-
run: python3 scripts/run_tests.py --running-type="threads"
299-
env:
300-
PPC_NUM_PROC: 1
301-
PPC_NUM_THREADS: 3
302-
- name: Run tests (threads, num_threads=4)
303-
run: python3 scripts/run_tests.py --running-type="threads"
304-
env:
305-
PPC_NUM_PROC: 1
306-
PPC_NUM_THREADS: 4
307227
ubuntu-clang-test-extended:
308228
needs:
309229
- ubuntu-clang-test
@@ -328,26 +248,10 @@ jobs:
328248
run: |
329249
mkdir -p install
330250
tar -xzvf ubuntu-clang-install-${{ matrix.os }}.tar.gz -C install
331-
- name: Run tests (threads, num_threads=5)
332-
run: python3 scripts/run_tests.py --running-type="threads"
333-
env:
334-
PPC_NUM_PROC: 1
335-
PPC_NUM_THREADS: 5
336-
- name: Run tests (threads, num_threads=7)
337-
run: python3 scripts/run_tests.py --running-type="threads"
251+
- name: Run tests (threads extended)
252+
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
338253
env:
339254
PPC_NUM_PROC: 1
340-
PPC_NUM_THREADS: 7
341-
- name: Run tests (threads, num_threads=11)
342-
run: python3 scripts/run_tests.py --running-type="threads"
343-
env:
344-
PPC_NUM_PROC: 1
345-
PPC_NUM_THREADS: 11
346-
- name: Run tests (threads, num_threads=13)
347-
run: python3 scripts/run_tests.py --running-type="threads"
348-
env:
349-
PPC_NUM_PROC: 1
350-
PPC_NUM_THREADS: 13
351255
ubuntu-clang-sanitizer-build:
352256
needs:
353257
- ubuntu-clang-build
@@ -423,42 +327,16 @@ jobs:
423327
mkdir -p install
424328
tar -xzvf ubuntu-clang-sanitizer-install-${{ matrix.os }}.tar.gz -C install
425329
- name: Run tests (MPI)
426-
run: python3 scripts/run_tests.py --running-type="processes" --additional-mpi-args="--oversubscribe"
330+
run: python3 scripts/run_tests.py --running-type="processes" --counts 2 --additional-mpi-args="--oversubscribe"
427331
env:
428-
PPC_NUM_PROC: 2
429332
PPC_NUM_THREADS: 2
430333
PPC_ASAN_RUN: 1
431334
ASAN_OPTIONS: abort_on_error=1
432335
UBSAN_OPTIONS: halt_on_error=1
433-
- name: Run tests (threads, num_threads=1)
434-
run: python3 scripts/run_tests.py --running-type="threads"
435-
env:
436-
PPC_NUM_PROC: 1
437-
PPC_NUM_THREADS: 1
438-
PPC_ASAN_RUN: 1
439-
ASAN_OPTIONS: abort_on_error=1
440-
UBSAN_OPTIONS: halt_on_error=1
441-
- name: Run tests (threads, num_threads=2)
442-
run: python3 scripts/run_tests.py --running-type="threads"
443-
env:
444-
PPC_NUM_PROC: 1
445-
PPC_NUM_THREADS: 2
446-
PPC_ASAN_RUN: 1
447-
ASAN_OPTIONS: abort_on_error=1
448-
UBSAN_OPTIONS: halt_on_error=1
449-
- name: Run tests (threads, num_threads=3)
450-
run: python3 scripts/run_tests.py --running-type="threads"
451-
env:
452-
PPC_NUM_PROC: 1
453-
PPC_NUM_THREADS: 3
454-
PPC_ASAN_RUN: 1
455-
ASAN_OPTIONS: abort_on_error=1
456-
UBSAN_OPTIONS: halt_on_error=1
457-
- name: Run tests (threads, num_threads=4)
458-
run: python3 scripts/run_tests.py --running-type="threads"
336+
- name: Run tests (threads)
337+
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
459338
env:
460339
PPC_NUM_PROC: 1
461-
PPC_NUM_THREADS: 4
462340
PPC_ASAN_RUN: 1
463341
ASAN_OPTIONS: abort_on_error=1
464342
UBSAN_OPTIONS: halt_on_error=1
@@ -487,29 +365,10 @@ jobs:
487365
run: |
488366
mkdir -p install
489367
tar -xzvf ubuntu-clang-sanitizer-install-${{ matrix.os }}.tar.gz -C install
490-
- name: Run tests (threads, num_threads=5)
491-
run: python3 scripts/run_tests.py --running-type="threads"
368+
- name: Run tests (threads extended)
369+
run: python3 scripts/run_tests.py --running-type="threads" --counts 5 7 11 13
492370
env:
493371
PPC_NUM_PROC: 1
494-
PPC_NUM_THREADS: 5
495-
PPC_ASAN_RUN: 1
496-
- name: Run tests (threads, num_threads=7)
497-
run: python3 scripts/run_tests.py --running-type="threads"
498-
env:
499-
PPC_NUM_PROC: 1
500-
PPC_NUM_THREADS: 7
501-
PPC_ASAN_RUN: 1
502-
- name: Run tests (threads, num_threads=11)
503-
run: python3 scripts/run_tests.py --running-type="threads"
504-
env:
505-
PPC_NUM_PROC: 1
506-
PPC_NUM_THREADS: 11
507-
PPC_ASAN_RUN: 1
508-
- name: Run tests (threads, num_threads=13)
509-
run: python3 scripts/run_tests.py --running-type="threads"
510-
env:
511-
PPC_NUM_PROC: 1
512-
PPC_NUM_THREADS: 13
513372
PPC_ASAN_RUN: 1
514373
ubuntu-gcc-build-codecov:
515374
needs:
@@ -545,26 +404,10 @@ jobs:
545404
env:
546405
PPC_NUM_PROC: 2
547406
PPC_NUM_THREADS: 2
548-
- name: Run tests (threads, num_threads=1)
549-
run: python3 scripts/run_tests.py --running-type="threads"
550-
env:
551-
PPC_NUM_PROC: 1
552-
PPC_NUM_THREADS: 1
553-
- name: Run tests (threads, num_threads=2)
554-
run: python3 scripts/run_tests.py --running-type="threads"
555-
env:
556-
PPC_NUM_PROC: 1
557-
PPC_NUM_THREADS: 2
558-
- name: Run tests (threads, num_threads=3)
559-
run: python3 scripts/run_tests.py --running-type="threads"
560-
env:
561-
PPC_NUM_PROC: 1
562-
PPC_NUM_THREADS: 3
563-
- name: Run tests (threads, num_threads=4)
564-
run: python3 scripts/run_tests.py --running-type="threads"
407+
- name: Run tests (threads)
408+
run: python3 scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
565409
env:
566410
PPC_NUM_PROC: 1
567-
PPC_NUM_THREADS: 4
568411
- name: Generate gcovr Coverage Data
569412
run: |
570413
mkdir cov-report

0 commit comments

Comments
 (0)