WRF-ARW v4.8.0 · CPPWRF v1.5.0

CPPWRF

A C++20/CUDA port of the WRF-ARW weather model for OpenMP CPUs and NVIDIA GPUs.

Steady stepping on Colab G4

Case C2, large daytime P4 grid (359 × 269 × 44), history off.

CUDA FP32 fast vs stock WRF real*4
10.54×
CUDA FP32 fast vs tuned WRF real*4
9.42×
CUDA FP32 identity vs stock WRF real*4
10.32×
CUDA FP64 vs stock WRF real*8
5.53×

Median per-block speed-ups on one NVIDIA RTX PRO 6000 Blackwell Server Edition versus the fastest screened WRF layouts on the same runtime’s AMD EPYC 9B45 (24 cores, 48 hardware threads). CPPWRF model code of release 1.4.0 (a63ed9f).

Paper benchmarks and protocol

Bit identity with WRF

In v1.5.0, CPU CI passed 533 checks against WRF at tolerance 0, CUDA FP64 passed 423 checks against WRF real*8 at tolerance 0, and CUDA FP32 identity passed 44 checks against WRF real*4 at tolerance 0.

Verification method and coverage

WRF inputs and outputs

CPPWRF ports the dynamical core, physics, static nesting, real.exe and ideal.exe. It reads WRF’s wrfinput and wrfbdy and writes wrfout and wrfrst.

Project resources