Skip to content

Commit 16bf670

Browse files
committed
scatter again
1 parent fb1ad54 commit 16bf670

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ogcore/SS.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@ def inner_loop(outer_loop_vars, p, client):
216216
"""
217217
# Retrieve the "scattered" Parameters object.
218218
global scattered_p
219+
if client:
220+
scattered_p = client.scatter(p, broadcast=True)
221+
else:
222+
scattered_p = p
219223
# unpack variables to pass to function
220224
bssmat, nssmat, r_p, r, w, p_m, Y, BQ, TR, factor = outer_loop_vars
221225

0 commit comments

Comments
 (0)