mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 18:17:21 +03:00
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
This commit is contained in:
parent
8789ff3179
commit
bfc789118b
@ -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…
Reference in New Issue
Block a user