openmpi: 3.1.0 -> 3.1.2

This commit is contained in:
Markus Kowalewski 2018-08-20 15:49:46 +02:00 committed by Markus Kowalewski
parent 4d3ed9f5d5
commit be02ab2f30
No known key found for this signature in database
GPG Key ID: D865C8A91D7025EB
2 changed files with 4 additions and 2 deletions

View File

@ -10,14 +10,14 @@
let
majorVersion = "3.1";
minorVersion = "0";
minorVersion = "2";
in stdenv.mkDerivation rec {
name = "openmpi-${majorVersion}.${minorVersion}";
src = fetchurl {
url = "http://www.open-mpi.org/software/ompi/v${majorVersion}/downloads/${name}.tar.bz2";
sha256 = "0v7hrmf1z5d1rmm0z5gi79l536j3z5s5b0kf9q5rr1fc4i0h8p5j";
sha256 = "1ibniapqki763agpfh65y284las083fqmj8m5b2pi8ilgy2fsm66";
};
postPatch = ''

View File

@ -37,6 +37,8 @@ buildPythonPackage rec {
# Needed to run the tests reliably. See:
# https://bitbucket.org/mpi4py/mpi4py/issues/87/multiple-test-errors-with-openmpi-30
export OMPI_MCA_rmaps_base_oversubscribe=yes
export OMPI_MCA_osc=sm
export OMPI_MCA_btl=self,vader
'';
setupPyBuildFlags = ["--mpicc=${mpi}/bin/mpicc"];