Skip to content

Update deployment docs for mache.deploy - #987

Merged
xylar merged 1 commit into
MPAS-Dev:mainfrom
xylar:fix-deploy-docs
Sep 14, 2026
Merged

xylar merged 1 commit into
MPAS-Dev:mainfrom
xylar:fix-deploy-docs

Conversation

@xylar

@xylar xylar commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

This PR fixes deployment docs that still described the old ./conda/configure_compass_env.py workflow or made claims that stopped being true with ./deploy.py. The main one: the load script no longer reinstalls compass when sourced, so the branch-switching guidance in the developer's quick start was wrong and is rewritten around the editable install. Anvil (no longer in Compass or mache) is removed, pm-gpu is added to the supported-machines table, and the user's guide machine pages point to the developer's guide instead of shared load_latest_compass_*.sh scripts.

For the reviewer:

  • I reworded the "conda environment" comments in compass/machines/*.cfg so the docs that quote them match.
  • utils/matrix/setup_matrix.py still reads conda/logs/matrix.log, which ./deploy.py does not write. Its README now says so; porting the script is a follow-up.

Checklist

  • User's Guide has been updated
  • Developer's Guide has been updated
  • Documentation has been built locally and changes look as expected
  • Document (in a comment titled Testing in this PR) any testing that was used to verify the changes

🤖 Generated with Claude Code

The docs were only partly updated when deployment moved to `./deploy.py`.
Several places still described the old `conda/configure_compass_env.py`
workflow or made claims that are no longer true:

- The load script no longer reinstalls `compass` when sourced.  It only
  checks the version and activates the pixi environment.  The
  branch-switching guidance in the developer's quick start and the note
  on `building_docs.rst` were based on the old behavior, so rewrite them
  around the editable install that `./deploy.py` does.
- `--prefix` is deprecated in favor of `--pixi-path`.
- The troubleshooting page described conda solver errors and
  `spec-file*.txt`, neither of which pixi produces.
- `[discovery]` uses `hostname_re` (through mache), not
  `hostname_contains`, and `[spack] modules_before/after` is no longer
  read by anything.  Update the new-machine example and add
  `software_compiler`.
- Anvil was removed from `compass/machines` and from mache but still had
  pages and rows in the supported-machines table.  Remove them and add
  the missing `pm-gpu` row and a section on the developer's Perlmutter
  page.
- The user's guide machine pages pointed to shared
  `load_latest_compass_*.sh` release scripts, which only the removed
  release-conda workflow produced.  Point to the developer's guide
  instead, as the user's quick start already does.
- The `utils/matrix` and `utils/e3sm_update` READMEs still called
  `configure_compass_env.py`.  `setup_matrix.py` itself has not been
  ported (it reads `conda/logs/matrix.log`), so its README now says so.
- The pasted load-script output in the RRM tutorial was from the old
  scripts.

Also reword the "conda environment" comments in the machine config
files that the docs quote, so the two stay in sync.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@xylar

xylar commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator Author

Testing

Built the docs locally with sphinx-build -W (warnings as errors) using an existing pixi env, with mosaic mocked because no env on this machine has it yet. The build passed and the removed Anvil pages and the new pm-gpu row render as expected. Pre-commit passed on the changed files.


Posted by Claude Code on @xylar's behalf. The testing, analysis and wording above are AI-authored; please check them accordingly.

@xylar xylar added bug Something isn't working documentation Improvements or additions to documentation labels Sep 14, 2026
@xylar
xylar merged commit c06c207 into MPAS-Dev:main Sep 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant