Open ddundo opened 1 week ago
The issue is in conftest.py
files:
from firedrake.tsfc_interface import TSFCKernel
from pyop2.global_kernel import GlobalKernel
TSFCKernel._cache.clear()
GlobalKernel._cache.clear()
Neither of these no longer have the _cache
attribute. The TSFC one was easy to fix:
from firedrake.tsfc_interface import clear_cache
clear_cache()
but I couldn't find the updated way for pyop2
Edit: I think that pyop2 is now
from pyop2.caching import clear_memory_cache
from pyop2.mpi import COMM_WORLD
clear_memory_cache(COMM_WORLD)
See https://github.com/mesh-adaptation/goalie/actions/runs/11310614359. Tests fail on the new docker image