Skip to content
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

Fix MPIR_proctable structure visibility #4904

Merged
merged 1 commit into from
Mar 13, 2018

Conversation

jjhursey
Copy link
Member

  • The MPIR_PROCDESC structure needs to be visible even in optimized
    builds so that debuggers can attach to mpirun and properly read the
    MPIR_proctable.
  • In the v2.0.x and v2.x series this structure resided in the orterun
    directory and included the CFLAGS fix included here. This code
    moved in the v3.x series and the CFLAGS did not move causing this
    issue.
    • Instead of applying the debug CFLAGS globally to libopen-rte,
      only apply them to the orted_submit.c compile which contains the
      MPIR symbols.

 * The `MPIR_PROCDESC` structure needs to be visible even in optimized
   builds so that debuggers can attach to `mpirun` and properly read the
   `MPIR_proctable`.
 * In the v2.0.x and v2.x series this structure resided in the `orterun`
   directory and included the `CFLAGS` fix included here. This code
   moved in the v3.x series and the `CFLAGS` did not move causing this
   issue.
   - Instead of applying the debug `CFLAGS` globally to libopen-rte,
     only apply them to the `orted_submit.c` compile which contains the
     MPIR symbols.

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
(cherry picked from commit ccb4f43)
@jjhursey
Copy link
Member Author

Ref #4892

@bwbarrett bwbarrett merged commit 41cc206 into open-mpi:v3.0.x Mar 13, 2018
@jjhursey jjhursey deleted the fix/v3.0.x/mpir-symbol-vi branch March 14, 2018 13:29
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.

3 participants