Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Docker Containers for MCNP® Development

Technical Report ·
DOI:https://doi.org/10.2172/2472553· OSTI ID:2472553
 [1]
  1. Los Alamos National Laboratory (LANL), Los Alamos, NM (United States)

Containers are a revolutionary technology in software development and deployment that provides a lightweight, portable environment for ensuring consistency across multiple computing environments. In anticipation of the MCNP 6.3.1 release, two Docker container images have been released on DockerHub for general use. The MCNP source code is not included in the images, and users are still required to obtain it through RSICC. The images produced by Docker are compliant with the OCI (Open Container Initiative) standards, ensuring compatibility with other container engines such as Podman or Kubernetes’ CRI-O. Initially, the images are stored under the author’s personal space on DockerHub (docker.io/azukaitis), but they will be relocated to a dedicated MCNP group space once approved. In the future, they will also be available through the registry feature of the https://github.com/lanl/mcnp-containers project. The use of Docker provides a pre-configured environment for building and running MCNP, ensuring reproducibility of results across various host architectures. This significantly improves consistency when running MCNP on different systems. Notably, executables and installers from the Docker images have successfully passed the MCNP development branch testing suite on x86-64 architectures, including Windows, macOS, and Linux operating systems. Furthermore, testing has demonstrated compatibility with macOS Docker in emulation mode on the latest Apple Mac M2 Ultra hardware, ensuring robust support even on the latest platforms. In this document, we will provide a step-by-step guide to using the Docker images across multiple platforms. Additionally, we will present performance numbers for building and running the MCNP test suite.

Research Organization:
Los Alamos National Laboratory (LANL), Los Alamos, NM (United States)
Sponsoring Organization:
USDOE National Nuclear Security Administration (NNSA)
DOE Contract Number:
89233218CNA000001
OSTI ID:
2472553
Report Number(s):
LA-UR-24-31167
Country of Publication:
United States
Language:
English

Similar Records

Study of a Docker Use-Case for HEP
Technical Report · Fri Jan 01 00:00:00 EST 2016 · OSTI ID:1260395

mstk-docker
Software · Mon Aug 13 00:00:00 EDT 2018 · OSTI ID:1494446

Improvements to Contributions from Neutron Inelastic Scattering for Next-Event Estimators in MCNP® Software
Technical Report · Wed Nov 01 00:00:00 EDT 2023 · OSTI ID:2205018