Skip to content

Commit 4aef4e3

Browse files
committed
Per WG, avoid use of term "slot"
Refer instead to "max procs that can be simultaneously executing" Signed-off-by: Ralph Castain <[email protected]>
1 parent 7cc7071 commit 4aef4e3

File tree

1 file changed

+27
-29
lines changed

1 file changed

+27
-29
lines changed

Chap_API_Reserved_Keys.tex

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ \subsection{Session realm attributes}
107107
}
108108
%
109109
\declareAttribute{PMIX_UNIV_SIZE}{"pmix.univ.size"}{uint32_t}{
110-
Number of allocated slots in a session - each slot may or may not be occupied
111-
by an executing process. Note that this attribute is equivalent to
112-
the \refattr{PMIX_MAX_PROCS} attributed combined with \refattr{PMIX_SESSION_INFO}
113-
array - it is included in the \ac{PMIx} Standard for historical reasons.
110+
Maximum number of process that can be simultaneously executing in
111+
a session. Note that this attribute is equivalent to
112+
the \refattr{PMIX_MAX_PROCS} attribute for the \refterm{session} realm - it
113+
is included in the \ac{PMIx} Standard for historical reasons.
114114
}
115115
%
116116
\declareAttribute{PMIX_TMPDIR}{"pmix.tmpdir"}{char*}{
@@ -120,6 +120,10 @@ \subsection{Session realm attributes}
120120
\declareAttribute{PMIX_TDIR_RMCLEAN}{"pmix.tdir.rmclean"}{bool}{
121121
Resource Manager will cleanup assigned temporary directory trees.
122122
}
123+
%
124+
\declareAttributeNEW{PMIX_HOSTNAME_KEEP_FQDN}{"pmix.fqdn"}{bool}{
125+
\acp{FQDN} are being retained by the \ac{PMIx} library.
126+
}
123127

124128
\vspace{\baselineskip}
125129

@@ -139,44 +143,44 @@ \subsection{Session realm attributes}
139143
The remaining session-related information can only be retrieved by including the \refattr{PMIX_SESSION_INFO} attribute in the \refarg{info} array passed to \refapi{PMIx_Get}:
140144

141145
\declareAttribute{PMIX_ALLOCATED_NODELIST}{"pmix.alist"}{char*}{
142-
Comma-delimited list or regular expression of all nodes in the specified realm regardless of whether or not they currently host processes.
146+
Comma-delimited list or regular expression of all nodes in the specified realm regardless of whether or not they currently host processes. Defaults to the \refterm{job} realm.
143147
}
144148
%
145149
\declareAttributeNEW{PMIX_NUM_ALLOCATED_NODES}{"pmix.num.anodes"}{uint32_t}{
146-
Number of nodes in the specified realm regardless of whether or not they currently host processes.
150+
Number of nodes in the specified realm regardless of whether or not they currently host processes. Defaults to the \refterm{job} realm.
147151
}
148152
%
149153
\declareAttribute{PMIX_MAX_PROCS}{"pmix.max.size"}{uint32_t}{
150154
Maximum number of processes that can be executed in the specified realm.
151155
Typically, this is a constraint imposed by a scheduler or by user settings in a
152-
hostfile or other resource description.
156+
hostfile or other resource description. Defaults to the \refterm{job} realm.
153157
}
154158
%
155159
\declareAttribute{PMIX_NODE_LIST}{"pmix.nlist"}{char*}{
156-
Comma-delimited list of nodes currently hosting processes in the specified realm.
160+
Comma-delimited list of nodes currently hosting processes in the specified realm. Defaults to the \refterm{job} realm.
157161
}
158162
%
159163
\declareAttribute{PMIX_NUM_SLOTS}{"pmix.num.slots"}{uint32_t}{
160-
Number of slots allocated in the specified realm. Note that this attribute is
164+
Maximum number of processes that can simultaneously be executing in the specified realm. Note that this attribute is
161165
the equivalent to \refattr{PMIX_MAX_PROCS} -
162-
it is included in the \ac{PMIx} Standard for historical reasons.
166+
it is included in the \ac{PMIx} Standard for historical reasons. Defaults to the \refterm{job} realm.
163167
}
164168
%
165169
\declareAttributeNEW{PMIX_NUM_NODES}{"pmix.num.nodes"}{uint32_t}{
166-
Number of nodes currently hosting processes in the specified realm.
170+
Number of nodes currently hosting processes in the specified realm. Defaults to the \refterm{job} realm.
167171
}
168172

169173
%
170174
\declareAttribute{PMIX_NODE_MAP}{"pmix.nmap"}{char*}{
171-
Regular expression of nodes currently hosting processes in the specified realm - see \ref{cptr:api_server:noderegex} for an explanation of its generation.
175+
Regular expression of nodes currently hosting processes in the specified realm - see \ref{cptr:api_server:noderegex} for an explanation of its generation. Defaults to the \refterm{job} realm.
172176
}
173177
%
174178
\declareAttribute{PMIX_PROC_MAP}{"pmix.pmap"}{char*}{
175-
Regular expression describing processes on each node in the specified realm - see \ref{cptr:api_server:ppnregex} for an explanation of its generation.
179+
Regular expression describing processes on each node in the specified realm - see \ref{cptr:api_server:ppnregex} for an explanation of its generation. Defaults to the \refterm{job} realm.
176180
}
177181
%
178182
\declareAttribute{PMIX_ANL_MAP}{"pmix.anlmap"}{char*}{
179-
Process mapping in Argonne National Laboratory's PMI-1/PMI-2 notation.
183+
Process map equivalent to \refattr{PMIX_PROC_MAP} expressed in Argonne National Laboratory's PMI-1/PMI-2 notation. Defaults to the \refterm{job} realm.
180184
}
181185

182186
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -198,7 +202,7 @@ \subsection{Job realm attributes}
198202

199203
%
200204
\declareAttribute{PMIX_NSPACE}{"pmix.nspace"}{char*}{
201-
Namespace of the job - may be a numerical value expressed as a string, but is often an alphanumeric string carrying information solely of use to the system.
205+
Namespace of the job - may be a numerical value expressed as a string, but is often an alphanumeric string carrying information solely of use to the system. Required to be unique within the scope of the host environment.
202206
}
203207
%
204208
\declareAttribute{PMIX_JOBID}{"pmix.jobid"}{char*}{
@@ -209,14 +213,13 @@ \subsection{Job realm attributes}
209213
Starting global rank of the specified job.
210214
}
211215
%
212-
\pasteAttributeItemBegin{PMIX_MAX_PROCS}In this context, this is the maximum number of processes that can be executed in the specified job, which may be a subset of the number allocated to the overall session.
216+
\pasteAttributeItemBegin{PMIX_MAX_PROCS}In this context, this is the maximum number of processes that can be simultaneously executed in the specified job, which may be a subset of the number allocated to the overall session.
213217
\pasteAttributeItemEnd{}
214218
%
215-
\pasteAttributeItemBegin{PMIX_NUM_SLOTS}In this context, this is the number of
216-
slots assigned to the specified job, which may be a subset of the slots
219+
\pasteAttributeItemBegin{PMIX_NUM_SLOTS}In this context, this is the maximum number of
220+
process that can be simultaneously executing within the specified job, which may be a subset of the number
217221
allocated to the overall session. Jobs may reserve a subset of their assigned
218-
slots for dynamic operations such as \refapi{PMIx_Spawn} - i.e., not all slots
219-
may be occupied by executing processes from this job at a given point in time.
222+
maximum processes for dynamic operations such as \refapi{PMIx_Spawn}.
220223
\pasteAttributeItemEnd{}
221224
%
222225
\pasteAttributeItemBegin{PMIX_NUM_NODES}In this context, this is the number of
@@ -248,10 +251,6 @@ \subsection{Job realm attributes}
248251
Full path to the temporary directory assigned to the specified job, under \refattr{PMIX_TMPDIR}.
249252
}
250253
%
251-
\declareAttribute{PMIX_LOCALLDR}{"pmix.lldr"}{pmix_rank_t}{
252-
Lowest rank within the specified job on the node (defaults to current node in absence of \refattr{PMIX_HOSTNAME} or \refattr{PMIX_NODEID} qualifier).
253-
}
254-
%
255254
\declareAttribute{PMIX_JOB_SIZE}{"pmix.job.size"}{uint32_t}{
256255
Total number of processes in the specified job across all contained applications. Note that this value can be different from \refattr{PMIX_MAX_PROCS}. For example, users may choose to subdivide an allocation (running several jobs in parallel within it), and dynamic programming models may support adding and removing processes from a running \refterm{job} on-the-fly. In the latter case, \ac{PMIx} events may be used to notify processes within the job that the job size has changed.
257256
}
@@ -325,7 +324,6 @@ \subsection{Application realm attributes}
325324
Regular expression describing the result of the process mapping.
326325
}
327326

328-
329327
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
330328
\subsection{Process realm attributes}
331329
\label{chap:res:prealm}
@@ -443,10 +441,6 @@ \subsection{Node realm keys}
443441
Comma-delimited list of names by which the target node is known.
444442
}
445443
%
446-
\declareAttributeNEW{PMIX_HOSTNAME_KEEP_FQDN}{"pmix.fqdn"}{bool}{
447-
\acp{FQDN} are being retained by the \ac{PMIx} library.
448-
}
449-
%
450444
\declareAttribute{PMIX_NODEID}{"pmix.nodeid"}{uint32_t}{
451445
Node identifier expressed as the node's index (beginning at zero) in an array of nodes within the active session. The value must be unique and directly correlate to the \refattr{PMIX_HOSTNAME} of the node - i.e., users can interchangeably reference the same location using either the \refattr{PMIX_HOSTNAME} or corresponding \refattr{PMIX_NODEID}.
452446
}
@@ -472,6 +466,10 @@ \subsection{Node realm keys}
472466
Array of \refstruct{pmix_proc_t} of all processes executing on the local node -- shortcut for \refapi{PMIx_Resolve_peers} for the local node and a \code{NULL} namespace argument. The process identifier is ignored for this attribute.
473467
}
474468
%
469+
\declareAttribute{PMIX_LOCALLDR}{"pmix.lldr"}{pmix_rank_t}{
470+
Lowest rank within the specified job on the node (defaults to current node in absence of \refattr{PMIX_HOSTNAME} or \refattr{PMIX_NODEID} qualifier).
471+
}
472+
%
475473
\declareAttribute{PMIX_LOCAL_CPUSETS}{"pmix.lcpus"}{pmix_data_array_t}{
476474
A \refstruct{pmix_data_array_t} array of string representations of the \ac{PU} binding bitmaps applied to each local \refterm{peer} on the caller's node upon launch. Each string shall begin with the name of the library that generated it (e.g., "hwloc") followed by a colon and the bitmap string itself. The array shall be in the same order as the processes returned by \refattr{PMIX_LOCAL_PEERS} for that namespace.
477475
}

0 commit comments

Comments
 (0)