Skip to content

chore(modulefiles): Add automated sync workflow and update modulefiles#9

Merged
bbakernoaa merged 1 commit into
feature/advanced_clockfrom
feature/modulefiles
Apr 21, 2026
Merged

chore(modulefiles): Add automated sync workflow and update modulefiles#9
bbakernoaa merged 1 commit into
feature/advanced_clockfrom
feature/modulefiles

Conversation

@bbakernoaa
Copy link
Copy Markdown
Collaborator

This pull request adds modulefile management and build environment setup for the Community Emissions Computing Engine (CECE) by automating modulefile synchronization from the upstream ufs-weather-model repository, renaming and updating modulefiles, and adding new platform-specific environment modules. It also removes an outdated agent configuration file.

The most important changes are:

Automation and Synchronization:

  • Adds a new GitHub Actions workflow .github/workflows/sync_modulefiles.yml to automatically sync and update modulefiles from the ufs-weather-model repository on a weekly basis. This includes renaming files and references from ufs_ to cece_, removing deprecated dependencies, and updating model references to CECE.

Modulefile Additions and Updates:

  • Introduces new cece_* Lua modulefiles for various platforms and compiler combinations (e.g., Acorn, Hercules, Hera, Derecho, Gaea C5/C6, container environments), each setting up paths, loading required libraries, and configuring environment variables for building and running CECE. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]

Standardization and Cleanup:

  • Renames all ufs_* modulefiles and internal references to cece_* for consistency with the CECE project, and updates references to the model name throughout the modulefiles.
  • Removes deprecated or unused dependency lines from ufs_common.lua (now cece_common.lua) to streamline the environment setup. [1] [2]

Obsolete Configuration Removal:

  • Deletes the .github/agents/aces-diagnose-example1.agent.md file, removing an outdated agent configuration no longer relevant to the current workflow.

These changes automate and standardize the build environment setup, making it easier to maintain compatibility with upstream changes and simplifying CECE development across multiple platforms.

This should go in after #8

…figurations

- Remove outdated ACES diagnostician agent documentation
- Add GitHub Actions workflow for weekly modulefile synchronization from ufs-weather-model
- Add 28 new modulefile configurations for CECE across multiple HPC systems (Acorn, Derecho, GAEAC, Hera, Hercules, Orion, Ursa, WCOSS2, NoaaCloud, Linux, macOS, and container environments)
- Create cece_common.lua with shared library dependencies and version management
- Rename and adapt modulefiles from ufs_* naming convention to cece_* for Community Emissions Computing Engine
- Remove deprecated dependencies (MAPL, Scotch, GFTL-shared, W3EMC, IP, SP, G2TMPL, G2, CRTM, BACIO) from common configuration
- Update internal references from UFS Model to CECE throughout modulefile documentation
- Enables automated weekly updates and maintenance of build environments across supported platforms
Copy link
Copy Markdown
Collaborator

@benkozi benkozi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 A nice automated feature to have

@bbakernoaa
Copy link
Copy Markdown
Collaborator Author

👍 A nice automated feature to have

With how fast the UFS moves with spack-stack I just need something so that I can keep up

@bbakernoaa bbakernoaa merged commit 42cb1f0 into feature/advanced_clock Apr 21, 2026
2 of 4 checks passed
@zmoon zmoon deleted the feature/modulefiles branch April 24, 2026 21:45
bbakernoaa added a commit that referenced this pull request May 8, 2026
This commit resolves conflicts between the local branch and the ufs-community/cece main branch.
Key changes:
- Moved cece_cap.F90 to src/ and standalone_nuopc/ to the root to match upstream layout.
- Integrated CeceClock and advanced physics schemes (MEGAN3, BDSNP) into the merged codebase.
- Fixed GitHub Action versions (checkout@v4, setup-python@v5) and removed misplaced TIDE CI workflow.
- Updated CMake and TIDE build scripts for better compatibility.
- Ensured host synchronization for all state fields in the run phase.

Co-authored-by: bbakernoaa <22104759+bbakernoaa@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Github Actions

Development

Successfully merging this pull request may close these issues.

2 participants