Open dalcinl opened 1 month ago
Afraid that has nothing to do with me - it's a bug in the OMPI fork of PRRTE, not present in PRRTE itself. FWIW: we've seen some oddities in gcc 14.2, so it may not always be generating true issues. Not saying this one is in that category - just noting for future reference.
Sorry, but I need a small clarification to avoid confusion in future interactions.
If I do
$grep url .git/modules/*/config | grep -v git@github.com:open-mpi
.git/modules/openpmix/config: url = git@github.com:openpmix/openpmix.git
.git/modules/prrte/config: url = git@github.com:openpmix/prrte
it looks like both the openmpix and prrte submodules track the respective upstream repositories, and not forks within the open-mpi organization. Is this correct or am I missing something?
In any case, thanks for the prompt fix. I'll wait until the submodule pointer gets updated.
Hmmm...I'm pretty sure that isn't correct for OMPI main. I believe they pointed the PRRTE submodule at open-mpi/prrte, which is their fork. Unfortunately, the two aren't tracking very well. For example, that fix was committed upstream in early May!
Note that the OMPI v5 branch does still point at upstream PRRTE, which may be what your little grep is hitting.
OK, thanks for the clarification. My ompi@main clone is definitely still using the upstream prrte remote. I've been using git worktrees for checking out main/v5.0.x/v4.0x, I guess that worktrees do not play well with submodule URLs.
PS: @bosilca @jsquyres If that is the case, that is, mixing git worktrees with git submodules is somewhat broken, then this issue may hit other easily, I think savvy git users use worktrees a lot. Perhaps the OMPI and PRRTE devs can negotiate a branch namespace on upstream PRRT (eg. have branches ompi/main and ompi/v5.0.x in the upstream PRRTE git repository) such that you can put there your commits to track as git submodules in the OMPI repository. That way, when switching OMPI branches (or checking out branches in other worktress), the remote URLs for submodules do not change.
My ompi@main clone is definitely still using the upstream prrte remote
The bug you reported above only exists in the OMPI fork. Unless you haven't updated since May 7, you must be looking at the OMPI fork.
OK, I definitely messed up, I never run git submodule sync
to update the submodule remote URL, so that was what confused me.
@bosilca Is there any plain to cherry-pick openpmix/prrte#1976 into the open-mpi/prrte fork and update the submodule pointer?
This is with ompi@main
cc @rhc54