Skip to content

configure: misc typo fixes#7861

Open
hzhou wants to merge 4 commits into
pmodels:mainfrom
hzhou:2606_config_fix
Open

configure: misc typo fixes#7861
hzhou wants to merge 4 commits into
pmodels:mainfrom
hzhou:2606_config_fix

Conversation

@hzhou

@hzhou hzhou commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Pull Request Description

Fix issues pointed out by #7845 (comment). [ ] require double quotation in autoconf.

Fix stray error messages due to if test $VAR = something.

Fix a miss usage in testing a comm->attr bit.

[skip warnings]

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 changed the title 2606 config fix configure: misc typo fixes Jun 29, 2026
@hzhou hzhou force-pushed the 2606_config_fix branch from 2ccdece to 7deebbf Compare June 30, 2026 22:49
@hzhou

hzhou commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

test:mpich/ch3/tcp

hzhou added 4 commits July 2, 2026 15:16
Brackets are autoconf quote chararaters. If used in regex expression, it
require extra quote protection or it will be stripped away.

Always use quotes for shell expression `if test "$VAR" = "something"` to
prevent error messages when $VAR is empty.
Use (attr & MPIR_COMM_ATTR__HIERARCHY) instead of
`attr | MPIR_COMM_ATTR__HIERARCHY`.
Exporting variable Makefile is a gnumake feature. It doesn't work on a
standard BSD system. Directly get the MPIRUN value into parallel_run.sh
via autoconf substitution instead.

We have to move the ROMIO configure below the pm configure to inherit
the exported "TEST_MPIEXEC" variable.
@hzhou hzhou force-pushed the 2606_config_fix branch from 7deebbf to cf86343 Compare July 2, 2026 20:16
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