Skip to content

refactor: move distributed awareness from BGL to PBGL - #47

Open
Becheler wants to merge 1 commit into
boostorg:developfrom
Becheler:refactor/drop-mpi-pbgl-awareness
Open

refactor: move distributed awareness from BGL to PBGL#47
Becheler wants to merge 1 commit into
boostorg:developfrom
Becheler:refactor/drop-mpi-pbgl-awareness

Conversation

@Becheler

@Becheler Becheler commented Sep 1, 2026

Copy link
Copy Markdown

Companion to boostorg/graph#583, which removes all MPI/PBGL awareness from BGL (full rationale there). This PR makes PBGL own it:

  • boost/graph/use_mpi.hpp moves here, same path. It now re-hosts the sequential -> distributed forwarding by including the distributed algorithm headers directly, and carries the relocated bfs_helper forward declaration and MPI serialization traits (new distributed/detail/property_serialize.hpp).
  • Four missing includes added to distributed headers (pre-existing bugs masked by the old hooks' position).

User contract unchanged: include <boost/graph/use_mpi.hpp> first, then any sequential BGL header; the distributed overloads appear as before.

Merge order / CI: #583 lands first. Until it merges and the superproject's libs/graph pointer advances, CI here builds against old BGL (duplicate use_mpi.hpp) and is expected red.

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.

1 participant