feat: add reduction ops conversion for MPI + cleanup impl #730
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
| name: macOS | |
| # only run most recent workflow in branch | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - README.md | |
| - 'docs/**' | |
| types: [ opened, reopened, synchronize ] | |
| jobs: | |
| Kokkos-master-OpenMPI-Threads-Debug: | |
| env: | |
| KOKKOS_SRC: ${{ github.workspace }}/_deps/kokkos | |
| KOKKOS_BUILD: ${{ github.workspace }}/_deps/kokkos-build | |
| KOKKOS_INSTALL: ${{ github.workspace }}/_deps/kokkos-install | |
| COMM_SRC: ${{ github.workspace }} | |
| COMM_BUILD: ${{ github.workspace }}/build | |
| runs-on: macos-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Install MPI | |
| run: | | |
| brew install open-mpi | |
| which mpirun | |
| mpirun --version | |
| which mpicxx | |
| mpicxx --version | |
| - name: CMake Version | |
| run: cmake --version | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: List files in the repository | |
| run: | | |
| ls ${{ github.workspace }} | |
| - name: Build Kokkos | |
| run: | | |
| git clone https://github.com/kokkos/kokkos.git --branch master --depth 1 "$KOKKOS_SRC" | |
| cmake -S "$KOKKOS_SRC" -B "$KOKKOS_BUILD" -DCMAKE_INSTALL_PREFIX="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkos_ENABLE_SERIAL=ON -DKokkos_ENABLE_THREADS=ON -DKokkos_ARCH_NATIVE=ON | |
| cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install | |
| - name: Build KokkosComm | |
| run: | | |
| cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Debug -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON | |
| VERBOSE=1 cmake --build "$COMM_BUILD" | |
| - name: Test KokkosComm | |
| run: | | |
| ctest -V --test-dir "$COMM_BUILD" | |
| Kokkos-master-MPICH-Threads-Release: | |
| env: | |
| KOKKOS_SRC: ${{ github.workspace }}/_deps/kokkos | |
| KOKKOS_BUILD: ${{ github.workspace }}/_deps/kokkos-build | |
| KOKKOS_INSTALL: ${{ github.workspace }}/_deps/kokkos-install | |
| COMM_SRC: ${{ github.workspace }} | |
| COMM_BUILD: ${{ github.workspace }}/build | |
| runs-on: macos-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Install MPI | |
| run: | | |
| brew install mpich | |
| which mpirun | |
| mpirun --version | |
| which mpicxx | |
| mpicxx --version | |
| - name: CMake Version | |
| run: cmake --version | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Build Kokkos | |
| run: | | |
| git clone https://github.com/kokkos/kokkos.git --branch master --depth 1 "$KOKKOS_SRC" | |
| cmake -S "$KOKKOS_SRC" -B "$KOKKOS_BUILD" -DCMAKE_INSTALL_PREFIX="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkos_ENABLE_SERIAL=ON -DKokkos_ENABLE_THREADS=ON -DKokkos_ARCH_NATIVE=ON | |
| cmake --build "$KOKKOS_BUILD" --parallel $(nproc) -t install | |
| - name: Build KokkosComm | |
| run: | | |
| cmake -S "$COMM_SRC" -B "$COMM_BUILD" -DCMAKE_CXX_FLAGS="-Werror" -DKokkos_ROOT="$KOKKOS_INSTALL" -DCMAKE_BUILD_TYPE=Release -DKokkosComm_ENABLE_TESTS=ON -DKokkosComm_ENABLE_PERFTESTS=ON | |
| VERBOSE=1 cmake --build "$COMM_BUILD" | |
| - name: Test KokkosComm | |
| run: | | |
| ctest -V --test-dir "$COMM_BUILD" |