mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
openmpi: 3.1.0 -> 3.1.2
This commit is contained in:
parent
4d3ed9f5d5
commit
be02ab2f30
2 changed files with 4 additions and 2 deletions
|
@ -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 = ''
|
||||
|
|
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue