openmpi: enable C++ bindings
This commit is contained in:
parent
cb37cdfcf7
commit
3f13e1af0d
|
@ -13,7 +13,6 @@
|
||||||
|
|
||||||
# Enable libfabric support (necessary for Omnipath networks) on x86_64 linux
|
# Enable libfabric support (necessary for Omnipath networks) on x86_64 linux
|
||||||
, fabricSupport ? stdenv.isLinux && stdenv.isx86_64
|
, fabricSupport ? stdenv.isLinux && stdenv.isx86_64
|
||||||
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert !cudaSupport || cudatoolkit != null;
|
assert !cudaSupport || cudatoolkit != null;
|
||||||
|
@ -59,6 +58,7 @@ in stdenv.mkDerivation rec {
|
||||||
"--with-libnl=${libnl.dev}"
|
"--with-libnl=${libnl.dev}"
|
||||||
"--with-pmix=${pmix}"
|
"--with-pmix=${pmix}"
|
||||||
"--with-pmix-libdir=${pmix}/lib"
|
"--with-pmix-libdir=${pmix}/lib"
|
||||||
|
"--enable-mpi-cxx"
|
||||||
] ++ lib.optional enableSGE "--with-sge"
|
] ++ lib.optional enableSGE "--with-sge"
|
||||||
++ lib.optional enablePrefix "--enable-mpirun-prefix-by-default"
|
++ 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
|
# TODO: add UCX support, which is recommended to use with cuda for the most robust OpenMPI build
|
||||||
|
|
Loading…
Reference in a new issue