Docker Containers for MCNP® Development
- 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
MCNP® Code Version 6.3.1 Release Notes
mstk-docker
Study of a Docker Use-Case for HEP
Technical Report
·
Tue Apr 22 00:00:00 EDT 2025
·
OSTI ID:2563101
mstk-docker
Software
·
Sun Aug 12 20:00:00 EDT 2018
·
OSTI ID:code-23387
Study of a Docker Use-Case for HEP
Technical Report
·
Thu Dec 31 23:00:00 EST 2015
·
OSTI ID:1260395