Merge pull request #1593 from drewejohnson/deplete-with-itertools

Allow depletion without multiprocessing
This commit is contained in:
Paul Romano 2020-06-29 10:28:26 -05:00 committed by GitHub
commit 5dbe549a78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 40 additions and 13 deletions

View file

@ -145,6 +145,17 @@ with :func:`cram.CRAM48` being the default.
cram.CRAM48
pool.deplete
.. data:: pool.USE_MULTIPROCESSING
Boolean switch to enable or disable the use of :mod:`multiprocessing`
when solving the Bateman equations. The default is to use
:mod:`multiprocessing`, but can cause the simulation to hang in
some computing environments, namely due to MPI and networking
restrictions. Disabling this option will result in only a single
CPU core being used for depletion.
:type: bool
The following classes are used to help the :class:`openmc.deplete.Operator`
compute quantities like effective fission yields, reaction rates, and
total system energy.