Skip to content

Add WRF-Chem Apptainer container definition files#95

Open
vweeks wants to merge 3 commits intomainfrom
feature_76_wrf_chem_container
Open

Add WRF-Chem Apptainer container definition files#95
vweeks wants to merge 3 commits intomainfrom
feature_76_wrf_chem_container

Conversation

@vweeks
Copy link
Collaborator

@vweeks vweeks commented Feb 20, 2026

Summary

  • Adds Apptainer .def files for building WRF-Chem 4.7.1 / WPS 4.6.0 containers on AlmaLinux 9, supporting both single-layer (distribution) and multi-layer (development) builds
  • Includes all WRF-Chem preprocessing tools (mozbc, anthro_emis, fire_emis, megan_bio_emiss, wesely, exo_coldens)
  • Adds Dockerfile equivalent of the full single-layer Apptainer build using multi-stage Docker build
  • Adds README with build instructions, HPC (Derecho) usage examples, container layout, and known issues (including WRF 4.7.1 KPP compile bug patches)

Closes #76

Test plan

  • Build multi-layer containers (deps → preproc → wrf-chem) and verify each layer succeeds
  • Verify WRF-Chem executables are present and functional inside container (wrf.exe, real.exe, preprocessing tools)
  • Test running on Derecho with bind mounts and MPI
  • Build full single-layer Apptainer container: apptainer build --fakeroot wrf-chem_full_almalinux9.sif wrf-chem_full_almalinux9.def
  • Build Docker image: docker build -t wrf-chem:4.7.1 .

🤖 Generated with Claude Code

Add Apptainer .def files for building WRF-Chem containers on AlmaLinux 9,
including dependency, preprocessing, WRF-Chem, and full build definitions,
along with a README documenting usage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vweeks vweeks requested a review from georgemccabe February 20, 2026 19:47
@vweeks vweeks self-assigned this Feb 20, 2026
vweeks and others added 2 commits February 20, 2026 13:18
Multi-stage Docker build translating wrf-chem_full_almalinux9.def for
environments where Docker is preferred over Apptainer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

WRF-Chem Container

2 participants