From 72f96278f73dba04bb73fd3dea0943d21e225cf1 Mon Sep 17 00:00:00 2001 From: Markus Kowalewski Date: Sun, 10 Jan 2021 22:44:50 +0100 Subject: [PATCH] nixpkgs/manual: add a paragraph about MPI switching mechanism --- doc/using/overlays.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/doc/using/overlays.xml b/doc/using/overlays.xml index caacb0a0462..9ffbb4edd98 100644 --- a/doc/using/overlays.xml +++ b/doc/using/overlays.xml @@ -291,5 +291,40 @@ stdenv.mkDerivation { } +
+ Switching the MPI implementation + + All programs that are built with + MPI + support use the generic attribute mpi + as an input. At the moment Nixpkgs natively provides two different + MPI implementations: + + + + Open MPI + (default), attribute name openmpi + + + + + MPICH, + attribute name mpich + + + + + + To provide MPI enabled applications that use MPICH, instead + of the default Open MPI, simply use the following overlay: + + +self: super: + +{ + mpi = self.mpich; +} + +