Skip to content

Make PIO selectable via CLI build - #745

Merged
abhaasgoyal merged 9 commits into
mainfrom
add-PIO-build-flag
Oct 26, 2026
Merged

abhaasgoyal merged 9 commits into
mainfrom
add-PIO-build-flag

Conversation

@Whyborn

@Whyborn Whyborn commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

CABLE

Thank you for submitting a pull request to the CABLE Project.

Description

This allows ParallelIO to be optionally included, rather than silently included/excluded based on whether PIO is available and MPI is selected. Also updates the CI to test the +mpi+pio build (and a small typo fix).

Type of change

Please delete options that are not relevant.

  • Bug fix

Checklist

  • The new content is accessible and located in the appropriate section
  • I have checked that links are valid and point to the intended content
  • I have checked my code/text and corrected any misspellings

Testing

  • Are the changes bitwise-compatible with the main branch? If working on an optional feature, are the results bitwise-compatible when this feature is off? If yes, copy benchcab output showing successful completion of the bitwise compatibility tests or equivalent results below this line.

📚 Documentation preview 📚: https://cable--745.org.readthedocs.build/en/745/

Thank you for submitting a pull request to the CABLE Project.

Minor restructuring of `CMakeLists.txt` to make it more logical. The
things that apply regardless of the library, which is the default config
values, and the build flags are at the start. The branches for the
library and non-library builds then encompass the rest of the build-
when we build the library, we never want all the bells and whistles e.g.
testing, NetCDF, PIO.

- [x] Bug fix

- [x] The new content is accessible and located in the appropriate
section
- [x] I have checked that links are valid and point to the intended
content
- [x] I have checked my code/text and corrected any misspellings

- [x] Are the changes bitwise-compatible with the main branch? If
working on an optional feature, are the results bitwise-compatible when
this feature is off? If yes, copy benchcab output showing successful
completion of the bitwise compatibility tests or equivalent results
below this line.

<!-- readthedocs-preview cable start -->
----
📚 Documentation preview 📚:
https://cable--746.org.readthedocs.build/en/746/

<!-- readthedocs-preview cable end -->
@Whyborn
Whyborn requested a review from abhaasgoyal October 1, 2026 06:07
@abhaasgoyal

Copy link
Copy Markdown
Contributor

@Whyborn both changes look good to me, if you could re-run the CI test after spack-build gets merged that'd be great.

@Whyborn

Whyborn commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

@abhaasgoyal The CI was successful (bar the docs links, which always fails).

@abhaasgoyal
abhaasgoyal merged commit 39d02fa into main Oct 26, 2026
19 of 21 checks passed
@abhaasgoyal
abhaasgoyal deleted the add-PIO-build-flag branch October 26, 2026 23:25
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.

2 participants