Merge pull request #1928 from paulromano/mpi-fork-doc

Add note in documentation about MPI multiprocessing in depletion
This commit is contained in:
Patrick Shriwise 2021-12-17 13:45:55 -06:00 committed by GitHub
commit 70a7002f5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,4 +119,15 @@ using particle restart mode with the ``-r`` command-line option in conjunction
with the particle restart files that are created when particles are lost with
this error.
.. _mailing list: https://groups.google.com/forum/?fromgroups=#!forum/openmc-users
Depletion
*********
If you are running a depletion simulation and are experiencing random hangs or
crashes, you may need to set::
openmc.deplete.pool.USE_MULTIPROCESSING = False
in your Python file before making any calls to the integrator. This can be
caused by an MPI implementation that is not compatible with forking (e.g., see
the `OpenMPI FAQ entry about forking
<https://www.open-mpi.org/faq/?category=tuning#fork-warning>`_).