Show More
@@ -141,7 +141,7 b' independent of the defaults for the View.' | |||
|
141 | 141 | |
|
142 | 142 | .. seealso:: |
|
143 | 143 | |
|
144 |
:ref:` |
|
|
144 | :ref:`pxconfig` accepts these same arguments for changing the *default* | |
|
145 | 145 | values of targets/blocking for the active View. |
|
146 | 146 | |
|
147 | 147 | |
@@ -232,6 +232,8 b' on the engines until you do %autopx again.' | |||
|
232 | 232 | In [35]: %autopx |
|
233 | 233 | Auto Parallel Disabled |
|
234 | 234 | |
|
235 | .. _pxconfig: | |
|
236 | ||
|
235 | 237 | %pxconfig |
|
236 | 238 | --------- |
|
237 | 239 |
@@ -180,17 +180,21 b' flags for all views:' | |||
|
180 | 180 | |
|
181 | 181 | block : bool (default: view.block) |
|
182 | 182 | Whether to wait for the result, or return immediately. |
|
183 | ||
|
183 | 184 | False: |
|
184 | 185 | returns AsyncResult |
|
185 | 186 | True: |
|
186 | returns actual result(s) of f(*args, **kwargs) | |
|
187 | returns actual result(s) of ``f(*args, **kwargs)`` | |
|
188 | ||
|
187 | 189 | if multiple targets: |
|
188 | 190 | list of results, matching `targets` |
|
191 | ||
|
189 | 192 | track : bool [default view.track] |
|
190 | 193 | whether to track non-copying sends. |
|
191 | 194 | |
|
192 | 195 | targets : int,list of ints, 'all', None [default view.targets] |
|
193 | 196 | Specify the destination of the job. |
|
197 | ||
|
194 | 198 | if 'all' or None: |
|
195 | 199 | Run on all active engines |
|
196 | 200 | if list: |
@@ -198,8 +202,8 b" targets : int,list of ints, 'all', None [default view.targets]" | |||
|
198 | 202 | if int: |
|
199 | 203 | Run on single engine |
|
200 | 204 | |
|
201 |
Note that LoadBalancedView uses targets to restrict possible destinations. |
|
|
202 | will always execute in just one location. | |
|
205 | Note that :class:`LoadBalancedView` uses targets to restrict possible destinations. | |
|
206 | LoadBalanced calls will always execute in just one location. | |
|
203 | 207 | |
|
204 | 208 | flags only in LoadBalancedViews: |
|
205 | 209 |
General Comments 0
You need to be logged in to leave comments.
Login now