@@ -37,19 +37,15 @@ jobs:
3737 conda info
3838 conda list
3939
40- - name : Install dependencies
40+ - name : Install dependencies (Linux)
41+ if : ${{ startsWith(matrix.os, 'ubuntu') }}
4142 run : |
42- conda install c-compiler cxx-compiler fortran-compiler 'gfortran<14' python 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
43+ 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
4344
44- # - name: Configure OpenMPI
45- # run: |
46- # mkdir -p "$HOME/.openmpi"
47- # echo "rmaps_base_oversubscribe = true" >>"$HOME/.openmpi/mca-params.conf"
48- # echo "mpi_yield_when_idle = true" >>"$HOME/.openmpi/mca-params.conf"
49- # echo "btl_tcp_if_include = lo,eth0" >>"$HOME/.openmpi/mca-params.conf"
50- # mkdir -p "$HOME/.prte"
51- # echo "rmaps_default_mapping_policy = :oversubscribe" >>"$HOME/.prte/mca-params.conf"
52- # echo "prte_if_include = lo,eth0" >>"$HOME/.prte/mca-params.conf"
45+ - name : Install dependencies (macOS)
46+ if : ${{ startsWith(matrix.os, 'macos') }}
47+ run : |
48+ 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
5349
5450 - name : Checkout
5551 uses : actions/checkout@v4
@@ -62,15 +58,16 @@ jobs:
6258 ./setup install amuse-framework
6359
6460 - name : Test framework
65- # env:
66- # OMPI_MCA_rmaps_base_oversubscribe: 1
67- # PRTE_MCA_rmaps_base_oversubscribe: 1
68- # PRTE_MCA_rmaps_default_mapping_policy: ":oversubscribe"
69- # OMPI_MCA_mpi_yield_when_idle: 1
70- # OMPI_MCA_btl_tcp_if_include: lo,eth0
71- # PRTE_MCA_btl_tcp_if_include: lo,eth0
72- # PRTE_MCA_if_include: lo,eth0
73- # OMPI_MCA_pmix_server_max_wait: 10
61+ env :
62+ OMPI_MCA_rmaps_base_oversubscribe : 1
63+ PRTE_MCA_rmaps_base_oversubscribe : 1
64+ PRTE_MCA_rmaps_default_mapping_policy : " :oversubscribe"
65+ OMPI_MCA_mpi_yield_when_idle : 1
66+ PRTE_MCA_mpi_yield_when_idle : 1
67+ OMPI_MCA_btl_tcp_if_include : lo,eth0
68+ PRTE_MCA_btl_tcp_if_include : lo,eth0
69+ PRTE_MCA_if_include : lo,eth0
70+ OMPI_MCA_pmix_server_max_wait : 10
7471 run : |
7572 ./setup test amuse-framework
7673
0 commit comments