Skip to content

Commit

Permalink
add instructions to download output files in order to debug a segfault
Browse files Browse the repository at this point in the history
  • Loading branch information
lucafedeli88 committed Jul 22, 2024
1 parent a401ee0 commit 18403e5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/clang_sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,6 @@ jobs:
cmake -S . -B build \
-GNinja \
-DAMReX_ASSERTIONS=ON \
-DAMReX_BOUND_CHECK=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DWarpX_DIMS="RZ;1;2;3" \
Expand Down Expand Up @@ -142,6 +140,14 @@ jobs:
mpirun -n 2 ../../../build/bin/warpx.2d inputs_2d warpx.serialize_initial_conditions = 0
- name: Archive Results for Debug
if: always()
uses: actions/upload-artifact@v4
with:
name: thread_sanitizer_debug
path: Examples/Tests/embedded_circle
retention-days: 1

save_pr_number:
if: github.event_name == 'pull_request'
runs-on: ubuntu-latest
Expand Down

0 comments on commit 18403e5

Please sign in to comment.