Inside the Code Archive Where a Climate Model No Longer Runs

Oct 20, 2026 By Alice Chen

A climate model that ran on a university cluster in 2012 may not run anywhere today. The source code survives in an archive, but the compiler, the numerical libraries, and the hardware that shaped its results do not. That gap sits at the center of a disagreement among computational scientists about what reproducibility actually requires.

A Model That Will Not Run

The failure is mundane. A model released with a paper gets archived as source files, and years later a reader downloads them and finds that the build script points to a library version no longer distributed. The code is intact. The instructions for turning it into a running program are not.

Software Heritage, unveiled in 2016 by the French research institute Inria and supported by UNESCO, was built to solve the first half of this problem. It archives human-readable source code and assigns persistent identifiers. It does not promise that archived code will execute.

That distinction matters for climate science, where a model is often the instrument behind a published result. A preserved file is evidence that the code existed. A reproducible run is evidence that the result follows from it. The two are not the same, and reasonable scientists split on which one deserves the funding.

What Software Heritage Actually Stores

The archive is structured as a non-profit, multi-stakeholder initiative. Its focus is source code in human-readable form, not compiled binaries. Each file and commit receives a SoftWare Hash IDentifier, or SWHID, a persistent label comparable in spirit to a DOI but tailored to versioned code.

That design choice is deliberate. Source is compact, inspectable, and portable across systems in a way that a compiled executable is not. A SWHID lets a reader point to an exact version of a function and know it has not changed underneath them.

The limitation follows from the same choice. A DOI identifies a paper. A SWHID identifies a piece of source. Neither identifies a working build environment, and that environment is where climate models tend to break. The archive can tell you what the code said. It cannot tell you what the code did.

The Gap Between Hash and Behavior

Pinned source still needs a compiler, and compilers age out of vendor support. A model written for an older Fortran standard may compile today with warnings that hide changed behavior, or fail outright when a dependency is pulled from a package repository that no longer carries the needed version.

Binary dependencies rot in a subtler way. Numerical libraries are often distributed as compiled objects, and a library built for one operating system release may not load on the next. Hardware drift adds another layer: the same floating-point operations can produce slightly different results across processors, enough to shift a long simulation.

The scale of the drift is small per operation and large per run. A single addition differing in the last digit is nothing. Iterate that difference across millions of grid cells and tens of thousands of timesteps, and a chaotic system can diverge into a visibly different climate trajectory. Modelers sometimes describe this as a butterfly effect inside the machine, and it means that two runs of nominally identical code can disagree without either being wrong.

This echoes the replication crisis that has occupied other fields, though the mechanism differs. The site has argued that funding sources shape replication outcomes, and a similar question applies here: who pays to keep a model runnable, and for how long? A related piece on sensor logs facing the same audit as bench data makes a parallel point about records that outlive their instruments.

Two Camps, One Archive

Preservationists argue that freezing source is the achievable goal. Archives are cheap to maintain relative to execution environments, and a well-labeled source tree lets a future researcher reconstruct a build if the need is great enough. The cost is deferred, not avoided.

Executionists counter that a model nobody can run is a historical document, not a scientific instrument. They favor emulation and container images that capture the whole toolchain, from compiler flags to library versions. Containers can be archived alongside source and rebuilt on demand.

Both sides agree that provenance is essential. The disagreement is over who pays for upkeep. A container image needs periodic testing and migration as host systems change, and that recurring cost has no natural funder. The archive can store the image. It cannot guarantee the image still boots.

What Emulation Costs

Emulation is the most complete answer and the most expensive one. Running old software on a simulated older machine can preserve behavior that no rebuild will reproduce, because the emulator reproduces the instructions rather than translating them. For models whose results depend on exact floating-point behavior, that fidelity can be the whole point.

The price is ongoing attention. Emulators themselves depend on host systems, and an emulator that ran well a decade ago may need patching to run on current hardware. Each layer added to the stack is another layer that can fail, and the failure is often discovered only when someone tries to use the archive. A rough rule among digital preservationists is that the cost of keeping something runnable scales with the number of layers you must maintain, which is why full emulation tends to be reserved for a small set of high-value models rather than applied across a whole field.

There is also a documentation cost that no emulator removes. A model released without a record of its compiler flags, its library versions, or its expected output is hard to validate even when it runs. The run may succeed and still tell you nothing, because you have no baseline to compare against. Preservation of the environment and preservation of the evidence of what that environment produced are separate jobs, and archives have generally taken on only the first.

What a Reproducible Run Requires

A reproducible run needs more than a hash. It needs the compiler version and the flags used, the exact library versions, and a record of the hardware class if floating-point behavior matters. Those details are rarely in the paper and often missing from the repository.

Archiving a container alongside source is one practical answer, provided the container is tested on a schedule. A rebuild test every few years catches the slow drift before it becomes a crisis. Publishing expected output checksums lets a reader confirm that a rebuilt model produces the same numbers, not merely that it compiles.

Checksums have a limit worth naming. They confirm that a rebuild matches a stored baseline, but they cannot tell you whether the baseline was correct. A model archived with a bug in it will reproduce the bug faithfully, and the checksum will pass. Reproducibility is a statement about consistency, not about truth, and conflating the two is one of the quieter mistakes in the field.

The hardest part is cultural. Software is still treated as a byproduct of research rather than a citable artifact. Until a model release carries the same weight as a paper, the build environment will remain an afterthought, and the archive will keep filling with code that no one can execute.

Five Habits for Computational Authors

Assign a SWHID to every public release of a model, so readers can point to an exact version rather than a repository that may change. Freeze the build environment in a container or a documented script, and record compiler versions and flags in the same place as the source.

Store sample outputs with checksums, so a future rebuild can be compared against known results. Schedule a rebuild test every few years on a current system, and treat a failure as a finding worth reporting. Budget for archive maintenance at the start of a project, because the cost of keeping a model runnable outlives the grant that paid for it.

Recommend Posts
Science

Reproducibility Grants and Novelty Grants Produce Similar Publication Counts

By Alice Chen/Oct 20, 2026

A new analysis finds reproducibility grants produce as many papers as novelty grants, challenging assumptions about productivity and suggesting funders need better success metrics.
Science

Ice-Core Dust Layers Date a Southern Ocean Cold Snap to Within Centuries

By Jonas Eriksen/Oct 20, 2026

Dust layers in Antarctic ice now tie marine sediment records to a shared calendar, shrinking the uncertainty on an abrupt Southern Ocean cold snap to a few centuries.
Science

Inside the Code Archive Where a Climate Model No Longer Runs

By Alice Chen/Oct 20, 2026

Software Heritage preserves source code but cannot execute it. A look at the reproducibility gap between hashing files and rebuilding climate models.
Science

Grant Panels Score Novelty Higher Than Replication Value

By Jonas Eriksen/Oct 20, 2026

Grant panels consistently score novelty above replication value. Here is how reviewer forms, rubrics, and panel composition produce the gap, and what reform would cost.
Science

Mapping What Survived Peer Review in a Mouse Memory Study

By Renu Shah/Oct 20, 2026

A mouse memory study survived review with its core claim intact but its statistics rewritten. What the replication found, and how to read the next engram paper.
Science

Galaxy Rotation Curves Flatten Most Sharply in the Faintest Disks

By Alice Chen/Oct 20, 2026

Faint, low-surface-brightness disks flatten their rotation curves sooner than models predict. What the SPARC sample shows, where the measurements break down, and how to read the plots.
Science

How a Barrel Cortex Paper Lost Its Place-Cell Claim

By Renu Shah/Oct 20, 2026

A methodology breakdown of how a place-cell claim in barrel cortex moved from preprint to cautionary example, and what electrode depth, task design and replication actually did to it.
Science

Lab Mice Reared Sterile Revise the Gut-Brain Result

By Renu Shah/Oct 20, 2026

Germ-free mice produce striking gut-brain results that often fade in ordinary colonies. A methodology breakdown of rearing, husbandry and what the assays actually measure.
Science

Survey Archives and the Cost of Keeping Old Radio Data Readable

By Jonas Eriksen/Oct 20, 2026

Radio astronomy's legacy data is fading as tapes degrade and formats drift. The real cost of keeping old observations readable, and what survey teams can do now.
Science

Molecular Biologists and Ecologists Split on What a Failed Replication Costs

By Karim Osman/Oct 20, 2026

Molecular biologists and ecologists disagree over what a failed replication costs, and the argument is really about reagents, field seasons, and who pays for confirmation.
Science

Optics and Condensed-Matter Labs Diverge on the Cost of a Tabletop Result

By Renu Shah/Oct 20, 2026

Optics and condensed-matter labs run on very different budgets and timelines. The gap shapes publication pressure, startup packages, and what counts as a result worth funding.
Science

Preprint Biology Findings Draw Scrutiny Over Who Funds Their Replication

By Renu Shah/Oct 20, 2026

A model-organism preprint became a headline, then a replication bill. What two labs found, who paid for it, and why the verdict took years to settle.
Science

Voltage Imaging and Electrodes Compared for Reading Circuit Timing

By Jonas Eriksen/Oct 20, 2026

Voltage imaging and electrode arrays both claim to read circuit timing. A breakdown of what each measures, where the clocks diverge, and how to report latency honestly.
Science

A Survey of 3,600 Galaxies Finds the Dust Correction, Not the Telescope

By Alice Chen/Oct 20, 2026

A survey of 3,600 galaxies suggests the assumed dust law, not the telescope, drives systematic offsets in stellar mass estimates, with edge-on systems hit hardest.
Science

The Economist Who Pushed Cost-Benefit Analysis Into Science Funding

By Alice Chen/Oct 20, 2026

A biographical explainer on how one economist brought cost-benefit analysis into science funding, the method's limits, and practical steps for better evaluation.
Science

Deep-Sea Carbon Estimates Track the Ship Time Funded to Collect Them

By Karim Osman/Oct 20, 2026

How a deep-sea carbon burial estimate moved from preprint to consensus, shaped by the ship time, sediment traps, and funding behind the data.
Science

Code Archiving Costs Outweigh the Reproducibility They Buy

By Karim Osman/Oct 20, 2026

Funders now require code archiving in the name of reproducibility. The costs land on grantees, and evidence that archived code gets reused is thin.
Science

Cost Accounting for a Mouse-Model Result Nobody Has Replicated

By Renu Shah/Oct 20, 2026

A 2019 mouse study on social behavior remains widely cited despite two failed replications. The cost of repeating it—and why incentives discourage doing so.
Science

Two-Photon Calcium Imaging and fMRI Diverge on What a Circuit Is Doing

By Karim Osman/Oct 20, 2026

Two-photon calcium imaging and fMRI measure different things at different scales. A methodology breakdown of why circuit claims diverge and how to read them.
Science

Single-Cell Sequencing Eats Molecular Biology's Equipment Budget

By Renu Shah/Oct 20, 2026

Single-cell sequencing moved from a boutique method to a dominant line item. The real cost is not per cell but the infrastructure, storage, and staff a lab must carry.