You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_assembly_cache.py -> test_assemble_rhs_with_without_constant
fail, for the same reason, on my machine (master everywhere), which is that assemble(v*dx) (.dat.data) is 0 instead of soemthing else
I can reproduce the bug only if I run the whole test suite (including /extrusion and /multigrid) -- with/without coffee doesn't make any difference -- If I run the individual tests with py.test -k, or even py.test regression/.. they work smoothly. So I suspect it's something to do with caching.
I wonder if the thing going on here is that the execution trace is "full", and when the copy par_loop that is part of the assembly caching copy-on-write setup for Dats is enqueued it is immediately executed and somehow things are out of whack and the wrong value is read.
In any case, I /really/ don't understand the dat versioning implementation, so my preferred option is to either kill the assembly cache + dat versioning, or lazy evaluation.
I'm against killing lazy for reasons I already mentioned. We could keep it disabled by default, though.
Or we could kill the assembly cache + dat versioning.
Activity
wence- commentedon Jun 3, 2015
Similar to #386 and/or #319?
FabioLuporini commentedon Jun 4, 2015
Yes, apparently disabling the assembly cache this disappears
wence- commentedon Jul 16, 2015
Turns out if both of those are fixed this /still/ occurs. Reduced test reproduction:
I don't really know what's going on still.
Default to lazy_evalution off
wence- commentedon Jul 16, 2015
I wonder if the thing going on here is that the execution trace is "full", and when the copy par_loop that is part of the assembly caching copy-on-write setup for Dats is enqueued it is immediately executed and somehow things are out of whack and the wrong value is read.
In any case, I /really/ don't understand the dat versioning implementation, so my preferred option is to either kill the assembly cache + dat versioning, or lazy evaluation.
FabioLuporini commentedon Jul 16, 2015
I'm against killing lazy for reasons I already mentioned. We could keep it disabled by default, though.
Or we could kill the assembly cache + dat versioning.
wence- commentedon Jul 27, 2015
I don't think I managed to fix this one.
kynan commentedon Jul 31, 2015
These are the very same tests also failing in a container (see #561).
Fix lazy evaluation when trace gets too long
Fix lazy evaluation when trace gets too long
Merge pull request #531 from OP2/globals_operators
DROP BEFORE MERGE: install UFL from FEniCS/ufl#532