From 48a18e845fe1842c28b0fd1a33681ea2fcbbddd7 Mon Sep 17 00:00:00 2001 From: Jack Betteridge Date: Sun, 18 Aug 2024 17:02:39 +0100 Subject: [PATCH] Add prefix back to the hash as it's being abused by SLATE --- firedrake/tsfc_interface.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firedrake/tsfc_interface.py b/firedrake/tsfc_interface.py index c20d1d89cd..4532604128 100644 --- a/firedrake/tsfc_interface.py +++ b/firedrake/tsfc_interface.py @@ -55,7 +55,9 @@ def tsfc_compile_form_hashkey(form, prefix, parameters, interface, diagonal, log): # Drop prefix as it's only used for naming and log - return default_parallel_hashkey(form.signature(), parameters, interface, diagonal) + # JBTODO: Can't drop prefix as tests/slate/test_optimise.py::test_partially_optimised fails, investigate + # it looks like the prefix is being used to create different subkernels, which conflicts with the docstring below + return default_parallel_hashkey(form.signature(), prefix, parameters, interface, diagonal) def tsfc_compile_form_comm_fetcher(*args, **kwargs):