Skip to content

Add sanity check so ParameterInput is not allowed to be different on different MPI ranks #495

Add sanity check so ParameterInput is not allowed to be different on different MPI ranks

Add sanity check so ParameterInput is not allowed to be different on different MPI ranks #495

Workflow file for this run

name: CI macOS
on: [pull_request]
# Cancel "duplicated" workflows triggered by pushes to internal
# branches with associated PRs.
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
env:
CTEST_OUTPUT_ON_FAILURE: 1
CMAKE_BUILD_PARALLEL_LEVEL: 4 # num threads for build
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
cache-dependency-path: '**/requirements.txt'
- run: pip install -r requirements.txt
- name: Install dependencies
run: |
brew install openmpi hdf5-mpi adios2 || true
- name: Configure
run: cmake -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build
- name: Test
run: |
cd build
ctest -LE mpi
- uses: actions/upload-artifact@v3
with:
name: configure-log-unit-macos
path: build/CMakeFiles/CMakeOutput.log
retention-days: 3