Preprints
https://doi.org/10.48550/arXiv.2611.34574
https://doi.org/10.48550/arXiv.2611.34574
01 Dec 2026
 | 01 Dec 2026
Status: this preprint is open for discussion and under review for Geoscientific Model Development (GMD).

CLM-JAX v3.2.46: a differentiable, GPU-accelerated land surface model numerically indistinguishable from the Community Land Model 5.0

Shijin Yuan, Zhen Wei, Tianyu Shen, Bin Mu, Bo Qin, and Guokun Dai

Abstract. The original Fortran implementation of the Community Land Model version 5.0 (CLM5.0) primarily targets CPUs and does not support GPU computation or automatic differentiation. We present CLM-JAX, a land surface model implemented in Python, based on the CLM5.0 BGC-Crop configuration in the Community Earth System Model version 2.1.3 (CESM2.1.3). CLM-JAX retains the original subgrid hierarchy, parameterizations and coupling among energy, water, carbon, nitrogen and crop processes, runs on CPUs and GPUs, and supports gradient backpropagation through multi-step time integration. Using floating-point perturbations of order 10⁻¹⁴ in the initial state, we construct a stringent ensemble baseline of CLM’s own differences and evaluate the numerical consistency of CLM-JAX for 32 variables over five years of continuous global simulation during 2019–2023. CLM-JAX errors relative to CLM generally lie below this ensemble baseline. On a single NVIDIA A800 GPU, CLM-JAX requires 0.7692 s per model hour, yielding sustained integration speedups of 4.04 and 2.57 over CLM compiled with gfortran and ifort, respectively, on 64 CPU cores. In the gradient test, the objective function is the first-layer soil temperature at step 100 (50 h), and its gradient with respect to the initial soil temperature field of all model layers is obtained by backpropagation through the 100 time steps. With converged central finite differences as references, 95.79 % of the 84,254 nonzero references have relative errors no greater than 1 % and 98.22 % have matching signs, with median and 90th-percentile relative errors of 5.862 × 10⁻⁷ % and 3.578 × 10⁻⁴ %, respectively. The differentiability of CLM-JAX provides a basis for gradient-based applications, such as end-to-end parameter optimization and four-dimensional variational data assimilation.

Share
Shijin Yuan, Zhen Wei, Tianyu Shen, Bin Mu, Bo Qin, and Guokun Dai

Status: open (until 26 Jan 2027)

Comment types: AC – author | RC – referee | CC – community | EC – editor | CEC – chief editor | : Report abuse
Shijin Yuan, Zhen Wei, Tianyu Shen, Bin Mu, Bo Qin, and Guokun Dai

Model code and software

CLM-JAX v3.2.46: a differentiable, GPU-accelerated land surface model numerically indistinguishable from the Community Land Model 5.0 Zhen Wei https://doi.org/10.5281/zenodo.24488761

Shijin Yuan, Zhen Wei, Tianyu Shen, Bin Mu, Bo Qin, and Guokun Dai

Viewed

Since the preprint corresponding to this journal article was posted outside of Copernicus Publications, the preprint-related metrics are limited to HTML views.

Total article views: 49 (including HTML, PDF, and XML)
HTML PDF XML Total BibTeX EndNote
49 0 0 49 0 0
  • HTML: 49
  • PDF: 0
  • XML: 0
  • Total: 49
  • BibTeX: 0
  • EndNote: 0
Views and downloads (calculated since 01 Dec 2026)
Cumulative views and downloads (calculated since 01 Dec 2026)

Viewed (geographical distribution)

Since the preprint corresponding to this journal article was posted outside of Copernicus Publications, the preprint-related metrics are limited to HTML views.

Total article views: 49 (including HTML, PDF, and XML) Thereof 49 with geography defined and 0 with unknown origin.
Country # Views %
  • 1
1
 
 
 
 
Latest update: 02 Dec 2026
Download
Short summary
We developed CLM-JAX, a differentiable Python land surface model. It simulates energy, water, carbon and nitrogen cycles and other land surface processes, runs on GPUs and supports gradient backpropagation through multi-step time integration. In five-year global runs, it demonstrates strict numerical consistency with the Community Land Model version 5.0. On one GPU it runs 4.0 and 2.6 times faster than the Fortran version built with two compilers on 64 CPU cores.
Share