Skip to content

Remove inter-dependencies between OSC modules. #4817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2018

Conversation

clementFoyer
Copy link
Contributor

Cherry-picked from f5b4fc0 from PR #4527

Please @bosilca can you review this PR ?

Signed-off-by: Clement Foyer clement.foyer@inria.fr

@ompiteam-bot
Copy link

Can one of the admins verify this patch?

The osc monitoring component needed to include other OSC components
header in order to be able tu access communicator through the
component specific ompi_osc_*_module_t structures. This commit remove
the dependency, and resolve the issue open-mpi#4523.

Extend the common monitoring API.

  * Now it's possible to translate from local rank to world rank from
    both the communicator and the group.
  * Remove useless hashtable as we directly use the w_group contained
    in window structure.

Add automatic generation at config time.

The templates are expanded at configure time. It creates a new header
file that generates all the variables/functions needed. Adding this
during the autogen automagicaly generates for each of the available
modules the proper functions.

Only keep a generated argv-style array.

Following Jeff's advice, the configure.m4 file generate a simple array
of module variables to be iterated over to find the proper module.

Signed-off-by: Clement Foyer <clement.foyer@inria.fr>
@clementFoyer clementFoyer force-pushed the v3.1.x/osc-no-includes branch from 614f583 to 532d392 Compare February 15, 2018 17:17
@jsquyres
Copy link
Member

v3.1 RMs: you might have missed this PR because the milestone was not set.

@bwbarrett bwbarrett merged commit a891a76 into open-mpi:v3.1.x Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants