Skip to content

Commit

Permalink
Add prefix back to the hash as it's being abused by SLATE
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Sep 12, 2024
1 parent 4b49683 commit 48a18e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion firedrake/tsfc_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 48a18e8

Please sign in to comment.