diff --git a/devito/ir/clusters/algorithms.py b/devito/ir/clusters/algorithms.py index af8eee97cf..043f0121e5 100644 --- a/devito/ir/clusters/algorithms.py +++ b/devito/ir/clusters/algorithms.py @@ -419,8 +419,10 @@ def callback(self, clusters, prefix, seen=None): key = lambda i: i in prefix[:-1] or i in hs.loc_indices ispace = c.ispace.project(key) + # HaloTOuch are not parallel + properties = c.properties.sequentialize() - halo_touch = c.rebuild(exprs=expr, ispace=ispace) + halo_touch = c.rebuild(exprs=expr, ispace=ispace, properties=properties) processed.append(halo_touch) seen.update({halo_touch, c})