From e4aa3d3223457888236d1ec3c75084c6d87fef49 Mon Sep 17 00:00:00 2001 From: thorstenhater <24411438+thorstenhater@users.noreply.github.com> Date: Mon, 15 Feb 2021 08:41:35 +0100 Subject: [PATCH] Workaround for MacOS+OpenMPI4 (#1375) Use TCP BTL for MPI in GitHub Actions to fix sporadic SEGFAULT on MacOS. See open-mpi/ompi#6518 --- .github/workflows/basic.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index cb9e80e7..ecabaf8e 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -88,6 +88,9 @@ jobs: CXX: ${{ matrix.config.cxx }} # We set PYTHONPATH instead of installing arbor to avoid distribution/OS specific behaviour. PYTHONPATH: ${{ github.workspace }}/build/python + # This is a workaround for the unfortunate interaction of MacOS and OpenMPI 4 + # See https://github.com/open-mpi/ompi/issues/6518 + OMPI_MCA_btl: "self,tcp" steps: - name: Set up cmake uses: jwlawson/actions-setup-cmake@v1.7 -- GitLab