OpenMC Monte Carlo Code https://docs.openmc.org
Find a file
2012-08-18 12:11:58 -04:00
docs Updated release notes for 0.4.3. 2012-08-18 12:11:58 -04:00
examples Updated examples to use batches instead of cycles. 2012-03-19 10:44:42 -04:00
src Minor cleanup ahead of release. 2012-08-18 12:07:21 -04:00
.gitignore Added Python plotting script for plot.out files. 2011-10-16 23:17:41 -04:00
cross_sections.xml Updated convert_xsdir.py to add alias. 2011-11-27 23:50:29 -05:00
cross_sections_serpent.xml Introduced cross_sections.xml to replace use of xsdata. Closes gh-43. 2011-11-02 15:08:34 -04:00
LICENSE Added MIT license. 2012-03-15 12:35:26 -04:00
readme.rst Minor cleanup ahead of release. 2012-08-18 12:07:21 -04:00
signal.patch Added patch for interrupt handling if we want to add it at some point. 2012-07-31 09:35:46 -04:00

==========================================
OpenMC Monte Carlo Particle Transport Code
==========================================

The OpenMC project aims to provide a fully-featured Monte Carlo particle
transport code based on modern methods. The project started under the
Computational Reactor Physics Group at MIT.

If you are interested in the project or would like to help and contribute,
please contact `Paul Romano`_.

---------------
Building OpenMC
---------------

Building the executable for OpenMC is as easy as going to the src directory and
running make. By default, the Makefile is set to use the GNU Fortran compiler,
gfortran. This can be changed by the F90 variable in the Makefile.

Compiling for multiple processors can be controlled with the USE_MPI and MPI
variables. The MPI variable should be set to the base directory of the MPI
implementation installed on your computer.

OpenMC has been tested on Linux, Mac, and Windows platforms with Intel, GNU,
IBM, Cray, and PGI compilers. It is recommended to use the latest version of
whatever compiler you should choose to use as there are a number of Fortran 2003
and 2008 intrinsics that are used in OpenMC.

--------------
Running OpenMC
--------------

To run OpenMC after building, you'll need to write an input file according to
the specifications in this documentation. With your input file complete, simply
run::

	openmc inputFile

where *inputFile* is the name of your input file. To run in parallel, use the
mpiexec or mpirun script provided by your MPI implementation. Assuming this is
on your PATH, you may run::

   mpiexec -n numProcs openmc inputFile

where *numProcs* is the number of processors you desire to run on.

.. _Paul Romano: mailto:paul.k.romano@gmail.com