Skip to content

v5: Create an OPAL "core" library for internal usage #10809

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 2 commits into from
Sep 21, 2022

Conversation

jjhursey
Copy link
Member

  • Fixes Issue mpicc / mpirun / etc. carry unnecessary external dependencies #9869
  • Split libopen-pal.so into two libraries:
    • libopen-pal_core.la : Internal "core" portion of OPAL containing the essential source and MCA needed for mpicc/mpirun tools to link against. The "core" library is not installed.
    • libopen-pal.la : Includes "core" plus all of the other OPAL project sources. The .so version of this is installed.
  • The "core" library contains the following:
    • opal/class
    • opal/mca/backtrace
    • opal/mca/dl
    • opal/mca/installdirs
    • opal/mca/threads
    • opal/mca/timer
    • opal/runtime/*_core.[c|h]
    • opal/runtime/opal_info_support.c
    • opal/util (most - see Makefile.am)
    • opal/util/keyval
  • The "core" library is linked into the following tools instead of the full libopen-pal.so:
    • ompi/tools/mpirun
    • ompi/tools/wrappers (by extension of opal/tools/wrappers)
    • opal/tools/wrappers
  • The opal/runtime files were divided into a 'core' set vs 'main' set

bwbarrett and others added 2 commits September 16, 2022 06:47
 * Fixes Issue open-mpi#9869
 * Split `libopen-pal.so` into two libraries:
   - `libopen-pal_core.la` : Internal "core" portion of OPAL containing the essential source and MCA needed for mpicc/mpirun tools to link against. The "core" library is not installed.
   - `libopen-pal.la` : Includes "core" plus all of the other OPAL project sources. The `.so` version of this is installed.
 * The "core" library contains the following:
   - `opal/class`
   - `opal/mca/backtrace`
   - `opal/mca/dl`
   - `opal/mca/installdirs`
   - `opal/mca/threads`
   - `opal/mca/timer`
   - `opal/runtime/*_core.[c|h]`
   - `opal/runtime/opal_info_support.c`
   - `opal/util (most - see Makefile.am)`
   - `opal/util/keyval`
 * The "core" library is linked into the following tools instead of the full `libopen-pal.so`:
   - `ompi/tools/mpirun`
   - `ompi/tools/wrappers` (by extension of `opal/tools/wrappers`)
   - `opal/tools/wrappers`
 * The `opal/runtime` files were divided into a 'core' set vs 'main' set

Co-authored-by: George Bosilca <[email protected]>
Co-authored-by: Brian Barrett <[email protected]>
Signed-off-by: Joshua Hursey <[email protected]>
(cherry picked from commit fe1c384)
Signed-off-by: Joshua Hursey <[email protected]>
(cherry picked from commit 8112e9b)
@awlauria awlauria merged commit e407cc4 into open-mpi:v5.0.x Sep 21, 2022
@jjhursey jjhursey deleted the v5-mpi-tools-deps branch October 10, 2022 19:14
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