DOE OSTI · 3367547
Coupling Noah-Multiparameterization land-surface Model with Energy Research and Forecasting Model
Abstract
The Energy Research and Forecasting (ERF) model is a high-performance atmospheric model built on the AMReX adaptive mesh refinement (AMR) framework, enabling efficient simulations on heterogeneous computing platforms that combine multicore processors with hardware accelerators. To support land–atmosphere interactions within ERF’s AMR-based environment, a land-surface model must be capable of operating directly on hierarchically refined meshes. In this work, we present a methodology for coupling the Fortran-based Noah-Multiparameterization (Noah-MP) land-surface model with ERF’s C++ codebase. Rather than rewriting Noah-MP, we construct a Fortran–C interoperability layer using CodeScribe, a tool that leverages large language models (LLMs) to automate the generation of interface code. CodeScribe applies structured prompting techniques to generate bindings that support efficient data exchange and function calls between ERF and Noah-MP. The coupling framework also incorporates AMR-aware data handling strategies, allowing NoahMP to operate seamlessly within ERF’s hierarchical mesh structure. This work provides a structured approach for integrating legacy Fortran models into modern C++-based modeling systems using LLM-assisted code generation.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Dhruv, Akash [Argonne National Laboratory (ANL), Argonne, IL (United States)], Lattanzi, Aaron [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)], Buehlmann, Michael [Argonne National Laboratory (ANL), Argonne, IL (United States)], Sexton, Jean [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)], Fytanidis, Dimitrios [Argonne National Laboratory (ANL), Argonne, IL (United States)], Zhang, Weiqun [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)], Kotamarthi, Rao [Argonne National Laboratory (ANL), Argonne, IL (United States)], Almgren, Ann [Lawrence Berkeley National Laboratory (LBNL), Berkeley, CA (United States)]. 2026-06-01. Coupling Noah-Multiparameterization land-surface Model with Energy Research and Forecasting Model. https://doi.org/10.2172/3367547
Cite the original work for its findings. Save a collection to share your selection of sources.