Skip to content

Commit 1e966c8

Browse files
committed
Merge branch 'development' into change_ionization_balance
2 parents 3184721 + 20d29aa commit 1e966c8

File tree

756 files changed

+31328
-15618
lines changed

Some content is hidden

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

756 files changed

+31328
-15618
lines changed

.azure-pipelines.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,21 @@ trigger:
77
branches:
88
include:
99
- development
10+
paths:
11+
exclude:
12+
- 'Docs/**'
13+
- 'Tools/machines/**'
14+
- '**/*.rst'
15+
- '**/*.md'
1016
pr:
1117
autoCancel: true
1218
drafts: false
1319
paths:
1420
exclude:
15-
- Docs
21+
- 'Docs/**'
22+
- 'Tools/machines/**'
1623
- '**/*.rst'
24+
- '**/*.md'
1725

1826
jobs:
1927
- job:

.github/ISSUE_TEMPLATE/blank_issue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Blank issue
2+
name: 🗒️ Blank issue
33
about: Ask us a question
44
labels: [question]
55
---

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Bug report
2+
name: 🐛 Bug report
33
about: Report a bug or unexpected behavior.
44
labels: [bug]
55
---

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Feature request
2+
name: 💡 Feature request
33
about: Suggest a new feature or enhancement.
44
labels: [enhancement]
55
---

.github/ISSUE_TEMPLATE/installation-issue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Installation issue
2+
name: 🔧 Installation issue
33
about: Report an issue with installing or setting up WarpX.
44
labels: [install]
55
---

.github/workflows/check_changes.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ jobs:
2020
filters: |
2121
non_docs:
2222
- '!Docs/**'
23-
- '!**.md'
23+
- '!Tools/machines/**'
2424
- '!**.rst'
25+
- '!**.md'
2526
predicate-quantifier: 'every'
2627
- id: set-output
2728
run: |

.github/workflows/clang_sanitizers.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- "development"
77
pull_request:
8+
types: [opened, synchronize, reopened, ready_for_review]
89

910
concurrency:
1011
group: ${{ github.ref }}-${{ github.head_ref }}-clangsanitizers
@@ -71,11 +72,12 @@ jobs:
7172
#MPI implementations often leak memory
7273
export "ASAN_OPTIONS=detect_leaks=0"
7374
74-
mpirun -n 2 ./build/bin/warpx.rz Examples/Physics_applications/laser_acceleration/inputs_base_rz
75-
mpirun -n 2 ./build/bin/warpx.1d Examples/Physics_applications/laser_acceleration/inputs_base_1d
76-
mpirun -n 2 ./build/bin/warpx.2d Examples/Physics_applications/laser_acceleration/inputs_base_2d
77-
mpirun -n 2 ./build/bin/warpx.3d Examples/Physics_applications/laser_acceleration/inputs_base_3d
78-
mpirun -n 2 ./build/bin/warpx.2d Examples/Tests/implicit/inputs_test_2d_theta_implicit_jfnk_vandb
75+
# Print stacktrace for easier debugging
76+
export UBSAN_OPTIONS=print_stacktrace=1
77+
78+
git clone https://github.com/ECP-WarpX/warpx-data ../warpx-data
79+
80+
ctest --test-dir build/Examples/Physics_applications/ -R ".*\.run" --output-on-failure
7981
8082
build_thread_sanitizer:
8183
name: Clang thread sanitizer

.github/workflows/clang_tidy.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- "development"
77
pull_request:
8+
types: [opened, synchronize, reopened, ready_for_review]
89

910
concurrency:
1011
group: ${{ github.ref }}-${{ github.head_ref }}-clangtidy
@@ -24,31 +25,33 @@ jobs:
2425
runs-on: ubuntu-24.04
2526
timeout-minutes: 250
2627
needs: check_changes
27-
if: ${{ github.event.pull_request.draft == false && needs.check_changes.outputs.has_non_docs_changes == 'true' }}
28+
if: ${{ github.event.pull_request.draft == false }}
2829
steps:
2930
- uses: actions/checkout@v4
31+
if: ${{ needs.check_changes.outputs.has_non_docs_changes == 'true' }}
3032
- name: install dependencies
33+
if: ${{ needs.check_changes.outputs.has_non_docs_changes == 'true' }}
3134
run: |
3235
.github/workflows/dependencies/clang.sh 17
3336
- name: set up cache
37+
if: ${{ needs.check_changes.outputs.has_non_docs_changes == 'true' }}
3438
uses: actions/cache@v4
3539
with:
3640
path: ~/.cache/ccache
3741
key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }}
3842
restore-keys: |
3943
ccache-${{ github.workflow }}-${{ github.job }}-git-
4044
- name: build WarpX & run clang-tidy
45+
if: ${{ needs.check_changes.outputs.has_non_docs_changes == 'true' }}
4146
run: |
4247
export CCACHE_COMPRESS=1
4348
export CCACHE_COMPRESSLEVEL=10
4449
export CCACHE_MAXSIZE=300M
4550
export CCACHE_EXTRAFILES=${{ github.workspace }}/.clang-tidy
4651
export CCACHE_LOGFILE=${{ github.workspace }}/ccache.log.txt
4752
ccache -z
48-
4953
export CXX=$(which clang++-17)
5054
export CC=$(which clang-17)
51-
5255
cmake -S . -B build_clang_tidy \
5356
-DCMAKE_VERBOSE_MAKEFILE=ON \
5457
-DWarpX_DIMS="${{ matrix.dim }}" \
@@ -60,13 +63,10 @@ jobs:
6063
-DWarpX_OPENPMD=ON \
6164
-DWarpX_PRECISION=SINGLE \
6265
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
63-
6466
cmake --build build_clang_tidy -j 4
65-
6667
${{github.workspace}}/.github/workflows/source/makeMakefileForClangTidy.py --input ${{github.workspace}}/ccache.log.txt
6768
make -j4 --keep-going -f clang-tidy-ccache-misses.mak \
6869
CLANG_TIDY=clang-tidy-17 \
6970
CLANG_TIDY_ARGS="--config-file=${{github.workspace}}/.clang-tidy --warnings-as-errors=*"
70-
7171
ccache -s
7272
du -hs ~/.cache/ccache

.github/workflows/codeql.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
branches: [ "development" ]
66
pull_request:
77
branches: [ "development" ]
8-
schedule:
9-
- cron: "27 3 * * 0"
8+
types: [opened, synchronize, reopened, ready_for_review]
109

1110
concurrency:
1211
group: ${{ github.ref }}-${{ github.head_ref }}-codeql

.github/workflows/cuda.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- "development"
77
pull_request:
8+
types: [opened, synchronize, reopened, ready_for_review]
89

910
concurrency:
1011
group: ${{ github.ref }}-${{ github.head_ref }}-cuda
@@ -127,7 +128,9 @@ jobs:
127128
which nvcc || echo "nvcc not in PATH!"
128129
129130
git clone https://github.com/AMReX-Codes/amrex.git ../amrex
130-
cd ../amrex && git checkout --detach e59329031fdad45285ebe04fb7101e62f77a49d9 && cd -
131+
dependencies_file="./dependencies.json"
132+
amrex_commit=$(jq -r '.commit_amrex' "${dependencies_file}")
133+
cd ../amrex && git checkout --detach ${amrex_commit} && cd -
131134
make COMP=gcc QED=FALSE USE_MPI=TRUE USE_GPU=TRUE USE_OMP=FALSE USE_FFT=TRUE USE_CCACHE=TRUE -j 4
132135
133136
ccache -s

0 commit comments

Comments
 (0)