[pyfr] 20/88: Add support for mpi4py v2.0.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Nov 16 12:05:26 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pyfr.

commit 1c886823d138fb0131a62e040495f3e83ba72b2d
Author: Freddie Witherden <freddie at witherden.org>
Date:   Fri Apr 22 11:25:31 2016 -0700

    Add support for mpi4py v2.0.
---
 doc/src/user_guide.rst  | 4 ++--
 pyfr/plugins/sampler.py | 2 +-
 setup.py                | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/src/user_guide.rst b/doc/src/user_guide.rst
index 98c4be4..acf4e81 100644
--- a/doc/src/user_guide.rst
+++ b/doc/src/user_guide.rst
@@ -21,9 +21,9 @@ Overview
 PyFR |release| has a hard dependency on Python 3.3+ and the following
 Python packages:
 
-1. `h5py <http://www.h5py.org/>`_ >= 2.5
+1. `h5py <http://www.h5py.org/>`_ >= 2.6
 2. `mako <http://www.makotemplates.org/>`_ >= 1.0.0
-3. `mpi4py <http://mpi4py.scipy.org/>`_ >= 1.3
+3. `mpi4py <http://mpi4py.scipy.org/>`_ >= 2.0
 4. `numpy <http://www.numpy.org/>`_ >= 1.8
 5. `pytools <https://pypi.python.org/pypi/pytools>`_ >= 2014.3
 
diff --git a/pyfr/plugins/sampler.py b/pyfr/plugins/sampler.py
index 1df2436..886257b 100644
--- a/pyfr/plugins/sampler.py
+++ b/pyfr/plugins/sampler.py
@@ -90,7 +90,7 @@ class SamplerPlugin(BasePlugin):
         # Process these points
         for cp in closest:
             # Reduce cp over all partitions
-            mcp, mrank = comm.allreduce(cp, op=get_mpi('minloc'))
+            mcp, mrank = comm.allreduce((cp, rank), op=get_mpi('minloc'))
 
             # Store the rank responsible along with the info
             ptsrank.append(mrank)
diff --git a/setup.py b/setup.py
index 24f8fa9..4970ec3 100755
--- a/setup.py
+++ b/setup.py
@@ -93,9 +93,9 @@ data_files = [
 
 # Hard dependencies
 install_requires = [
-    'h5py >= 2.4',
+    'h5py >= 2.6',
     'mako >= 1.0.0',
-    'mpi4py >= 1.3',
+    'mpi4py >= 2.0',
     'numpy >= 1.8',
     'pytools >= 2014.3'
 ]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfr.git



More information about the debian-science-commits mailing list