OpenMC Monte Carlo Code https://docs.openmc.org
  • Python 64.8%
  • C++ 34.3%
  • CMake 0.4%
  • C 0.3%
  • Dockerfile 0.1%
Find a file
Paul Romano 1d75981dbf
Some checks failed
Tests and Coverage / filter-changes (push) Has been cancelled
dockerhub-publish-develop / main (push) Has been cancelled
dockerhub-publish-develop-dagmc-libmesh / main (push) Has been cancelled
dockerhub-publish-develop-dagmc / main (push) Has been cancelled
dockerhub-publish-develop-libmesh / main (push) Has been cancelled
Trigger performance benchmarks / dispatch (push) Has been cancelled
Tests and Coverage / CMake dependencies (fetched) (push) Has been cancelled
Tests and Coverage / CMake dependencies (installed) (push) Has been cancelled
Tests and Coverage / Python 3.13 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.14 (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.14t (omp=n, mpi=n, dagmc=, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=n, mpi=n, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=n, mpi=y, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=n, libmesh=n, event=n (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=y, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=n, dagmc=, libmesh=, event=y (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=y, libmesh=, event= (push) Has been cancelled
Tests and Coverage / Python 3.12 (omp=y, mpi=y, dagmc=, libmesh=y, event= (push) Has been cancelled
Tests and Coverage / coverage (push) Has been cancelled
Tests and Coverage / Check CI status (push) Has been cancelled
Add PNNL material composition library (#4134)
2026-09-22 19:59:19 +02:00
.claude RAG search tool for agents (#3861) 2026-04-03 16:18:19 -05:00
.github Replace git submodules with find_package + FetchContent (#4085) 2026-09-12 00:01:39 +00:00
cmake Set format install to fix git repo builds (#4143) 2026-09-20 15:06:45 -05:00
docs Add PNNL material composition library (#4134) 2026-09-22 19:59:19 +02:00
examples Avoid deprecated numpy array shape assignment (#4104) 2026-09-02 16:38:51 +00:00
include/openmc Enable unused variable warnings (#4142) 2026-09-19 21:48:57 +03:00
man/man1 Update copyright to 2026 (#3834) 2026-02-26 08:14:28 +00:00
openmc Add PNNL material composition library (#4134) 2026-09-22 19:59:19 +02:00
src Enable unused variable warnings (#4142) 2026-09-19 21:48:57 +03:00
tests Add PNNL material composition library (#4134) 2026-09-22 19:59:19 +02:00
tools Fix post-commit clang-format exit handling (#4100) 2026-09-01 22:44:04 +00:00
.clang-format add west const and enforce in clang format 2023-04-15 12:50:30 -04:00
.git-blame-ignore-revs Added file that can be passed to 'git blame --ignore-revs-file' 2021-08-11 13:46:35 -05:00
.git_archival.txt Add Versioning Support from version.txt (#3140) 2025-02-21 17:48:11 -06:00
.gitattributes Add Versioning Support from version.txt (#3140) 2025-02-21 17:48:11 -06:00
.gitignore Automatic C++ doc generation (#3950) 2026-07-17 15:47:40 +00:00
.mcp.json RAG search tool for agents (#3861) 2026-04-03 16:18:19 -05:00
.readthedocs.yaml Automatic C++ doc generation (#3950) 2026-07-17 15:47:40 +00:00
AGENTS.md Replace git submodules with find_package + FetchContent (#4085) 2026-09-12 00:01:39 +00:00
CITATION.cff Update CITATION.cff file (#3671) 2025-12-06 21:54:30 +00:00
CLAUDE.md RAG search tool for agents (#3861) 2026-04-03 16:18:19 -05:00
CMakeLists.txt Enable unused variable warnings (#4142) 2026-09-19 21:48:57 +03:00
CODE_OF_CONDUCT.md Clarify enforcement in code of conduct 2018-07-25 06:30:26 -05:00
CODEOWNERS NCrystal becomes runtime rather than buildtime dependency (#3328) 2025-03-05 15:45:27 -06:00
CONTRIBUTING.md Release notes for 0.15.1 (#3340) 2025-03-07 14:49:36 -06:00
Dockerfile Replace git submodules with find_package + FetchContent (#4085) 2026-09-12 00:01:39 +00:00
LICENSE Update copyright to 2026 (#3834) 2026-02-26 08:14:28 +00:00
MANIFEST.in Replace git submodules with find_package + FetchContent (#4085) 2026-09-12 00:01:39 +00:00
pyproject.toml Add PNNL material composition library (#4134) 2026-09-22 19:59:19 +02:00
pytest.ini Skip multipole-related tests if OPENMC_MULTIPOLE_LIBRARY is not set 2018-02-06 13:27:01 -05:00
README.md ci badge on readme points to develop status (#2712) 2023-09-27 13:31:04 +00:00

OpenMC Monte Carlo Particle Transport Code

License GitHub Actions build status (Linux) Code Coverage dockerhub-publish-develop-dagmc dockerhub-publish-develop conda-pacakge

The OpenMC project aims to provide a fully-featured Monte Carlo particle transport code based on modern methods. It is a constructive solid geometry, continuous-energy transport code that uses HDF5 format cross sections. The project started under the Computational Reactor Physics Group at MIT.

Complete documentation on the usage of OpenMC is hosted on Read the Docs (both for the latest release and developmental version). If you are interested in the project, or would like to help and contribute, please get in touch on the OpenMC discussion forum.

Installation

Detailed installation instructions can be found in the User's Guide.

Citing

If you use OpenMC in your research, please consider giving proper attribution by citing the following publication:

Troubleshooting

If you run into problems compiling, installing, or running OpenMC, first check the Troubleshooting section in the User's Guide. If you are not able to find a solution to your problem there, please post to the discussion forum.

Reporting Bugs

OpenMC is hosted on GitHub and all bugs are reported and tracked through the Issues feature on GitHub. However, GitHub Issues should not be used for common troubleshooting purposes. If you are having trouble installing the code or getting your model to run properly, you should first send a message to the discussion forum. If it turns out your issue really is a bug in the code, an issue will then be created on GitHub. If you want to request that a feature be added to the code, you may create an Issue on github.

License

OpenMC is distributed under the MIT/X license.