Skip to content

Commit cededc7

Browse files
committed
Try OpenMPI but with yield_when_idle
1 parent 1aa13ab commit cededc7

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/test-framework.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
4040
- name: Install dependencies
4141
run: |
42-
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
42+
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
4343
4444
- name: Checkout
4545
uses: actions/checkout@v4
@@ -52,15 +52,16 @@ jobs:
5252
./setup install amuse-framework
5353
5454
- name: Test framework
55-
# env:
56-
# OMPI_MCA_rmaps_base_oversubscribe: 1
57-
# PRTE_MCA_rmaps_base_oversubscribe: 1
58-
# PRTE_MCA_rmaps_default_mapping_policy: ":oversubscribe"
59-
# OMPI_MCA_mpi_yield_when_idle: 1
60-
# OMPI_MCA_btl_tcp_if_include: lo,eth0
61-
# PRTE_MCA_btl_tcp_if_include: lo,eth0
62-
# PRTE_MCA_if_include: lo,eth0
63-
# OMPI_MCA_pmix_server_max_wait: 10
55+
env:
56+
OMPI_MCA_rmaps_base_oversubscribe: 1
57+
PRTE_MCA_rmaps_base_oversubscribe: 1
58+
PRTE_MCA_rmaps_default_mapping_policy: ":oversubscribe"
59+
OMPI_MCA_mpi_yield_when_idle: 1
60+
PRTE_MCA_mpi_yield_when_idle: 1
61+
OMPI_MCA_btl_tcp_if_include: lo,eth0
62+
PRTE_MCA_btl_tcp_if_include: lo,eth0
63+
PRTE_MCA_if_include: lo,eth0
64+
OMPI_MCA_pmix_server_max_wait: 10
6465
run: |
6566
export PYTEST_OPTS='-x' && ./setup test amuse-framework
6667

0 commit comments

Comments
 (0)