← Back to team overview

ffc team mailing list archive

Re: Status update

 

Anders Logg wrote:
On Mon, Jan 25, 2010 at 08:16:06PM +0100, Marie Rognes wrote:
Let me know if I should do anything else than adding unit tests for
RT/BDM/NED.
(Aaargh, btw).

I hope to add more a selection of elements to the regression tests
later. Then you can feel very free to help with the debugging. :-)


Hurray ;)

Is the jit compilation working?

I hope so. It worked last week but it might have broken since then.


Looks slightly suboptimal, cf below.

(Also, something goes awry in the generation of the dolfin wrapper code for mixed elements.
Try compiling the dolfin Elasticity demo for instance.)



meg@localhost ~/local/src/fenics/dolfin/demo/pde/poisson/python $ python demo.py
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
 File "demo.py", line 24, in <module>
   V = FunctionSpace(mesh, "CG", 1)
File "/home/meg/local/lib64/python2.6/site-packages/dolfin/function/functionspace.py", line 226, in __init__
   FunctionSpaceBase.__init__(self, mesh, element)
File "/home/meg/local/lib64/python2.6/site-packages/dolfin/function/functionspace.py", line 44, in __init__
   ufc_element, ufc_dofmap = jit(self._ufl_element)
File "/home/meg/local/lib64/python2.6/site-packages/dolfin/compilemodules/jit.py", line 44, in mpi_jit
   return local_jit(*args, **kwargs)
File "/home/meg/local/lib64/python2.6/site-packages/dolfin/compilemodules/jit.py", line 108, in jit
   return jit_compile(form, options)
File "/home/meg/local/lib64/python2.6/site-packages/ffc/jit.py", line 59, in jit
   return jit_element(object, options)
File "/home/meg/local/lib64/python2.6/site-packages/ffc/jit.py", line 150, in jit_element
   return extract_element_and_dofmap(module)
File "/home/meg/local/lib64/python2.6/site-packages/ffc/jit.py", line 182, in extract_element_and_dofmap
   return (getattr(module, module.__name__ + "_0_finite_element_0")(),
AttributeError: 'module' object has no attribute 'form_20a60ceb7c37f811570413455597a3abad2819b8_0_finite_element_0'





Follow ups

References