Skip to content

Commit

Permalink
remove code added for debugging, compile separately for Embedded Boun…
Browse files Browse the repository at this point in the history
…dary
  • Loading branch information
lucafedeli88 committed Jul 23, 2024
1 parent 621bf5f commit 26d5f2c
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions .github/workflows/clang_sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,25 @@ jobs:
-DWarpX_QED=ON \
-DWarpX_QED_TABLE_GEN=ON \
-DWarpX_OPENPMD=ON \
-DWarpX_EB=ON \
-DWarpX_EB=OFF \
-DWarpX_PRECISION=DOUBLE \
-DWarpX_PARTICLE_PRECISION=DOUBLE
cmake --build build -j 4
cmake -S . -B build_EB \
-GNinja \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DWarpX_DIMS="2" \
-DWarpX_FFT=ON \
-DWarpX_QED=ON \
-DWarpX_QED_TABLE_GEN=ON \
-DWarpX_OPENPMD=ON \
-DWarpX_EB=ON \
-DWarpX_PRECISION=DOUBLE \
-DWarpX_PARTICLE_PRECISION=DOUBLE
cmake --build build_EB -j 4
ccache -s
du -hs ~/.cache/ccache
Expand All @@ -140,23 +154,7 @@ jobs:
ulimit -c unlimited
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

- name: Archive ExecName for Debug
if: always()
uses: actions/upload-artifact@v4
with:
name: thread_sanitizer_executable
path: build/bin/warpx.2d
retention-days: 1
mpirun -n 2 ../../../build_EB/bin/warpx.2d inputs_2d warpx.serialize_initial_conditions = 0
save_pr_number:
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit 26d5f2c

Please sign in to comment.