MKPP (Multiphase Kinetic PreProcessor) is a highly optimized, Ahead-Of-Time (AOT) Python compiler that translates atmospheric chemistry mechanisms (defined via OpenAtmos YAML) into Exascale-ready block-sparse Kokkos C++ headers for a Unified Jacobian using SymPy.
- Chapman Cycle (
chapman.yaml) - Small Stratospheric (
small_strato.yaml) - Carbon (
carbon.yaml) - GOCART (
gocart.yaml) - SAPRC mechanisms (
saprc99.yaml,saprcnov.yaml)
python3 -m venv .venv
source .venv/bin/activate
pip install -e .
mkdir build && cd build
cmake .. -DMKPP_ENABLE_KOKKOS_KERNELS=ON
ninja
ctest--simd-backend {native,kokkos_batched}: Select SIMD vector engine backend forWide<W>(default:native).kokkos_batcheduses KokkosKernels 5.0+ hardware-tuned SIMD vector wrappers.--batch-width <W>: Set SIMD vector lane width (e.g. 4, 8, 16).
Development on this project is governed by the project constitution. All contributors must adhere to its core principles including:
- Clarity Over Cleverness
- Defensive Programming
- Fail Fast, Fail Loudly
- High-Performance Computing & Message Passing (MPI) considerations
- GPU Acceleration & Kokkos constraints
- Zero-Copy Data Interoperability
- Scientific Hygiene & Determinism
See the Constitution and .github/copilot-instructions.md for complete guidelines.
This project is part of NOAA-EMC Ecosystem. See LICENSE and DISCLAIMER for details.
Pursuant to Federal guidelines and NOAA policies on the responsible deployment of Artificial Intelligence:
- AI-Assisted Code Generation: Portions of the code, scripts, documentation, or unit tests contained within this repository may have been generated, drafted, or refactored using Artificial Intelligence (AI) and Generative AI tools (e.g., Large Language Models, AI coding assistants).
- Human Oversight & Verification: In accordance with federal standards for scientific integrity and software quality, all AI-generated content in this repository has been subjected to human review, testing, and validation by the project maintainers prior to publication to ensure correctness, security, and adherence to NOAA standards.