← all records

Driver Parallel Output

pitch-370007 · in warm_bubble

Problem

The standalone driver has serial output only. The goal is to extend the output to parallel one.

Solution

Parallel Output:

  1. NetCDF: gather all in rank 0 and output
  2. Same for Zarr
  3. Zarr: Each rank outputs its own part [no ghost cells]
  4. parallelNetCDF: like above

Rabbit holes

No-gos

Progress

  • Serial IO (PR#1307)
  • Parallel IO: Follow-up PR [WIP]

The checklist above is the author's, left as he wrote it. The review deck of 11.08.2026 reported the follow-up PR #1403 as "To be Merged - very soon"; it has since been merged (2026-08-17). The deck's own summary of where that leaves the driver:

  • Gather to rank 0 and write from there either netCDF or Zarr (v3)
  • Every rank writes its own block of every field in a common store either netCDF (parallel netCDF) or Zarr
  • Next & Final step → Async Distributed Output (dedicated ranks for the output)

Since the review

That final step is its own bet now, pitch-9c4e12, carried into cycle 38. The gridlook export that was split out of #1403 along the way is unrelated to output distribution and is parked in Miscellaneous as task-7a3f05.