From 75ecafd328cf9754cea347cf2c1e0301c508c927 Mon Sep 17 00:00:00 2001
From: Artem Polyakov <artpol84@gmail.com>
Date: Tue, 22 Dec 2015 14:29:51 +0600
Subject: [PATCH] Append information about PMIx support in Slurm to the srun
 manpage.

---
 doc/man/man1/srun.1 | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/doc/man/man1/srun.1 b/doc/man/man1/srun.1
index d4cc1f5bf63..e72a0ef45d3 100644
--- a/doc/man/man1/srun.1
+++ b/doc/man/man1/srun.1
@@ -1165,6 +1165,22 @@ implementation supports it, in other words if the MPI has the PMI2
 interface implemented. The \-\-mpi=pmi2 will load the library
 lib/slurm/mpi_pmi2.so which provides the server side functionality but
 the client side must implement PMI2_Init() and the other interface calls.
+.TP
+.B pmix
+To enable PMIx support (http://pmix.github.io/master). The PMIx support
+in Slurm can be used to launch parallel applications (e.g. MPI) if it
+supports PMIx, PMI2 or PMI1. Slurm must be configured with pmix support
+by passing "--with-pmix=<PMIx installation path>" option to its 
+"./configure" script.
+
+At the time of writing PMIx is supported in Open MPI starting from version 2.0.
+PMIx also supports backward compatibility with PMI1 and PMI2 and can be 
+used if MPI was configured with PMI2/PMI1 support pointing to the PMIx library
+("libpmix").
+If MPI supports PMI1/PMI2 but doesn't provide the way to point to a specific 
+implementation, a hack'ish solution leveraging LD_PRELOAD can be used to 
+force "libpmix" usage.
+
 .TP
 .B none
 No special MPI processing. This is the default and works with
-- 
GitLab