-
Notifications
You must be signed in to change notification settings - Fork 0
/
pmix-standard.tex
227 lines (191 loc) · 6.74 KB
/
pmix-standard.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
% Welcome to pmix-standard.tex.
% This is the master LaTex file for the PMIx Standard document.
%
% The files in this set include:
%
% pmix-standard.tex - this file, the master file
% Makefile - makes the document
% pmix.sty - the main style file
% Title_Page.tex - the title page
% Chap_Introduction.tex - unnumbered introductory chapter
% figs/*.png - Figures
% sources/*.c, *.f - C/C++/Fortran example source files
%
% When editing this file:
%
% 1. To change formatting, appearance, or style, please edit pmix.sty.
%
% 2. Custom commands and macros are defined in pmix.sty.
%
% 3. Be kind to other editors -- keep a consistent style by copying-and-pasting to
% create new content.
%
% 4. We use semantic markup, e.g. (see pmix.sty for a full list):
% \code{} % for bold monospace keywords, code, operators, etc.
%
% 5. Other recommendations:
% Use the convenience macros defined in pmix.sty for the minor headers
% such as Comments, Syntax, etc.
%
% To keep items together on the same page, prefer the use of
% \begin{samepage}.... Avoid \parbox for text blocks as it interrupts line numbering.
% When possible, avoid \filbreak, \pagebreak, \newpage, \clearpage unless that's
% what you mean. Use \needspace{} cautiously for troublesome paragraphs.
%
% Avoid absolute lengths and measures in this file; use relative units when possible.
% Vertical space can be relative to \baselineskip or ex units. Horizontal space
% can be relative to \linewidth or em units.
%
% Prefer \emph{} to italicize terminology, e.g.:
% This is a \emph{definition}, not a placeholder.
% This is a \plc{var-name}.
%
% The following says letter size, but the style sheet may change the size
\documentclass[10pt,letterpaper,twoside,makeidx,hidelinks]{scrreprt}
%%%%%%%%%%%%%%%%%%%
% Release Managers:
% - Set is_unofficial_draft = false to remove the watermark
% - Set VER to the correct version number
% - Set VERDATE to the Month+Year of the release
%%%%%%%%%%%%%%%%%%%
\usepackage[us,24hr]{datetime}
\usepackage{ifthen}
\newboolean{is_unofficial_draft}
\setboolean{is_unofficial_draft}{true}
% Text to appear in the footer on even-numbered pages:
\ifthenelse{\boolean{is_unofficial_draft}}
{\newcommand{\VER}{4.0 (Draft)}
\newcommand{\VERDATE}{\emph{Created on \today}}
}
{\newcommand{\VER}{4.0}
\newcommand{\VERDATE}{Month Year}
}
\newcommand{\footerText}{PMIx Standard -- Version \VER{} -- \VERDATE}
% Unified style sheet for PMIx documents:
\input{pmix.sty}
\makeindex[intoc,columns=2]
% Watermark for the Unofficial Drafts
% Note: "allpages","evenpages","oddpages" do not work. Likely because of the index.
\ifthenelse{\boolean{is_unofficial_draft}}
{\usepackage[printwatermark]{xwatermark}
\newwatermark[firstpage,color=gray!30,angle=45,scale=3,xpos=-5,ypos=0]{Unofficial Draft}
}{}
%%%%%%%%%%%%%%%%%%%
\usepackage{acronym}
\acrodef{PMI}[PMI]{Process Management Interface}
\acrodef{PMIx}[PMIx]{Process Management Interface - Exascale}
\acrodef{HPC}[HPC]{High Performance Computing}
\acrodef{MPI}[MPI]{Message Passing Interface}
\acrodef{MPE}[MPE]{Message Passing Environment}
\acrodef{RM}[RM]{resource manager}
\acrodef{RTE}[RTE]{RunTime Environment}
\acrodef{SMS}[SMS]{system management software stack}
\acrodef{WLM}[WLM]{workload manager}
\acrodef{GDS}[GDS]{global data storage}
\acrodef{BCX}[BCX]{business card exchange}
\acrodef{PID}[PID]{process identifier}
\acrodef{URI}[URI]{uniform resource identifier}
\acrodef{CIDR}[CIDR]{Classless Inter-Domain Routing}
\acrodef{XML}[XML]{eXtensible Markup Language}
\acrodef{RAS}[RAS]{Reliability and Survivability}
\acrodef{API}[API]{Application Programming Interface}
\acrodef{PRRTE}[PRRTE]{PMIx-based Reference RunTime Environment}
\acrodef{PRI}[PRI]{PMIx Reference Implementation}
\acrodef{ECC}[ECC]{Error Check and Correction}
\acrodef{FM}[FM]{Fabric Manager}
\acrodef{IO}[IO]{Input/Output}
\acrodef{MPMD}{Multiple Program Multiple Data}
\acrodef{PU}{Processing Unit}
\acrodef{HWLOC}{Hardware Locality}
\acrodef{OS}{Operating System}
\acrodef{PGCID}{Process Group Context IDentifier}
\acrodef{NIC}{Network Interface Card}
%%%%%%%%%%%%%%%%%%%
\begin{document}
%
% Title page
%
\pagenumbering{roman}
\input{TitlePage}
%
% Table of contents
%
\setcounter{page}{0}
\setcounter{tocdepth}{2}
\begin{spacing}{1.3}
\RedeclareSectionCommand[tocnumwidth=2.6em]{section}
\RedeclareSectionCommand[tocnumwidth=3.7em,tocindent=4.1em]{subsection}
\tableofcontents
\end{spacing}
%
% Introductory materials
%
% Uncomment the next line to enable line numbering on the main body text:
\linenumbers\pagewiselinenumbers
\newpage\pagenumbering{arabic}
\setcounter{chapter}{0} % start chapter numbering here
%
% Chapters
%
% Introduction to PMIx
% - Overview, Goals, Arch.
\input{Chap_Introduction.tex}
% PMIx Terms and Conventions
\input{Chap_Terms.tex}
% Data Structures, Types, Constants
% - Includes: Reserved attributes, Keys
\input{Chap_API_Struct.tex}
% Initialization & Finalization
% - Client, Server, Tool interfaces
\input{Chap_API_Init.tex}
% Key/Value Management
% - put, get, commit, fence, (un)publish, lookup
\input{Chap_API_Key_Value_Mgmt.tex}
% Process Management
% - spawn, (dis)connect, resolve_peers
\input{Chap_API_Proc_Mgmt.tex}
% Job Allocation Management
% - Allocation request, process monitoring
\input{Chap_API_Job_Mgmt.tex}
% Event Handling
% - (de)register_event, notify_event
\input{Chap_API_Event.tex}
% Data Packing & Unpacking
% - (un)pack, copy
\input{Chap_API_Data_Mgmt.tex}
% Security credentials
\input{Chap_API_Security.tex}
% PMIx Server Specific Interfaces
% - setup_fork, (de)register_nspace, pmix_server_module_t
\input{Chap_API_Server.tex}
% PMIx Scheduler Specific Interfaces
% - register/deregister fabric, get vertex/index
\input{Chap_API_Scheduler.tex}
% PMIx Process Sets and Groups
\input{Chap_API_Sets_Groups.tex}
% PMIx Network Coordinates
\input{Chap_API_Coord.tex}
%
% Appendix
%
\setcounter{chapter}{0} % restart chapter numbering with "letter A"
\renewcommand{\thechapter}{\Alph{chapter}}%
\appendix
% Python bindings
\input{App_Python}
% Revisions, Acknowledgements
\input{Acknowledgements}
%
% Bibliography
%
\nolinenumbers
\bibliography{pmix-standard}{}
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plain}
%
% Index
%
\nolinenumbers
\printindex
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%