1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/doc/hooks/mpi-check-hook.section.md
Janne Heß fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00

431 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
    ];
  }