[yt-svn] commit/yt-doc: sskory: Adding a note about how to automate num_procs.
Bitbucket
commits-noreply at bitbucket.org
Wed Dec 14 16:00:14 PST 2011
1 new commit in yt-doc:
https://bitbucket.org/yt_analysis/yt-doc/changeset/57479e0525a8/
changeset: 57479e0525a8
user: sskory
date: 2011-12-15 00:43:03
summary: Adding a note about how to automate num_procs.
affected #: 1 file
diff -r 6cd96899aab9d96431d13fb08274a9c465d3e28e -r 57479e0525a8dec0da5d7e0fa75273b540a22f6e source/advanced/parallel_computation.rst
--- a/source/advanced/parallel_computation.rst
+++ b/source/advanced/parallel_computation.rst
@@ -151,6 +151,11 @@
# The number 4, below, is the number of processes to parallelize over, which
# is generally equal to the number of MPI tasks the job is launched with.
+ # If num_procs is set to zero or a negative number, the for loop below
+ # will be run such that each iteration of the loop is done by a single MPI
+ # task. Put another way, setting it to zero means that no matter how many
+ # MPI tasks the job is run with, num_procs will default to the number of
+ # MPI tasks automatically.
num_procs = 4
# fns is a list of all Enzo hierarchy files in directories one level down.
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