Skip to content

ORTE -> PRRTE changes for users need to be documented, users educated #7668

Closed
@awlauria

Description

@awlauria

From ompi email chain, sent by @rhc54:

So here is an interesting consequence of moving from ORTE to PRRTE. In ORTE, you 
could express any mapping policy as an MCA param - e.g., the following:

OMPI_MCA_rmaps_base_mapping_policy=core
OMPI_MCA_rmaps_base_display_map=1

would be the equivalent of a cmd line that included "--map-by core --display-map"

When defining what we wanted on the OMPI v5 cmd line, we removed some options like 
--display-map and replaced them with modifiers, so the above would have been replaced with:

OMPI_MCA_rmaps_base_mapping_policy=core:display

The move to PRRTE, however, means more than just changing the "OMPI" to "PRRTE".
PRRTE doesn't support setting the default mapping policy to include "report" as that
would mean we would be reporting the map for every job that was ever launched.
Definitely not something the persistent DVM users would appreciate!

So if you put:

PRRTE_MCA_rmaps_default_mapping_policy=core:display

(note the name change!!!) in your environment, you are going to get an error when you
execute "mpirun":

=====
A mapping policy modifier was provided that is not supported as a default value:

 Modifier:  display

You can provide this modifier on a per-job basis, but it cannot
be the default setting.
=======

And you will error out. However, it is perfectly okay to put "--map-by core:display" on your
cmd line - that is legit and understood as it only applies to that specific job.

It's these changes, plus the name changes (e.g., we replace "base" with "default" to
emphasize these are ONLY the default settings), that will need to be communicated.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions