Skip to content

Commit f776d45

Browse files
authored
Merge pull request #447 from abouteiller/proofread/v5.0
Editorial changes from proofread of v5.0 final document
2 parents d165b57 + 513a173 commit f776d45

8 files changed

+37
-39
lines changed

Chap_API_Data_Mgmt.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ \section{Support Macros}
4848

4949
Provide a static initializer for the \refstruct{pmix_data_buffer_t} fields.
5050

51-
\versionMarker{4.2}
51+
\versionMarker{5.0}
5252
\cspecificstart
5353
\begin{codepar}
5454
PMIX_DATA_BUFFER_STATIC_INIT
@@ -600,7 +600,7 @@ \subsection{\code{PMIx_Data_embed}}
600600
%%%%
601601
\format
602602

603-
\versionMarker{4.2}
603+
\versionMarker{5.0}
604604
\cspecificstart
605605
\begin{codepar}
606606
pmix_status_t

Chap_API_Fabric.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ \subsection{Fabric endpoint support macros}
129129

130130
Provide a static initializer for the \refstruct{pmix_endpoint_t} fields.
131131

132-
\versionMarker{4.2}
132+
\versionMarker{5.0}
133133
\cspecificstart
134134
\begin{codepar}
135135
PMIX_ENDPOINT_STATIC_INIT
@@ -230,7 +230,7 @@ \subsection{Fabric coordinate support macros}
230230

231231
Provide a static initializer for the \refstruct{pmix_coord_t} fields.
232232

233-
\versionMarker{4.2}
233+
\versionMarker{5.0}
234234
\cspecificstart
235235
\begin{codepar}
236236
PMIX_COORD_STATIC_INIT
@@ -334,7 +334,7 @@ \subsection{Fabric geometry support macros}
334334

335335
Provide a static initializer for the \refstruct{pmix_geometry_t} fields.
336336

337-
\versionMarker{4.2}
337+
\versionMarker{5.0}
338338
\cspecificstart
339339
\begin{codepar}
340340
PMIX_GEOMETRY_STATIC_INIT
@@ -541,7 +541,7 @@ \subsubsection{Static initializer for the fabric structure}
541541

542542
Provide a static initializer for the \refstruct{pmix_fabric_t} fields.
543543

544-
\versionMarker{4.2}
544+
\versionMarker{5.0}
545545
\cspecificstart
546546
\begin{codepar}
547547
PMIX_FABRIC_STATIC_INIT

Chap_API_Proc_Mgmt.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ \subsubsection{App structure support macros}
625625
626626
Provide a static initializer for the \refstruct{pmix_app_t} fields.
627627
628-
\versionMarker{4.2}
628+
\versionMarker{5.0}
629629
\cspecificstart
630630
\begin{codepar}
631631
PMIX_APP_STATIC_INIT
@@ -1164,7 +1164,7 @@ \subsubsection{Topology support macros}
11641164
11651165
Provide a static initializer for the \refstruct{pmix_topology_t} fields.
11661166
1167-
\versionMarker{4.2}
1167+
\versionMarker{5.0}
11681168
\cspecificstart
11691169
\begin{codepar}
11701170
PMIX_TOPOLOGY_STATIC_INIT
@@ -1197,7 +1197,7 @@ \subsubsection{Topology support macros}
11971197
%%%%
11981198
\format
11991199
1200-
\versionMarker{4.2}
1200+
\versionMarker{5.0}
12011201
\cspecificstart
12021202
\begin{codepar}
12031203
void
@@ -1572,7 +1572,7 @@ \subsection{Device distance support macros}
15721572
15731573
Provide a static initializer for the \refstruct{pmix_device_distance_t} fields.
15741574
1575-
\versionMarker{4.2}
1575+
\versionMarker{5.0}
15761576
\cspecificstart
15771577
\begin{codepar}
15781578
PMIX_DEVICE_DIST_STATIC_INIT

Chap_API_Publish.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ \subsubsection{Lookup data structure support macros}
421421

422422
Provide a static initializer for the \refstruct{pmix_pdata_t} fields.
423423

424-
\versionMarker{4.2}
424+
\versionMarker{5.0}
425425
\cspecificstart
426426
\begin{codepar}
427427
PMIX_LOOKUP_STATIC_INIT

Chap_API_Query.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ \subsubsection{Query structure support macros}
463463

464464
Provide a static initializer for the \refstruct{pmix_query_t} fields.
465465

466-
\versionMarker{4.2}
466+
\versionMarker{5.0}
467467
\cspecificstart
468468
\begin{codepar}
469469
PMIX_QUERY_STATIC_INIT

Chap_API_Server.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ \subsubsection{Attribute registration structure support macros}
14171417

14181418
Provide a static initializer for the \refstruct{pmix_regattr_t} fields.
14191419

1420-
\versionMarker{4.2}
1420+
\versionMarker{5.0}
14211421
\cspecificstart
14221422
\begin{codepar}
14231423
PMIX_REGATTR_STATIC_INIT
@@ -1785,7 +1785,7 @@ \subsubsection{Cpuset support macros}
17851785

17861786
Provide a static initializer for the \refstruct{pmix_cpuset_t} fields.
17871787

1788-
\versionMarker{4.2}
1788+
\versionMarker{5.0}
17891789
\cspecificstart
17901790
\begin{codepar}
17911791
PMIX_CPUSET_STATIC_INIT

Chap_API_Struct.tex

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ \section{Constants}
4646
\end{constantdesc}
4747

4848
\adviceimplstart
49-
\refconst{PMIX_MAX_NSLEN} should have a minimum value of 63 characters. Namespace arrays in \ac{PMIx} defined structures must reserve
49+
Namespace arrays in \ac{PMIx} defined structures must reserve
5050
a space of size \refconst{PMIX_MAX_NSLEN}+1 to allow room for the \code{NULL} terminator
5151
\adviceimplend
5252

@@ -57,7 +57,7 @@ \section{Constants}
5757
\end{constantdesc}
5858

5959
\adviceimplstart
60-
\refconst{PMIX_MAX_KEYLEN} should have a minimum value of 63 characters. Key arrays in \ac{PMIx} defined structures must reserve
60+
Key arrays in \ac{PMIx} defined structures must reserve
6161
a space of size \refconst{PMIX_MAX_KEYLEN}+1 to allow room for the \code{NULL} terminator
6262
\adviceimplend
6363

@@ -87,10 +87,8 @@ \subsection{PMIx Return Status Constants}
8787
\adviceimplend
8888

8989
\adviceuserstart
90-
Other than \refconst{PMIX_SUCCESS} (which is required to be zero), the integer value of any \ac{PMIx} error constant is left to the \ac{PMIx} library implementer with the constraint that it be negative and greater magnitude (i.e. of larger absolute value)
91-
than
92-
\refconst{PMIX_EXTERNAL_ERR_BASE}.
93-
Thus, users are advised to always refer to constants by name, and not by a specific implementation's integer value, for portability between implementations and compatibility across library versions.
90+
Other than \refconst{PMIX_SUCCESS} (which is required to be zero), the integer value of any \ac{PMIx} error constant are negative and of greater magnitude (i.e. of larger absolute value) than\refconst{PMIX_EXTERNAL_ERR_BASE}.
91+
For compatibility with future versions, users are advised to always refer to constants by name, and not by their integer value which may be specific to an \ac{ABI} version.
9492
\adviceuserend
9593

9694
The presentation of each \ac{API} in this document includes a list of return status constants which are either specific to that \ac{API} or are expected to be returned by the \ac{API} in normal use.
@@ -473,7 +471,7 @@ \subsubsection{Process structure support macros}
473471

474472
Provide a static initializer for the \refstruct{pmix_proc_t} fields.
475473

476-
\versionMarker{4.2}
474+
\versionMarker{5.0}
477475
\cspecificstart
478476
\begin{codepar}
479477
PMIX_PROC_STATIC_INIT
@@ -797,7 +795,7 @@ \subsubsection{Process information structure support macros}
797795

798796
Provide a static initializer for the \refstruct{pmix_proc_info_t} fields.
799797

800-
\versionMarker{4.2}
798+
\versionMarker{5.0}
801799
\cspecificstart
802800
\begin{codepar}
803801
PMIX_PROC_INFO_STATIC_INIT
@@ -981,7 +979,7 @@ \subsubsection{Value structure support}
981979

982980
Provide a static initializer for the \refstruct{pmix_value_t} fields.
983981

984-
\versionMarker{4.2}
982+
\versionMarker{5.0}
985983
\cspecificstart
986984
\begin{codepar}
987985
PMIX_VALUE_STATIC_INIT
@@ -1072,7 +1070,7 @@ \subsubsection{Value structure support}
10721070
%%%%
10731071
\format
10741072

1075-
\versionMarker{4.2}
1073+
\versionMarker{5.0}
10761074
\cspecificstart
10771075
\begin{codepar}
10781076
pmix_status_t
@@ -1107,7 +1105,7 @@ \subsubsection{Value structure support}
11071105
%%%%
11081106
\format
11091107

1110-
\versionMarker{4.2}
1108+
\versionMarker{5.0}
11111109
\cspecificstart
11121110
\begin{codepar}
11131111
pmix_status_t
@@ -1146,7 +1144,7 @@ \subsubsection{Value structure support}
11461144
%%%%
11471145
\format
11481146

1149-
\versionMarker{4.2}
1147+
\versionMarker{5.0}
11501148
\cspecificstart
11511149
\begin{codepar}
11521150
pmix_status_t
@@ -1211,7 +1209,7 @@ \subsubsection{Info structure support macros}
12111209

12121210
Provide a static initializer for the \refstruct{pmix_info_t} fields.
12131211

1214-
\versionMarker{4.2}
1212+
\versionMarker{5.0}
12151213
\cspecificstart
12161214
\begin{codepar}
12171215
PMIX_INFO_STATIC_INIT
@@ -1288,7 +1286,7 @@ \subsubsection{Info structure support macros}
12881286
%%%%
12891287
\format
12901288

1291-
\versionMarker{4.2}
1289+
\versionMarker{5.0}
12921290
\cspecificstart
12931291
\begin{codepar}
12941292
pmix_status_t
@@ -1325,7 +1323,7 @@ \subsubsection{Info structure support macros}
13251323
%%%%
13261324
\format
13271325

1328-
\versionMarker{4.2}
1326+
\versionMarker{5.0}
13291327
\cspecificstart
13301328
\begin{codepar}
13311329
pmix_status_t
@@ -1383,7 +1381,7 @@ \subsubsection{Info structure list macros}
13831381
%%%%
13841382
\format
13851383

1386-
\versionMarker{4.2}
1384+
\versionMarker{5.0}
13871385
\cspecificstart
13881386
\begin{codepar}
13891387
void*
@@ -1408,7 +1406,7 @@ \subsubsection{Info structure list macros}
14081406
%%%%
14091407
\format
14101408

1411-
\versionMarker{4.2}
1409+
\versionMarker{5.0}
14121410
\cspecificstart
14131411
\begin{codepar}
14141412
pmix_status_t
@@ -1445,7 +1443,7 @@ \subsubsection{Info structure list macros}
14451443
%%%%
14461444
\format
14471445

1448-
\versionMarker{4.2}
1446+
\versionMarker{5.0}
14491447
\cspecificstart
14501448
\begin{codepar}
14511449
pmix_status_t
@@ -1480,7 +1478,7 @@ \subsubsection{Info structure list macros}
14801478
%%%%
14811479
\format
14821480

1483-
\versionMarker{4.2}
1481+
\versionMarker{5.0}
14841482
\cspecificstart
14851483
\begin{codepar}
14861484
pmix_status_t
@@ -1515,7 +1513,7 @@ \subsubsection{Info structure list macros}
15151513
%%%%
15161514
\format
15171515

1518-
\versionMarker{4.2}
1516+
\versionMarker{5.0}
15191517
\cspecificstart
15201518
\begin{codepar}
15211519
void
@@ -1733,7 +1731,7 @@ \subsubsection{Environmental variable support macros}
17331731

17341732
Provide a static initializer for the \refstruct{pmix_envar_t} fields.
17351733

1736-
\versionMarker{4.2}
1734+
\versionMarker{5.0}
17371735
\cspecificstart
17381736
\begin{codepar}
17391737
PMIX_ENVAR_STATIC_INIT
@@ -1837,7 +1835,7 @@ \subsubsection{Byte object support macros}
18371835

18381836
Provide a static initializer for the \refstruct{pmix_byte_object_t} fields.
18391837

1840-
\versionMarker{4.2}
1838+
\versionMarker{5.0}
18411839
\cspecificstart
18421840
\begin{codepar}
18431841
PMIX_BYTE_OBJECT_STATIC_INIT
@@ -1939,7 +1937,7 @@ \subsubsection{Data array support macros}
19391937

19401938
Provide a static initializer for the \refstruct{pmix_data_array_t} fields.
19411939

1942-
\versionMarker{4.2}
1940+
\versionMarker{5.0}
19431941
\cspecificstart
19441942
\begin{codepar}
19451943
PMIX_DATA_ARRAY_STATIC_INIT

Chap_Terms.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ \chapter{PMIx Terms and Conventions}
3030

3131
\item \declareterm{job} refers to a set of one or more \emph{applications} executed as a single invocation by the user within a session with a unique identifier, the \emph{job ID}, assigned by the \ac{RM} or launcher. For example, the command line ``\textit{mpiexec -n 1 app1 : -n 2 app2}'' generates a single \ac{MPMD} job containing two applications. A user may execute multiple \emph{jobs} within a given session, either sequentially or concurrently.
3232

33-
\item \declareterm{namespace} refers to a character string value assigned by the \ac{RM} to a \textit{job}. All \textit{applications} executed as part of that \textit{job} share the same \emph{namespace}. The \emph{namespace} assigned to each \emph{job} must be unique within the scope of the governing \ac{RM} and often is implemented as a string representation of the numerical emph{Job ID}. The \emph{namespace} and \emph{job} terms will be used interchangeably throughout the document.
33+
\item \declareterm{namespace} refers to a character string value assigned by the \ac{RM} to a \textit{job}. All \textit{applications} executed as part of that \textit{job} share the same \emph{namespace}. The \emph{namespace} assigned to each \emph{job} must be unique within the scope of the governing \ac{RM} and often is implemented as a string representation of the numerical \emph{Job ID}. The \emph{namespace} and \emph{job} terms will be used interchangeably throughout the document.
3434

3535
\item \declareterm{application} represents a set of identical, but not necessarily unique,
3636
execution contexts within a \emph{job}.
@@ -165,4 +165,4 @@ \section{Procedure Conventions}
165165

166166
Many \ac{PMIx} interfaces, particularly nonblocking interfaces, use a \code{(void*)} callback data object passed to the function that is then passed to the associated callback. On the client side, the callback data object is an opaque, client-provided context that the client can pass to a non-blocking call. When the nonblocking call completes, the callback data object is passed back to the client without modification by the \ac{PMIx} library, thus allowing the client to associate a context with that callback. This is useful if there are many outstanding nonblocking calls.
167167

168-
A similar model is used for the server module functions (see \ref{server:module_fns}). In this case, the \ac{PMIx} library is making an upcall into its host via the \ac{PMIx} server module callback function and passing a specific callback function pointer and callback data object. The \ac{PMIx} library expects the host to call the cbfunc with the necessary arguments and pass back the original callback data obect upon completing the operation. This gives the server-side \ac{PMIx} library the ability to associate a context with the call back (since multiple operations may be outstanding). The host has no visibility into the contents of the callback data object object, nor is permitted to alter it in any way.
168+
A similar model is used for the server module functions (see \ref{server:module_fns}). In this case, the \ac{PMIx} library is making an upcall into its host via the \ac{PMIx} server module callback function and passing a specific callback function pointer and callback data object. The \ac{PMIx} library expects the host to call the cbfunc with the necessary arguments and pass back the original callback data obect upon completing the operation. This gives the server-side \ac{PMIx} library the ability to associate a context with the callback (since multiple operations may be outstanding). The host has no visibility into the contents of the callback data object object, nor is permitted to alter it in any way.

0 commit comments

Comments
 (0)