From f8932ea70342042aae2f0ee1836042849fdeb47c Mon Sep 17 00:00:00 2001 From: Lourens Veen Date: Thu, 5 Mar 2026 08:40:34 +0100 Subject: [PATCH 1/3] Try using MPICH on macOS to avoid crashes --- .github/workflows/test-framework.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-framework.yml b/.github/workflows/test-framework.yml index 640660c06e..01140d953f 100644 --- a/.github/workflows/test-framework.yml +++ b/.github/workflows/test-framework.yml @@ -37,7 +37,8 @@ jobs: conda info conda list - - name: Install dependencies + - name: Install dependencies (Linux) + if: ${{ startsWith(matrix.os, 'ubuntu') }} run: | conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python-gil pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake openmpi gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest @@ -51,6 +52,11 @@ jobs: # echo "rmaps_default_mapping_policy = :oversubscribe" >>"$HOME/.prte/mca-params.conf" # echo "prte_if_include = lo,eth0" >>"$HOME/.prte/mca-params.conf" + - name: Install dependencies (macOS) + if: ${{ startsWith(matrix.os, 'macos') }} + run: | + conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python-gil pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake mpich gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest + - name: Checkout uses: actions/checkout@v4 with: From 35a0266cce784dcccb323e4fa66e6d345f7edd9a Mon Sep 17 00:00:00 2001 From: Lourens Veen Date: Thu, 5 Mar 2026 10:34:12 +0100 Subject: [PATCH 2/3] Try MPICH on Linux too, see if that fixes hang in c_dist_impl --- .github/workflows/test-framework.yml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/.github/workflows/test-framework.yml b/.github/workflows/test-framework.yml index 01140d953f..5515ee0a3e 100644 --- a/.github/workflows/test-framework.yml +++ b/.github/workflows/test-framework.yml @@ -37,23 +37,7 @@ jobs: conda info conda list - - name: Install dependencies (Linux) - if: ${{ startsWith(matrix.os, 'ubuntu') }} - run: | - conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python-gil pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake openmpi gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest - - # - name: Configure OpenMPI - # run: | - # mkdir -p "$HOME/.openmpi" - # echo "rmaps_base_oversubscribe = true" >>"$HOME/.openmpi/mca-params.conf" - # echo "mpi_yield_when_idle = true" >>"$HOME/.openmpi/mca-params.conf" - # echo "btl_tcp_if_include = lo,eth0" >>"$HOME/.openmpi/mca-params.conf" - # mkdir -p "$HOME/.prte" - # echo "rmaps_default_mapping_policy = :oversubscribe" >>"$HOME/.prte/mca-params.conf" - # echo "prte_if_include = lo,eth0" >>"$HOME/.prte/mca-params.conf" - - - name: Install dependencies (macOS) - if: ${{ startsWith(matrix.os, 'macos') }} + - name: Install dependencies run: | conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python-gil pkgconfig coreutils patch curl tar unzip gzip bzip2 xz perl bison make cmake mpich gsl fftw gmp mpfr hdf5 netcdf4 libopenblas liblapack zlib pip wheel 'docutils>=0.6' 'mpi4py>=1.1.0' 'numpy>=1.2.2' 'h5py>=1.1.0' pytest From 88cc0d5fd283531f8c3c3dee732f135b3673e49e Mon Sep 17 00:00:00 2001 From: Lourens Veen Date: Fri, 6 Mar 2026 10:46:26 +0100 Subject: [PATCH 3/3] Try to get that failure reported --- .github/workflows/test-framework.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-framework.yml b/.github/workflows/test-framework.yml index 5515ee0a3e..87527031c5 100644 --- a/.github/workflows/test-framework.yml +++ b/.github/workflows/test-framework.yml @@ -62,7 +62,7 @@ jobs: # PRTE_MCA_if_include: lo,eth0 # OMPI_MCA_pmix_server_max_wait: 10 run: | - ./setup test amuse-framework + export PYTEST_OPTS='-x' && ./setup test amuse-framework - name: Save build logs run: |