openmpi: fix segfault in btl vader at MPI_Finalize

The fix is scheduled for release in OpenMPI 4.0.2.

Upstream issue: https://github.com/open-mpi/ompi/issues/6524
wip/yesman
Orivej Desh 5 years ago
parent 8789ff3179
commit bfc789118b
  1. 10
      pkgs/development/libraries/openmpi/default.nix

@ -1,4 +1,4 @@
{ stdenv, fetchurl, gfortran, perl, libnl
{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl
, rdma-core, zlib, numactl, libevent, hwloc
# Enable the Sun Grid Engine bindings
@ -19,6 +19,14 @@ in stdenv.mkDerivation rec {
sha256 = "02cpzcp113gj5hb0j2xc0cqma2fn04i2i0bzf80r71120p9bdryc";
};
patches = [
(fetchpatch {
name = "openmpi-mca_btl_vader_component_close-segfault.patch";
url = "https://github.com/open-mpi/ompi/pull/6526.patch";
sha256 = "0s7ac9rkcj3fi6ampkvy76njlj478yyr4zvypjc7licy6dgr595x";
})
];
postPatch = ''
patchShebangs ./
'';

Loading…
Cancel
Save