Skip to content

Commit 56756ae

Browse files
authored
Merge branch 'main' into Fix_1208
2 parents 672098e + 20bb7f5 commit 56756ae

606 files changed

Lines changed: 14710 additions & 112945 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test-framework.yml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -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

.github/workflows/test-seba.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Install dependencies
4343
run: |
44-
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
44+
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
4545
4646
# - name: Configure OpenMPI
4747
# run: |

doc/developing/documenting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ It's easiest to install the required packages using Conda:
1414

1515
.. code-block:: bash
1616
17-
conda install jupyter sphinx make numpy sphinx_rtd_theme matplotlib rst2pdf
17+
conda install -c conda-forge --override-channels jupyter sphinx make numpy sphinx_rtd_theme matplotlib rst2pdf
1818
1919
.. _Sphinx: http://www.sphinx-doc.org/en/master/
2020

doc/install/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ available from every popular package manager. In your Conda environment,
1616

1717
.. code-block:: bash
1818
19-
conda install git
19+
conda install -c conda-forge --override-channels git
2020
2121
will get you sorted. Next, you can get a local git repository with AMUSE in it using
2222

doc/install/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ well. Fortunately, ``conda`` can help us here too:
194194

195195
.. code-block:: bash
196196
197-
conda install scipy astropy jupyter pandas seaborn matplotlib
197+
conda install -c conda-forge --override-channels scipy astropy jupyter pandas seaborn matplotlib
198198
199199
200200
Fixing MPI on Ubuntu

examples

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/amuse/examples

examples/applications/asterisk_example.py

Lines changed: 0 additions & 93 deletions
This file was deleted.

examples/applications/asterisk_movie_example.py

Lines changed: 0 additions & 107 deletions
This file was deleted.

0 commit comments

Comments
 (0)