Skip to content

Commit

Permalink
mpich: enable pmix support
Browse files Browse the repository at this point in the history
Useful e.g. for using `srun` directly, assuming slurm built with pmix support
  • Loading branch information
SomeoneSerge committed Jan 12, 2024
1 parent 1a1c53c commit 5b4ad73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/mpich/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
, ch4backend
# Process manager to build
, withPm ? "hydra:gforker"
, pmix
, pmixSupport ? true
} :

assert (ch4backend.pname == "ucx" || ch4backend.pname == "libfabric");
Expand All @@ -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;
Expand Down

0 comments on commit 5b4ad73

Please sign in to comment.