Skip to main content
v2026.11,986 entries · CC-BY 4.0
CASRAICASRAI Working GroupsHelp write the standards you have to implement24 working groups propose, review and ratify the terms CASRAI publishes, one per dictionary domain. Community and observer seats start at about two hours a month; chairs and co-chairs give 6–8 hours a month. Applications are reviewed.Apply to join a group CASRAI · Volunteer seats
Dictionary termTrack CStablev2026.2

Computational environment

The full software and hardware context in which an analysis runs, including operating system, language runtime, library versions, configuration, environment variables, and hardware-specific dependencies (e.g., GPU drivers).

ByCASRAI Editorial Board
· Last updated 5 Sept 2026

Working group for this domain: Reproducibility and computational research working group

Share this

Ask CASRAI · full access

Ask about Computational environment

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Editorial commentary

Computational environment in practice

A computational environment is the full software and hardware context in which an analysis actually runs: operating system, language runtime and its version, every library and its version, configuration and environment variables, and hardware-specific dependencies such as GPU drivers and CUDA versions. It is the broadest of this site’s reproducibility-mechanism terms — the thing that needs capturing, as distinct from the specific tool used to capture it.

How this relates to containers and workflow tools

A container image is one mechanism for capturing and distributing a computational environment as a single portable artefact. A workflow tool such as Nextflow or Snakemake often specifies a container image per pipeline step, so that each step’s environment is pinned independently rather than relying on one shared, drift-prone environment for the whole analysis. Package and environment managers (conda, renv, poetry) are a lighter-weight alternative that pins library versions without full OS-level isolation — adequate for many analyses, but not equivalent to a container for capturing OS-level or hardware-driver dependencies.

Why “it worked on my machine” is a documentation failure, not bad luck

An analysis that only reproduces on its original author’s own machine has, by definition, an undocumented computational environment — the fix is recording the environment as explicitly as the code and data, not simply retrying.

References

Examples

Worked examples

  • Is an instance

    A renv.lock file pinning every R package version used by an analysis.

  • Is an instance

    A Dockerfile producing a reproducible Ubuntu 22.04 image with Python 3.11 and pinned dependencies.

Counter-examples

Looks similar, but isn't

  • Not an instance

    A 'requirements.txt' with unpinned versions (>= or ranges).

  • Not an instance

    A README listing language versions without pinning libraries.

Also known as

execution environment · research environment

Machine-readable encodings

Use in your systems

JATS XML <kwd> element
xml
<kwd vocab="CASRAI Dictionary"
     vocab-identifier="https://casrai.org/dictionary/"
     vocab-term="Computational environment"
     vocab-term-identifier="https://casrai.org/dictionary/term/computational-environment">Computational environment</kwd>
Schema.org DefinedTerm (JSON-LD)
Schema.org DefinedTerm (JSON-LD)
json
{
  "@context": "https://schema.org",
  "@type": "DefinedTerm",
  "@id": "https://casrai.org/dictionary/term/computational-environment",
  "name": "Computational environment",
  "identifier": "https://casrai.org/dictionary/term/computational-environment",
  "description": "The full software and hardware context in which an analysis runs, including operating system, language runtime, library versions, configuration, environment variables, and hardware-specific dependencies (e.g., GPU drivers).",
  "inDefinedTermSet": "https://casrai.org/dictionary/domain/reproducibility#set",
  "url": "https://casrai.org/dictionary/term/computational-environment",
  "alternateName": [
    "execution environment",
    "research environment"
  ],
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "publisher": {
    "@id": "https://casrai.org/#organization"
  },
  "author": {
    "@id": "https://casrai.org/#editorial-team"
  },
  "datePublished": "2026-05-21T02:22:49Z",
  "dateModified": "2026-09-05T17:31:35Z",
  "inLanguage": "en",
  "isAccessibleForFree": true
}

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →