Add Plasma Histogram Diagnostic #5419
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 2020-2022 | |
| # | |
| # This file is part of HiPACE++. | |
| # | |
| # Authors: Axel Huebl, MaxThevenet, Severin Diederichs | |
| # License: BSD-3-Clause-LBNL | |
| name: linux | |
| on: | |
| push: | |
| branches: | |
| - development | |
| pull_request: | |
| branches: | |
| - development | |
| jobs: | |
| linux_gcc_cxx20_omp_ompi: | |
| name: GNU C++20 OMP OMPI | |
| runs-on: ubuntu-latest | |
| env: {OMP_NUM_THREADS: 2} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Dependencies | |
| run: .github/workflows/setup/ubuntu_ompi.sh | |
| - name: CCache Cache | |
| uses: actions/cache@v4 | |
| # - once stored under a key, they become immutable (even if local cache path content changes) | |
| # - for a refresh the key has to change, e.g., hash of a tracked file in the key | |
| with: | |
| path: | | |
| ~/.ccache | |
| ~/.cache/ccache | |
| key: ccache-linux-gccompompi-${{ hashFiles('.github/workflows/linux.yml') }}-${{ hashFiles('cmake/dependencies/AMReX.cmake') }}-${{ github.event.repository.pushed_at }} | |
| restore-keys: | | |
| ccache-linux-gccompompi-${{ hashFiles('.github/workflows/linux.yml') }}- | |
| ccache-linux-gccompompi- | |
| - name: Build & Install | |
| run: | | |
| pip install -U -e ./tools | |
| cmake -S . -B build \ | |
| -DHiPACE_COMPUTE=OMP \ | |
| -DCMAKE_CXX_STANDARD=20 \ | |
| -DCMAKE_INSTALL_PREFIX=/tmp/my-hipace \ | |
| -DCMAKE_VERBOSE_MAKEFILE=ON | |
| cmake --build build -j 2 | |
| - name: Run Tests | |
| run: ctest --test-dir build --output-on-failure | |
| linux_gcc_cxx20: | |
| name: GNU C++20 Serial | |
| runs-on: ubuntu-latest | |
| env: {OMP_NUM_THREADS: 2} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Dependencies | |
| run: .github/workflows/setup/ubuntu.sh | |
| - name: CCache Cache | |
| uses: actions/cache@v4 | |
| # - once stored under a key, they become immutable (even if local cache path content changes) | |
| # - for a refresh the key has to change, e.g., hash of a tracked file in the key | |
| with: | |
| path: | | |
| ~/.ccache | |
| ~/.cache/ccache | |
| key: ccache-linux-gccnompi-${{ hashFiles('.github/workflows/linux.yml') }}-${{ hashFiles('cmake/dependencies/AMReX.cmake') }}-${{ github.event.repository.pushed_at }} | |
| restore-keys: | | |
| ccache-linux-gccnompi-${{ hashFiles('.github/workflows/linux.yml') }}- | |
| ccache-linux-gccnompi- | |
| - name: Build & Install | |
| run: | | |
| pip install -U -e ./tools | |
| cmake -S . -B build \ | |
| -DHiPACE_MPI=OFF \ | |
| -DCMAKE_VERBOSE_MAKEFILE=ON \ | |
| -DHiPACE_PUSHER=AB5 | |
| cmake --build build -j 2 | |
| - name: Run Tests | |
| run: ctest --test-dir build --output-on-failure |