Skip to content

Make PIO selectable via CLI build - #745

Open
Whyborn wants to merge 7 commits into
mainfrom
add-PIO-build-flag
Open

Whyborn wants to merge 7 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

This branch has not been deployed

No deployments
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