mpich: enable pmix support

Useful e.g. for using `srun` directly, assuming slurm built with pmix support
This commit is contained in:
Someone Serge 2023-12-16 18:38:20 +00:00
parent 1a1c53c271
commit 5b4ad73974
No known key found for this signature in database
GPG Key ID: 7B0E3B1390D61DA4

View File

@ -5,6 +5,8 @@
, ch4backend
# Process manager to build
, withPm ? "hydra:gforker"
, pmix
, pmixSupport ? true
} :
assert (ch4backend.pname == "ucx" || ch4backend.pname == "libfabric");
@ -27,6 +29,8 @@ stdenv.mkDerivation rec {
] ++ lib.optionals (lib.versionAtLeast gfortran.version "10") [
"FFLAGS=-fallow-argument-mismatch" # https://github.com/pmodels/mpich/issues/4300
"FCFLAGS=-fallow-argument-mismatch"
] ++ lib.optionals pmixSupport [
"--with-pmix=${lib.getDev pmix}"
];
enableParallelBuilding = true;