Skip to content

Commit 46c63a5

Browse files
authored
Merge pull request #514 from abouteiller/issue513/import42changelog
import v4.2 changelog; populate v5.1 changelog with already voted-in items
2 parents 605abd3 + aad674a commit 46c63a5

File tree

3 files changed

+151
-7
lines changed

3 files changed

+151
-7
lines changed

Chap_Revisions.tex

Lines changed: 147 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,23 +1456,167 @@ \subsection{Removed Constants}
14561456
Replaced by \refconst{PMIX_ERR_PARTIAL_SUCCESS}.
14571457
\end{constantdesc}
14581458

1459+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1460+
%%%%%%%%%% History: Version 4.2
1461+
\section{Version 4.2: May 2024}
1462+
1463+
The v4.2 update released after v5.0 to backport select features to the v4 line.
1464+
The v4.2 update succeeds v4.1; changes made in v5.0 do not apply to v4.2
1465+
except if listed again in this changelog section.
1466+
1467+
The v4.2 update includes the following changes from the v4.1 document:
1468+
1469+
\begin{compactitemize}
1470+
\item Release prepared using procedures defined in the PMIx
1471+
Governance v1.7 document\footnote{\url{https://github.com/pmix/governance/releases/tag/v1.7}}.
1472+
\item Revision history now contains a list of errata changes.
1473+
\item Clarify when \refattr{PMIX_PARENT_ID} attribute is provided (backport from v5.0).
1474+
\item Clarify the value of \refattr{PMIX_CMD_LINE} attribute in spawn case (backport from v5.0).
1475+
\item Add a definition for \refterm{tool}.
1476+
\item Add that using \refapi{PMIx_Info_load} with a \code{NULL} \refconst{PMIX_BOOL} data sets the value to true.
1477+
\end{compactitemize}
1478+
1479+
\subsection{Errata}
1480+
1481+
\begin{compactitemize}
1482+
\item Parameter type for the key argument in \refapi{PMIx_Get} has been changed from \refstruct{pmix_key_t} to \code{char []} so that it is uniform with the argument in \refapi{PMIx_Get_nb}.
1483+
\item Parameter type for the payload argument in \refapi{pmix_iof_cbfunc_t} has been changed to a pointer to the type \refstruct{pmix_byte_object_t}.
1484+
\end{compactitemize}
1485+
1486+
\subsection{Added Functions (Provisional, backport from v5.0)}
1487+
1488+
\begin{compactitemize}
1489+
\item \refapi{PMIx_Data_embed}
1490+
\item \refapi{PMIx_Value_load}
1491+
\item \refapi{PMIx_Value_unload}
1492+
\item \refapi{PMIx_Value_xfer}
1493+
\item \refapi{PMIx_Info_list_start}
1494+
\item \refapi{PMIx_Info_list_add}
1495+
\item \refapi{PMIx_Info_list_xfer}
1496+
\item \refapi{PMIx_Info_list_convert}
1497+
\item \refapi{PMIx_Info_list_release}
1498+
\item \refapi{PMIx_Topology_destruct}
1499+
\end{compactitemize}
1500+
1501+
\subsection{Added Macros (Provisional, backport from v5.0)}
1502+
1503+
\begin{compactitemize}
1504+
\item \refmacro{PMIX_APP_STATIC_INIT}
1505+
\item \refmacro{PMIX_BYTE_OBJECT_STATIC_INIT}
1506+
\item \refmacro{PMIX_COORD_STATIC_INIT}
1507+
\item \refmacro{PMIX_CPUSET_STATIC_INIT}
1508+
\item \refmacro{PMIX_DATA_ARRAY_STATIC_INIT}
1509+
\item \refmacro{PMIX_DATA_BUFFER_STATIC_INIT}
1510+
\item \refmacro{PMIX_DEVICE_DIST_STATIC_INIT}
1511+
\item \refmacro{PMIX_ENDPOINT_STATIC_INIT}
1512+
\item \refmacro{PMIX_ENVAR_STATIC_INIT}
1513+
\item \refmacro{PMIX_FABRIC_STATIC_INIT}
1514+
\item \refmacro{PMIX_GEOMETRY_STATIC_INIT}
1515+
\item \refmacro{PMIX_INFO_STATIC_INIT}
1516+
\item \refmacro{PMIX_LOOKUP_STATIC_INIT}
1517+
\item \refmacro{PMIX_PROC_INFO_STATIC_INIT}
1518+
\item \refmacro{PMIX_PROC_STATIC_INIT}
1519+
\item \refmacro{PMIX_QUERY_STATIC_INIT}
1520+
\item \refmacro{PMIX_REGATTR_STATIC_INIT}
1521+
\item \refmacro{PMIX_TOPOLOGY_STATIC_INIT}
1522+
\item \refmacro{PMIX_VALUE_STATIC_INIT}
1523+
\end{compactitemize}
1524+
1525+
\subsection{Added Constants (Provisional, backport from v5.0)}
1526+
1527+
\littleheader{Spawn constants}
1528+
1529+
\begin{compactitemize}
1530+
\item \refconst{PMIX_ERR_JOB_EXE_NOT_FOUND}
1531+
\item \refconst{PMIX_ERR_JOB_INSUFFICIENT_RESOURCES}
1532+
\item \refconst{PMIX_ERR_JOB_SYS_OP_FAILED}
1533+
\item \refconst{PMIX_ERR_JOB_WDIR_NOT_FOUND}
1534+
\end{compactitemize}
1535+
1536+
\subsection{Added Attributes (Provisional, backport from v5.0)}
1537+
1538+
\littleheader{Spawn attributes}
1539+
\pasteAttributeItem{PMIX_ENVARS_HARVESTED}
1540+
\pasteAttributeItem{PMIX_JOB_TIMEOUT}
1541+
\pasteAttributeItem{PMIX_LOCAL_COLLECTIVE_STATUS}
1542+
\pasteAttributeItem{PMIX_NODE_OVERSUBSCRIBED}
1543+
\pasteAttributeItem{PMIX_SINGLETON}
1544+
\pasteAttributeItem{PMIX_SPAWN_TIMEOUT}
1545+
1546+
\littleheader{Tool attributes}
1547+
\pasteAttributeItem{PMIX_IOF_FILE_PATTERN}
1548+
\pasteAttributeItem{PMIX_IOF_FILE_ONLY}
1549+
\pasteAttributeItem{PMIX_IOF_LOCAL_OUTPUT}
1550+
\pasteAttributeItem{PMIX_IOF_MERGE_STDERR_STDOUT}
1551+
\pasteAttributeItem{PMIX_IOF_RANK_OUTPUT}
1552+
\pasteAttributeItem{PMIX_IOF_OUTPUT_RAW}
1553+
\pasteAttributeItem{PMIX_IOF_OUTPUT_TO_DIRECTORY}
1554+
\pasteAttributeItem{PMIX_IOF_OUTPUT_TO_FILE}
1555+
1556+
\subsection{Deprecated constants (backport from v5.0)}
1557+
1558+
The following constants were deprecated in v4.2 (backport from v5.0):
1559+
1560+
\begin{constantdesc}
1561+
%
1562+
\declareconstitemDEP{PMIX_DEBUG_WAITING_FOR_NOTIFY}
1563+
Renamed to \refconst{PMIX_READY_FOR_DEBUG}
1564+
%
1565+
\end{constantdesc}
1566+
1567+
\subsection{Deprecated attributes (backport from v5.0)}
1568+
1569+
The following attributes were deprecated in v4.2 (backport from v5.0):
1570+
1571+
%
1572+
\declareAttributeDEP{PMIX_DEBUG_WAIT_FOR_NOTIFY}{"pmix.dbg.notify"}{bool}{
1573+
Renamed to \refattr{PMIX_DEBUG_STOP_IN_APP}
1574+
}
1575+
1576+
\subsection{Deprecated macros (backport from v5.0)}
1577+
1578+
The following macros were deprecated in v4.2 (backport from v5.0):
1579+
1580+
\begin{compactitemize}
1581+
\item \declaremacroDEP{PMIX_VALUE_LOAD} Replaced by the \refapi{PMIx_Value_load} \ac{API}
1582+
\item \declaremacroDEP{PMIX_VALUE_UNLOAD} Replaced by the \refapi{PMIx_Value_unload} \ac{API}
1583+
\item \declaremacroDEP{PMIX_VALUE_XFER} Replaced by the \refapi{PMIx_Value_xfer} \ac{API}
1584+
\item \declaremacroDEP{PMIX_INFO_LOAD} Replaced by the \refapi{PMIx_Info_load} \ac{API}
1585+
\item \declaremacroDEP{PMIX_INFO_XFER} Replaced by the \refapi{PMIx_Info_xfer} \ac{API}
1586+
\item \declaremacroDEP{PMIX_INFO_LIST_START} Replaced by the \refapi{PMIx_Info_list_start} \ac{API}
1587+
\item \declaremacroDEP{PMIX_INFO_LIST_ADD} Replaced by the \refapi{PMIx_Info_list_add} \ac{API}
1588+
\item \declaremacroDEP{PMIX_INFO_LIST_XFER} Replaced by the \refapi{PMIx_Info_list_xfer} \ac{API}
1589+
\item \declaremacroDEP{PMIX_INFO_LIST_CONVERT} Replaced by the \refapi{PMIx_Info_list_convert} \ac{API}
1590+
\item \declaremacroDEP{PMIX_INFO_LIST_RELEASE} Replaced by the \refapi{PMIx_Info_list_release} \ac{API}
1591+
\item \declaremacroDEP{PMIX_TOPOLOGY_DESTRUCT} Replaced by the \refapi{PMIx_Topology_destruct} \ac{API}
1592+
\item \declaremacroDEP{PMIX_TOPOLOGY_FREE} Not replaced.
1593+
\end{compactitemize}
1594+
14591595
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14601596
%%%%%%%%%% History: Version 5.1
14611597
\section{Version 5.1: TBD}
14621598

1599+
The v5.1 update succeeds the v5.0 document.
1600+
Some changes were first introduced in the v4.2 document, but were not present in the v5.0 document;
1601+
All such changes are part of the v5.1 update and are noted in the rest of this section.
14631602
The v5.1 update includes the following changes from the v5.0 document:
14641603

14651604
\begin{compactitemize}
1466-
\item Revision history now contains a list of errata changes
1467-
\item Add that using \refapi{PMIx_Info_load} with a \code{NULL} \refconst{PMIX_BOOL} data sets the value to true
1605+
\item Revision history now contains a list of errata changes (first in v4.2).
1606+
\item Add that using \refapi{PMIx_Info_load} with a \code{NULL} \refconst{PMIX_BOOL} data sets the value to true (first in v4.2).
1607+
\item Clarified behavior differences between using \refconst{PMIX_RANK_WILDCARD} and listing all individual \refstruct{pmix_proc_t} in \refapi{PMIx_Connect}, \refapi{PMIx_Group_construct}, and \refapi{PMIx_Fence}.
1608+
\item Clarified that \refattr{PMIX_NODE_SIZE} counts processes that have not called PMIx.
14681609
\end{compactitemize}
14691610

14701611
\subsection{Errata}
14711612

14721613
The following errors were corrected in v5.1:
14731614

14741615
\begin{compactitemize}
1475-
\item Parameter type for the key argument in \refapi{PMIx_Get} has been changed from \refstruct{pmix_key_t} to \code{char []} so that it is uniform with the argument in \refapi{PMIx_Get_nb}. It was already correct in the ABI.
1616+
\item Parameter type for the key argument in \refapi{PMIx_Get} has been changed from \refstruct{pmix_key_t} to \code{char []} so that it is uniform with the argument in \refapi{PMIx_Get_nb} (first in v4.2).
1617+
\item Parameter type for the payload argument in \refapi{pmix_iof_cbfunc_t} has been changed to a pointer to the type \refstruct{pmix_byte_object_t} (first in v4.2).
1618+
\item String parameters that are not modified are now passed as \code{const} in \refapi{PMIx_Data_print}, \refapi{PMIx_Register_attributes}, \refapi{PMIx_server_delete_process_set}, \refapi{PMIx_Get_attribute_string}, and \refapi{PMIx_Get_attribute_name}.
1619+
\item Constants \refconst{PMIX_ERR_JOB_EXE_NOT_FOUND}, \refconst{PMIX_ERR_JOB_INSUFFICIENT_RESOURCES}, \refconst{PMIX_ERR_JOB_SYS_OP_FAILED}, and \refconst{PMIX_ERR_JOB_WDIR_NOT_FOUND} were missing a value.
14761620
\item Type definition for \refstruct{pmix_device_type_t} changed from \code{uint16_t} to \code{uint64_t}. It was already correct in the ABI.
14771621
\end{compactitemize}
14781622

bin/check-attr-refs.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
# Result set was too big for Python to handle, so use an intermediate file
177177
output_file = "pmix-standard.idx-grep"
178178
with open(output_file, 'w') as logfile:
179-
ret = subprocess.call(['grep', '\|hyperpage', fname],
179+
ret = subprocess.call(['grep', r'\|hyperpage', fname],
180180
stdout=logfile, stderr=logfile, shell=False)
181181
if ret != 0:
182182
print("Error: Failed to verify declared attribute \""+attr+"\". grep error code "+str(ret)+")");
@@ -214,7 +214,7 @@
214214
elif attr in deprecated_attr or attr in removed_attr:
215215
# Allow references within the Chap_Revisions.tex - count them
216216
num_in_chap_revisions = 0
217-
p = subprocess.Popen("grep \"refattr{"+attr+"}\" Chap_Revisions.tex | wc -l",
217+
p = subprocess.Popen("grep -e \"declareAttributeDEP{"+attr+"}\" -e \"refattr{"+attr+"}\" Chap_Revisions.tex | wc -l",
218218
stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True, close_fds=True)
219219
sout = p.communicate()[0].decode("utf-8").splitlines()
220220
if p.returncode != 0:
@@ -231,7 +231,7 @@
231231
# If there are other references outside of the Revisions chapter then error out
232232
if attr_declared[attr] - num_in_chap_revisions > 0:
233233
if attr in deprecated_attr:
234-
print("Deprecated Attribute: "+attr+" (Referenced "+str(attr_declared[attr]-num_in_chap_revisions)+" times)")
234+
print("Deprecated Attribute: "+attr+" (Referenced "+str(attr_declared[attr]-num_in_chap_revisions)+" times)"+str(num_in_chap_revisions))
235235
count_dep_refs += 1
236236
elif attr in removed_attr:
237237
print("Removed Attribute: "+attr+" (Referenced "+str(attr_declared[attr]-num_in_chap_revisions)+" times)")

bin/process-example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
EG_BEGIN_STR="EG BEGIN ID="
2121
EG_END_STR="EG END ID="
22-
EG_ID_PATTERN="[A-Za-z0-9_\.\"]"
22+
EG_ID_PATTERN=r"[A-Za-z0-9_.\"]"
2323

2424

2525
class Example:

0 commit comments

Comments
 (0)