Skip to content

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 13edb71 into open-mpi:v3.1.x Mar 13, 2018
@jjhursey jjhursey deleted the fix/v3.1.x/mpir-symbol-vi branch March 14, 2018 13:30
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