mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-26 23:03:41 +00:00
mpich: enable pmix support
Useful e.g. for using `srun` directly, assuming slurm built with pmix support
This commit is contained in:
parent
1a1c53c271
commit
5b4ad73974
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user