openpmix / prrte

PMIx Reference RunTime Environment (PRRTE)
https://pmix.org
Other
36 stars 67 forks source link

Multiple commits #2082

Closed rhc54 closed 3 days ago

rhc54 commented 3 days ago

Enclose XML output in a high-level tag

Trap output between a high-level tag (e.g., ...). Note that show_help output will still not be XML formatted, and any output prior to setting up the IOF subsystem will also not be formatted.

Signed-off-by: Ralph Castain rhc@pmix.org (cherry picked from commit https://github.com/openpmix/prrte/commit/91c77cd5bd0a3218b11f18f7d4f9edfcb263cefe)

Add support for show_help XML output

Tell the PMIx server that we want our output done in XML format, which will then apply to show_help.

Signed-off-by: Ralph Castain rhc@pmix.org (cherry picked from commit https://github.com/openpmix/prrte/commit/e78a2979e50743685a742cc93a5557f3e8c5e241)

Properly build the nidmap

When operating in a managed environment where the user subdivides the allocation (e.g., by providing a hostfile that contains only some of the allocated nodes), the nidmap was overrunning the allocated array for daemon vpids. Properly index the vpid entries to avoid the memory corruption problem.

Signed-off-by: Ralph Castain rhc@pmix.org (cherry picked from commit https://github.com/openpmix/prrte/commit/cfda8004f7907ad3d5d7d7e748f8722fdcc04b59)