arXiv Science⌕ Search

arXiv · 2611.34574

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

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^{-14}$ 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\times10^{-7}$% and $3.578\times10^{-4}$%, 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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Shijin Yuan, Zhen Wei, Tianyu Shen, Bin Mu, Bo Qin, Guokun Dai. 2026-11-25. CLM-JAX v3.2.46: a differentiable, GPU-accelerated land surface model numerically indistinguishable from the Community Land Model 5.0. https://arxiv.science/abs/2611.34574

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

SWADDL: Sampling global ocean wave state from wind history with a diffusion model

Predicting ocean wave state (sea state) is essential for maritime operations and coupled Earth system modeling, yet spectral wave models remain too computationally expensive for many applications, including online coupling to climate models and ensemble-based probabilistic prediction. Existing AI-based wave models are largely deterministic and limited to bulk wave state variables such as significant wave height. Here we present SWADDL (Sampling WAve state Distribution using Diffusion modeL), a generative model that samples global sea state conditioned on 10 days of global wind forcing, without autoregressive time-stepping. Beyond bulk variables, SWADDL estimates wave-partition variables and derived quantities such as Stokes drift and mean square slope. Trained on a 30-year global WAVEWATCH-III hindcast, SWADDL runs roughly 20 times faster than the spectral model while delivering skillful predictions and calibrated ensemble spread for bulk variables. Over six test years, SWADDL reproduces the large-scale patterns and seasonal cycle of the wave climate, and a residual variant that samples departures from a deterministic prediction further reduces regional climatological biases and achieves the lowest probabilistic error. Our results suggest that diffusion-based sea state sampling offers a promising path toward probabilistic wave forecasting and efficient coupling of sea state information into Earth system models.

physics.ao-ph↗

Cumulus parameterization controls simulated rainfall more than microphysics, but not at heavy thresholds: a 3 * 2 factorial WRF study over the Western Himalaya

Rainfall forecasts over the Western Himalaya remain poor, and the relative contributions of the cumulus and microphysics parameterizations to that error are not well constrained. Nine WRF simulations of the 6-13 July 2023 Western Himalayan heavy-rainfall event were run at 9 km grid spacing over a common domain, differing in exactly two namelist options; six of them form a complete 3 x 2 factorial in microphysics (WSM6, Thompson, WDM6) and cumulus (Kain-Fritsch, Tiedtke). Verification used IMD 0.25 degree gridded rainfall over 447 land points for 7-12 July 2023. Switching cumulus scheme changes the domain-mean bias by 10.5 mm/day against 1.4 mm/day for microphysics, a factor of 7.8; the corresponding ratios are 4.2 for daily spatial correlation and 4.8 for detection of rainfall above 35 mm/day. Kain-Fritsch is systematically wet (+9.3 to +11.0 mm/day) but better located, whereas Tiedtke attains near-zero domain-mean bias only by cancelling a northern excess against a central deficit. The cumulus advantage is score-dependent at heavy thresholds: at 35 mm/day and above the Fractions Skill Score favours Tiedtke at neighbourhood widths of three grid points or more, while detection of heavy rainfall continues to favour Kain-Fritsch. Matching the model accumulation window to the IMD reporting day alters verified skill by as much as the physics choice itself.

physics.ao-ph↗

COSIMA Cookbook: a community-driven resource for ocean and sea-ice modelling science

The COSIMA Cookbook is an open educational resource for analysing ocean and sea-ice model output in Jupyter notebooks. It has been developed by the Consortium for Ocean--Sea Ice Modelling in Australia (COSIMA) as a community resource for researchers, students, and practitioners working with large gridded datasets, especially output from the ACCESS ocean--sea ice model configurations. The Cookbook is organised around a gastronomy theme: "Cooking Tutorials" teach generic, transferable techniques for handling model output, while "Easy Recipes", "Advanced Recipes" and "Regional Specialties" are self-contained notebooks that show how to perform concrete diagnostics and analyses. Along the way, the notebooks demonstrate open-source tools for the scientific analysis of large data, including Intake catalogues, Xarray, Dask, xgcm, xESMF, eofs, Parcels, matplotlib and Cartopy. The Cookbook addresses the steep entry cost of analysing climate model output: it packages expert, often tacit, knowledge into complete, well-documented and reusable workflows, in the same medium in which researchers actually work. It is developed openly on GitHub, is published as a documentation website, and is continuously reviewed and extended by its community through pull requests and regular hackathons. The easy access to data and analysis it provides has contributed to the international adoption of ACCESS ocean and sea-ice model configurations, and has facilitated well over 100 peer-reviewed papers and more than 20 PhD projects.

physics.ao-ph↗