[Yt-svn] commit/yt-doc: sskory: Adding note about recentering functions in parallel for the halo profiler.
Bitbucket
commits-noreply at bitbucket.org
Fri Apr 15 12:20:31 PDT 2011
1 new changeset in yt-doc:
http://bitbucket.org/yt_analysis/yt-doc/changeset/3761f874cae0/
changeset: r67:3761f874cae0
user: sskory
date: 2011-04-15 21:20:25
summary: Adding note about recentering functions in parallel for the halo profiler.
affected #: 1 file (505 bytes)
--- a/source/analysis_modules/halo_profiling.rst Fri Apr 15 14:44:31 2011 -0400
+++ b/source/analysis_modules/halo_profiling.rst Fri Apr 15 13:20:25 2011 -0600
@@ -364,3 +364,16 @@
hp = amods.halo_profiler.HaloProfiler("data0092",
recenter=find_min_temp_dist)
+.. warning::
+
+ If the halo profiler is run in parallel, and a recentering function is used
+ that is user-defined, two flags need to be set in the ``quantities`` call
+ as in the example below. These need to be set explicitly because the defaults
+ will lead to crashes. The built-in recentering functions have these flags
+ set already.
+
+ .. code-block:: python
+
+ ma, mini, mx, my, mz, mg = sphere.quantities['MinLocation']('Temperature',
+ lazy_reader=False, preload=False)
+
Repository URL: https://bitbucket.org/yt_analysis/yt-doc/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list