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