openmpi: enable C++ bindings

This commit is contained in:
Matt Huszagh 2019-10-20 18:02:10 -07:00
parent cb37cdfcf7
commit 3f13e1af0d

View file

@ -13,7 +13,6 @@
# Enable libfabric support (necessary for Omnipath networks) on x86_64 linux
, fabricSupport ? stdenv.isLinux && stdenv.isx86_64
}:
assert !cudaSupport || cudatoolkit != null;
@ -59,6 +58,7 @@ in stdenv.mkDerivation rec {
"--with-libnl=${libnl.dev}"
"--with-pmix=${pmix}"
"--with-pmix-libdir=${pmix}/lib"
"--enable-mpi-cxx"
] ++ lib.optional enableSGE "--with-sge"
++ lib.optional enablePrefix "--enable-mpirun-prefix-by-default"
# TODO: add UCX support, which is recommended to use with cuda for the most robust OpenMPI build