nixpkgs/doc/hooks/mpi-check-hook.section.md
Peder Bergebakken Sundt 470614b671 treewide: Fix typos
2023-09-28 19:06:13 +02:00

412 B

mpiCheckPhaseHook

This hook can be used to setup a check phase that requires running a MPI application. It detects the used present MPI implementation type and exports the neceesary environment variables to use mpirun and mpiexec in a Nix sandbox.

Example:

  { mpiCheckPhaseHook, mpi, ... }:

  ...

  nativeCheckInputs = [
    openssh
    mpiCheckPhaseHook
  ];