From 11391ad23e5864badc622c5aadb911987958b627 Mon Sep 17 00:00:00 2001 From: Edoardo Zoni Date: Thu, 24 Oct 2024 15:11:50 -0700 Subject: [PATCH] CI: debug `test_1d_fel` --- .azure-pipelines.yml | 25 ++++++++++++++++--------- .github/workflows/clang_sanitizers.yml | 4 ++-- .github/workflows/clang_tidy.yml | 2 +- .github/workflows/cuda.yml | 6 +++--- .github/workflows/hip.yml | 4 ++-- .github/workflows/insitu.yml | 6 +++--- .github/workflows/intel.yml | 6 +++--- .github/workflows/macos.yml | 2 +- .github/workflows/ubuntu.yml | 10 +++++----- .github/workflows/windows.yml | 2 +- 10 files changed, 37 insertions(+), 30 deletions(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index bdcfe1c9864..b469d1ea987 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -33,16 +33,16 @@ jobs: cartesian_1d: WARPX_CMAKE_FLAGS: -DWarpX_DIMS=1 -DWarpX_FFT=ON -DWarpX_PYTHON=ON # Cartesian 2D - cartesian_2d: - WARPX_CMAKE_FLAGS: -DWarpX_DIMS=2 -DWarpX_FFT=ON -DWarpX_PYTHON=ON + #cartesian_2d: + # WARPX_CMAKE_FLAGS: -DWarpX_DIMS=2 -DWarpX_FFT=ON -DWarpX_PYTHON=ON # Cartesian 3D - cartesian_3d: - WARPX_CMAKE_FLAGS: -DWarpX_DIMS=3 -DWarpX_FFT=ON -DWarpX_PYTHON=ON - WARPX_HEFFTE: 'TRUE' + #cartesian_3d: + # WARPX_CMAKE_FLAGS: -DWarpX_DIMS=3 -DWarpX_FFT=ON -DWarpX_PYTHON=ON + # WARPX_HEFFTE: 'TRUE' # Cylindrical RZ - cylindrical_rz: - WARPX_CMAKE_FLAGS: -DWarpX_DIMS=RZ -DWarpX_FFT=ON -DWarpX_PYTHON=ON - WARPX_RZ_FFT: 'TRUE' + #cylindrical_rz: + # WARPX_CMAKE_FLAGS: -DWarpX_DIMS=RZ -DWarpX_FFT=ON -DWarpX_PYTHON=ON + # WARPX_RZ_FFT: 'TRUE' # single precision #single_precision: # WARPX_CMAKE_FLAGS: -DWarpX_DIMS='1;2;3;RZ' -DWarpX_FFT=ON -DWarpX_PYTHON=ON -DWarpX_PRECISION=SINGLE @@ -155,7 +155,8 @@ jobs: ${AMReX_CMAKE_FLAGS} \ ${WARPX_CMAKE_FLAGS} \ -DWarpX_TEST_CLEANUP=ON \ - -DWarpX_TEST_FPETRAP=ON + -DWarpX_TEST_FPETRAP=ON \ + -DCMAKE_BUILD_TYPE=Debug # build cmake --build build -j 2 @@ -167,4 +168,10 @@ jobs: # run tests (exclude pytest.AMReX when running Python tests) ctest --test-dir build --output-on-failure -E AMReX + + # FIXME + filename="build/bin/test_1d_fel/Backtrace.0.0" + if test -f $filename; then + cat $filename + fi displayName: 'Test' diff --git a/.github/workflows/clang_sanitizers.yml b/.github/workflows/clang_sanitizers.yml index e89cb676a03..1f388b26013 100644 --- a/.github/workflows/clang_sanitizers.yml +++ b/.github/workflows/clang_sanitizers.yml @@ -17,7 +17,7 @@ jobs: name: Clang UB sanitizer runs-on: ubuntu-22.04 container: ubuntu:23.10 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CC: clang CXX: clang++ @@ -83,7 +83,7 @@ jobs: name: Clang thread sanitizer runs-on: ubuntu-22.04 container: ubuntu:23.10 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CC: clang CXX: clang++ diff --git a/.github/workflows/clang_tidy.yml b/.github/workflows/clang_tidy.yml index edb3e8b1988..862f264e33c 100644 --- a/.github/workflows/clang_tidy.yml +++ b/.github/workflows/clang_tidy.yml @@ -20,7 +20,7 @@ jobs: name: clang-tidy-${{ matrix.dim }}D runs-on: ubuntu-22.04 timeout-minutes: 180 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false steps: - uses: actions/checkout@v4 - name: install dependencies diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 1f70e7128bd..20024e65a41 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -20,7 +20,7 @@ jobs: build_nvcc: name: NVCC 11.3 SP runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CXXFLAGS: "-Werror" CMAKE_GENERATOR: Ninja @@ -112,7 +112,7 @@ jobs: build_nvcc_gnumake: name: NVCC 11.8.0 GNUmake runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false steps: - uses: actions/checkout@v4 - name: install dependencies @@ -146,7 +146,7 @@ jobs: build_nvhpc24-1-nvcc: name: NVHPC@24.1 NVCC/NVC++ Release [tests] runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false #env: # # For NVHPC, Ninja is slower than the default: # CMAKE_GENERATOR: Ninja diff --git a/.github/workflows/hip.yml b/.github/workflows/hip.yml index 8ba39de7742..c8a72e23cc2 100644 --- a/.github/workflows/hip.yml +++ b/.github/workflows/hip.yml @@ -19,7 +19,7 @@ jobs: env: CXXFLAGS: "-Werror -Wno-deprecated-declarations -Wno-error=pass-failed" CMAKE_GENERATOR: Ninja - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false steps: - uses: actions/checkout@v4 - name: install dependencies @@ -79,7 +79,7 @@ jobs: env: CXXFLAGS: "-Werror -Wno-deprecated-declarations -Wno-error=pass-failed" CMAKE_GENERATOR: Ninja - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false steps: - uses: actions/checkout@v4 - name: install dependencies diff --git a/.github/workflows/insitu.yml b/.github/workflows/insitu.yml index 50b482d28d3..d1671e5c464 100644 --- a/.github/workflows/insitu.yml +++ b/.github/workflows/insitu.yml @@ -16,7 +16,7 @@ jobs: sensei: name: SENSEI runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CXX: clang++ CC: clang @@ -42,7 +42,7 @@ jobs: ascent: name: Ascent runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CXX: g++ CC: gcc @@ -82,7 +82,7 @@ jobs: catalyst: name: Catalyst runs-on: ubuntu-22.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CXX: g++ CC: gcc diff --git a/.github/workflows/intel.yml b/.github/workflows/intel.yml index 9b98c6e5990..77c6e05318d 100644 --- a/.github/workflows/intel.yml +++ b/.github/workflows/intel.yml @@ -18,7 +18,7 @@ jobs: build_icc: name: oneAPI ICC SP&DP runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false # For oneAPI, Ninja is slower than the default: #env: # CMAKE_GENERATOR: Ninja @@ -86,7 +86,7 @@ jobs: CXXFLAGS: "-Werror -Wno-error=pass-failed -Wno-tautological-constant-compare" # For oneAPI, Ninja is slower than the default: # CMAKE_GENERATOR: Ninja - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false steps: - uses: actions/checkout@v4 - name: install dependencies @@ -151,7 +151,7 @@ jobs: CXXFLAGS: "-Werror -Wno-tautological-constant-compare" # For oneAPI, Ninja is slower than the default: # CMAKE_GENERATOR: Ninja - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false steps: - uses: actions/checkout@v4 - name: install dependencies diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 0ddfcf38b41..66147e4508e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -16,7 +16,7 @@ jobs: build_appleclang: name: AppleClang runs-on: macos-latest - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: TRUE # For macOS, Ninja is slower than the default: diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index bbe20679781..5c962742c36 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -16,7 +16,7 @@ jobs: build_cxxminimal: name: GCC Minimal w/o MPI runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CXXFLAGS: "-Werror" steps: @@ -54,7 +54,7 @@ jobs: build_1D_2D: name: GCC 1D & 2D w/ MPI, QED tools runs-on: ubuntu-22.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CXXFLAGS: "-Werror" CXX: "g++-12" @@ -101,7 +101,7 @@ jobs: build_3D_sp: name: GCC 3D & RZ w/ MPI, single precision runs-on: ubuntu-22.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CXX: "g++-12" CC: "gcc-12" @@ -148,7 +148,7 @@ jobs: build_gcc_ablastr: name: GCC ABLASTR w/o MPI runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CMAKE_GENERATOR: Ninja CXXFLAGS: "-Werror" @@ -184,7 +184,7 @@ jobs: build_pyfull: name: Clang pywarpx runs-on: ubuntu-20.04 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false env: CC: clang CXX: clang++ diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ae4843e0536..53dcb68cafc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -69,7 +69,7 @@ jobs: build_win_clang: name: Clang C++17 w/ OMP w/o MPI runs-on: windows-2019 - if: github.event.pull_request.draft == false + if: 0 #github.event.pull_request.draft == false steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5