1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-08 02:38:11 +09:00
nixpkgs/doc/hooks/mpi-check-hook.section.md
Pol Dellaiera bcea0cf344 doc: update Nix code snippets format
Command: `mdcr --config doc/tests/mdcr-config.toml doc/`
2025-04-17 01:30:34 +02:00

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