openmpi: patch for legitimate zero size messages

This patch is required in order to make python-mpi4py tests pass.
It is also a bug in the openmpi implementation to see full discussion
see https://www.open-mpi.org/community/lists/users/2015/11/28030.php
This commit is contained in:
Chris Ostrouchov
2016-04-04 11:09:00 -04:00
parent 8e0f0776aa
commit d076a13c1d
2 changed files with 36 additions and 1 deletions
@@ -20,6 +20,12 @@ in stdenv.mkDerivation rec {
sha256 = "14p4px9a3qzjc22lnl6braxrcrmd9rgmy7fh4qpanawn2pgfq6br";
};
# Bug in openmpi implementation for zero sized messages
# Patch required to make mpi4py pass. Will NOT
# be required when openmpi >= 2.0.0
# https://www.open-mpi.org/community/lists/users/2015/11/28030.php
patches = [ ./nbc_copy.patch ];
buildInputs = [ gfortran libibverbs ];
nativeBuildInputs = [ perl ];
@@ -42,4 +48,3 @@ in stdenv.mkDerivation rec {
maintainers = [ stdenv.lib.maintainers.mornfall ];
};
}