Skip to content

Conversation

@hzhou
Copy link
Contributor

@hzhou hzhou commented Dec 9, 2025

Pull Request Description

  1. Move sub-configures for pmi, json-c, and yaksa into confdb/aclocal_modules.m4 and unify the naming of build variables.o
  2. Accept external built libraries. We don't recommend users to build these internal libraries separately. But internally build submodules separately allow us to expedite CI builds.

Author Checklist

  • Provide Description
    Particularly focus on why, not what. Reference background, issues, test failures, xfail entries, etc.
  • Commits Follow Good Practice
    Commits are self-contained and do not do two things at once.
    Commit message is of the form: module: short description
    Commit message explains what's in the commit.
  • Passes All Tests
    Whitespace checker. Warnings test. Additional tests via comments.
  • Contribution Agreement
    For non-Argonne authors, check contribution agreement.
    If necessary, request an explicit comment from your companies PR approval manager.

@hzhou hzhou force-pushed the 2512_submodule branch 4 times, most recently from cf01922 to 66ec0ff Compare December 11, 2025 21:05
hzhou added 10 commits December 12, 2025 14:06
Fixes the following error:
    ./configure: line 35750: test: =: unary operator expected
    ./configure: line 35753: test: =: unary operator expected
MPICH uses mplsrcdir etc. while hydra and romio uses mpl_srcdir. Unify
them.
Add PAC_CHECK_HEADER_LIB_EXPLICIT for json so we can optionally accept
external libjson-c library.

Rename yaksasrcdir and yaksalib to yaksa_srcdir and yaksa_lib, as the
convention used for other embedded modules. Same for json variables.

Remove yaksalibdir as it is not needed.
While we don't recommend users to build libmpl separately, we can do it
internally to expedite CI jobs.
Remove the check for the existence of src/mpi/romio. It's unnecessary.
This script is only used for MPL's configure to prefix config header.
Move to src/mpl/maint rather than relying on confdb always being
sync'ed.
Define and propagate $MPICH_CONFDB to avoid duplicating confdb into
subdirs.

Avoid duplicating submodules such as mpl, pmi, hwloc.

Add funcations such as fn_hydra, fn_pmi, fn_test for preparing release
tarballs.
Add functions so user can select to just prepare for the specified sub
packages. Use "./autogen.sh -do=(hydra|pmi|test)" to perform the step.
Now that we don't duplicate submodules in main mpich, we need additional
preparation for generating subpackage tarballs.
@hzhou hzhou marked this pull request as ready for review December 15, 2025 17:22
@hzhou
Copy link
Contributor Author

hzhou commented Dec 15, 2025

test:mpich/ch4/most
test:mpich/ch3/most

@hzhou hzhou requested a review from raffenet December 15, 2025 19:01
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