Open pp-mo opened 2 years ago
Re: (2) : enforcing full-mesh-dim chunks...
Suggestion captured:
Following creation of result_array
, with mesh in the last dim, add lines ...
# rechunk result if needed, to ensure that mesh dim is NOT split
if result_array.chunksize[-1] != result_array.shape[-1]:
chunks = list(result_array.chunksize)
chunks[-1] = result_array.shape[-1]
result_array = result_array.rechunk(chunks)
As identified in work on #4845
Follow-on fixes/changes :