Undeclared variables in optimised quadrature code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
FFC |
Fix Released
|
Critical
|
Kristian B. Ølgaard |
Bug Description
The below code fails to run due to undeclared variables:
from dolfin import *
# Below line causes failure
parameters[
parameters[
mesh = UnitSquare(2, 2)
P1 = VectorFunctionS
B = VectorFunctionS
Mini = (P1 + B)
The Instant output is:
In file included from instant_
ffc_form_
ffc_form_
ffc_form_
error: command 'gcc' failed with exit status 1
Changed in ffc: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Kristian B. Ølgaard (k.b.oelgaard) |
milestone: | none → 1.1-rc |
Changed in ffc: | |
status: | Confirmed → Fix Committed |
Changed in ffc: | |
status: | Fix Committed → Fix Released |
On 28 October 2011 19:37, Launchpad Bug Tracker "form_compiler" ]["optimize" ] = True "form_compiler" ]["representati on"] = "quadrature" pace(mesh, "Lagrange", 2) pace(mesh, "Bubble", 3)
<email address hidden> wrote:
> Garth Wells (garth-wells) has assigned this bug to you for FFC:
>
> The below code fails to run due to undeclared variables:
>
> from dolfin import *
> # Below line causes failure
> parameters[
> parameters[
> mesh = UnitSquare(2, 2)
> P1 = VectorFunctionS
> B = VectorFunctionS
> Mini = (P1 + B)
I don't understand where the form is coming from (the error is in a
tabulate_tensor() function).
What does adding two function spaces mean?
> module_ c57922f6eccdd3b fa89632e935c27d 66b0c22e0b_ wrap.cxx: 3085:0: 5ca75cda2f9ef64 7eacfccf50055f2 967e691cf9. h: In member function ‘virtual void ffc_form_ 5ca75cda2f9ef64 7eacfccf50055f2 967e691cf9_ cell_integral_ 0_0::tabulate_ tensor( double* , const double* const*, const ufc::cell&) const’: 5ca75cda2f9ef64 7eacfccf50055f2 967e691cf9. h:1231: 9: error: ‘nzc0’ was not declared in this scope 5ca75cda2f9ef64 7eacfccf50055f2 967e691cf9. h:1231: 14: error: ‘j’ was not declared in this scope /bugs.launchpad .net/bugs/ 883202
> The Instant output is:
>
>
> In file included from instant_
> ffc_form_
> ffc_form_
> ffc_form_
> error: command 'gcc' failed with exit status 1
>
> ** Affects: ffc
> Importance: Critical
> Assignee: Kristian B. Ølgaard (k.b.oelgaard)
> Status: Confirmed
>
> --
> Undeclared variables in optimised quadrature code
> https:/
> You received this bug notification because you are a bug assignee.
>