Skip to content

Conversation

@rhc54
Copy link
Contributor

@rhc54 rhc54 commented Apr 29, 2016

…e wants max_procs, have the proc get that value instead of univ_size

@jjhursey Please review

@jjhursey
Copy link
Member

The following needs to be updated as well (right?):

With the addition of the above (or some discussion on it) I think this looks good.

Some notes for me:

  • pmix_server_register_fns.c This change makes PMIX_UNIV_SIZE == PMIX_MAX_PROCS when using the orted as the PMIx server.
  • ess_pmi_module.c This change is not necessary for the orted (see previous bullet), but is important for other PMIx servers (i.e., direct launch).
    • Since other PMIx servers should make sure to notice that the OMPI_UNIVERSE_SIZE will be set to the value returned from a query for PMIX_MAX_PROCS, and PMIX_UNIV_SIZE is not used by the Open MPI process at this time. However, to be backwards compatible it is best to set these equal to one another. We can tease out the difference on the PMIx list.
OPAL_PMIX_JOB_SIZE
  jdata->num_procs  // number of procs in this job
  PMIX_JOB_SIZE     // #procs in this job

OPAL_PMIX_UNIV_SIZE == PMIX_MAX_PROCS
  jdata->total_slots_alloc // total slots allocated to this job
                           // meant to be universe size
  PMIX_UNIV_SIZE           // #procs in this nspace
  PMIX_MAX_PROCS           // max #procs for this job

@rhc54
Copy link
Contributor Author

rhc54 commented Apr 29, 2016

Quite right about the singleton module - I'll update and re-push. For the PMIx list, we should discuss what, if any, difference there really is between max_procs and univ_size. I -think- I remember, but it has been a long time. Certainly, OMPI today does not recognize a difference, and so the current assignments here would be correct.

…e wants max_procs, have the proc get that value instead of univ_size

Make the singleton module consistent as well
@rhc54 rhc54 merged commit c239ef5 into open-mpi:master May 1, 2016
@rhc54 rhc54 deleted the topic/univ branch May 1, 2016 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants