← Back to team overview

dolfin team mailing list archive

[Bug 497395] [NEW] cpparg not working in new Expression class

 

Public bug reported:

JIT compilation with cpparg=code is not working since Array is not
known:

dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx: In function ‘PyObject* _wrap_Convection_eval(PyObject*, PyObject*)’:
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: ‘Array’ was not declared in this scope
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: expected primary-expression before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: expected ‘;’ before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: ‘arg2’ was not declared in this scope
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected type-specifier before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘>’ before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘(’ before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected primary-expression before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘)’ before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘;’ before ‘double’
error: command 'gcc' failed with exit status 1

** Affects: dolfin
     Importance: High
     Assignee: Johan Hake (johan-hake)
         Status: Confirmed

** Changed in: dolfin
     Assignee: (unassigned) => Johan Hake (johan-hake)

** Changed in: dolfin
       Status: New => Confirmed

** Changed in: dolfin
   Importance: Undecided => High

** Changed in: dolfin
    Milestone: None => 0.9.6

** Changed in: dolfin
    Milestone: 0.9.6 => None

-- 
cpparg not working in new Expression class
https://bugs.launchpad.net/bugs/497395
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.

Status in DOLFIN: Confirmed

Bug description:
JIT compilation with cpparg=code is not working since Array is not known:

dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx: In function ‘PyObject* _wrap_Convection_eval(PyObject*, PyObject*)’:
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: ‘Array’ was not declared in this scope
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: expected primary-expression before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2721: error: expected ‘;’ before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: ‘arg2’ was not declared in this scope
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected type-specifier before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘>’ before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘(’ before ‘Array’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected primary-expression before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘)’ before ‘double’
dolfin_compile_code_63e61793c4d05809102d0089ac836490_wrap.cxx:2758: error: expected ‘;’ before ‘double’
error: command 'gcc' failed with exit status 1





Follow ups

References