Skip to content

Commit 5ed0818

Browse files
authored
Relax mpi4py version requirement (#68)
* Relax mpi4py version requirement * Add changelog
1 parent a264c8a commit 5ed0818

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/run-tutorials.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install Dependencies & FEniCSx
2020
run: |
2121
apt-get -qq update
22-
apt-get -qq install software-properties-common python3-dev python3-pip python3-venv git apt-utils
22+
apt-get -qq install software-properties-common python3-dev python3-pip python3-venv git apt-utils libopenmpi-dev openmpi-bin
2323
add-apt-repository -y ppa:fenics-packages/fenics
2424
apt-get -qq install --no-install-recommends fenicsx
2525
rm -rf /var/lib/apt/lists/*
@@ -28,13 +28,13 @@ jobs:
2828
- name: Create venv for Dirichlet participants and install adapter
2929
run: |
3030
cd tutorials/partitioned-heat-conduction/dirichlet-fenicsx
31-
python3 -m venv .venv
31+
python3 -m venv --system-site-packages .venv
3232
. .venv/bin/activate
3333
pip3 install ../../..
3434
- name: Create venv for Neumann participants and install adapter
3535
run: |
3636
cd tutorials/partitioned-heat-conduction/neumann-fenicsx
37-
python3 -m venv .venv
37+
python3 -m venv --system-site-packages .venv
3838
. .venv/bin/activate
3939
pip3 install ../../..
4040
- name: Remove fenicsxadapter from requirements to avoid overwriting develop version

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## current development
44

5+
* Set mpi4py dependency version requirement to `>=3`. [#68](https://github.com/precice/fenicsx-adapter/pull/68)
56
* Add adapter-internal interpolation of boundary functions for 2D and 3D cases. [#55](https://github.com/precice/fenicsx-adapter/pull/55)
67
* Add MPI support. [#55](https://github.com/precice/fenicsx-adapter/pull/55)
78
* Added functions which wrap profiling API [#56](https://github.com/precice/fenicsx-adapter/pull/56)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
author_email='info@precice.org',
4040
license='LGPL-3.0',
4141
packages=['fenicsxprecice'],
42-
install_requires=['pyprecice~=3.0', 'scipy<1.15.0', 'numpy>=1.13.3', 'mpi4py'],
42+
install_requires=['pyprecice~=3.0', 'scipy<1.15.0', 'numpy>=1.13.3', 'mpi4py>=3'],
4343
tests_require=['sympy'],
4444
test_suite='tests',
4545
zip_safe=False)

0 commit comments

Comments
 (0)