Strange JIT caching behaviour

Bug #971557 reported by Harish Narayanan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SyFi
New
Undecided
Unassigned

Bug Description

When I run the following script,

from dolfin import *
parameters["form_compiler"]["name"] = "sfc"

mesh = UnitCube(3, 3, 3)

V = VectorFunctionSpace(mesh, "Lagrange", 1)
Q = FunctionSpace(mesh, "Lagrange", 1)

u = Function(V)

for j in range(1, 10):
    term = project(grad(u)[0][1], Q)

I find that sfc attempts to JIT-compile the project term seemingly an arbitrary number of times, and complains 'Possibly overwriting files in existing module directory foobar/sfc_jithash'. This doesn't happen when using ffc as the form compiler.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.