hi when i try to run a small test programm i get the following
error

Calling FFC just-in-time (JIT) compiler, this may take some
time.
In instant.recompile: The module did not compile with command
'make VERBOSE=1', see
'/home/bjt/.instant/error/ffc_form_030172ac36a54f6832c74e6833003d3326a83aa3/compile.log'
Traceback
(most recent call last):

i delete the "/home/bjt/.instant" folder. i
execute instant-clean but nothing helps.

ffc,ufl,dolfi,instant,fiat are
all on version 1.6

the small programm is attached.

can anyone help me?
from dolfin import *
import fenics

from dolfin.cpp.mesh import UnitSquareMesh
# Create mesh and define function space
mesh = UnitSquareMesh(6, 4)
V = FunctionSpace(mesh, "Lagrange", 1)
# Define boundary conditions
u0 = Expression("1 + x[0]*x[0] + 2*x[1]*x[1]")
def u0_boundary(x, on_boundary):
    return on_boundary
bc = DirichletBC(V, u0, u0_boundary)
# Define variational problem
u = TrialFunction(V)
v = TestFunction(V)
f = Constant(-6.0)
a = inner(nabla_grad(u), nabla_grad(v))*dx
L = f*v*dx
# Compute solution
u = Function(V)
solve(a == L, u, bc)
# Plot solution and mesh
plot(u)
plot(mesh)
# Hold plot
interactive()
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to