From 37cfd2049886215aefef90498b4baa044768ec7a Mon Sep 17 00:00:00 2001 From: yardasol Date: Thu, 8 Sep 2022 11:42:37 -0500 Subject: [PATCH] add paragraph on using env variable w from_model --- docs/source/usersguide/depletion.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/source/usersguide/depletion.rst b/docs/source/usersguide/depletion.rst index be94061822..46403ff916 100644 --- a/docs/source/usersguide/depletion.rst +++ b/docs/source/usersguide/depletion.rst @@ -294,6 +294,14 @@ or from data arrays:: sure your cross sections are in the correct units before passing to a :class:`~openmc.deplete.IndependentOperator` object. +If you are runnnig :meth:`~openmc.deplete.MicroXS.from_model()` on a cluster +that does not share local filesystems across nodes, you'll need to set an +environment variable so that each MPI process knows where to store output files +used to calculate the microscopic cross sections. In order of priority, they +are `TMPDIR`. `TEMP`, and `TMP`. Users interested in further details can read +the `relevant docpage on the tempfile pacakge `_ + + Caveats -------