← Back to team overview

dolfin team mailing list archive

Re: Problems after shared_ptr patch

 

On Tuesday 13 January 2009 22:20:19 Anders Logg wrote:
> It still doesn't work for me. Now it breaks earlier:
Looks like the buildbot is haveing the same problems.

Have you removed your old ufc/ installation? Also if an old version of ufc/ 
resides in your ufc/build directory it will be reinstalled if you have 
removed it earlier.

If this is does not solve the problem, maybee you can try to:

  cd ~/.instant/cache 
  ipython
  import form_126ab72e63bbe3e5a4773c65847745e2d844021b

and report the error message.

Maybe this error message could be added to the error message reported from 
instant?

Johan

> Calling FFC just-in-time (JIT) compiler, this may take some
> time... done
> Creating Python extension (compiling and linking), this may take some
> time...In instant.import_module_directly: Failed to import module
> 'form_126ab72e63bbe3e5a4773c65847745e2d844021b' from
> '/home/logg/.instant/cache/form_126ab72e63bbe3e5a4773c65847745e2d844021b'.
> Failed to import module found in cache. Modulename:
> 'form_126ab72e63bbe3e5a4773c65847745e2d844021b'; Path:
> '/home/logg/.instant/cache/form_126ab72e63bbe3e5a4773c65847745e2d844021b'.
>
> Traceback (most recent call last):
>   File "demo.py", line 25, in <module>
>     V = FunctionSpace(mesh, "CG", 1)
>   File
>  
> "/scratch/fenics/dolfin/dolfin-dev/local/lib/python2.5/site-packages/dolfin
>/functionspace.py", line 184, in __init__ FunctionSpaceBase.__init__(self,
> mesh, element)
>   File
>  
> "/scratch/fenics/dolfin/dolfin-dev/local/lib/python2.5/site-packages/dolfin
>/functionspace.py", line 46, in __init__ ufc_element, ufc_dofmap =
> jit(self._element)
>   File
>  
> "/scratch/fenics/dolfin/dolfin-dev/local/lib/python2.5/site-packages/dolfin
>/jit.py", line 43, in jit return jit_compile(form, options)
>   File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 52, in
>   jit
>     return jit_element(object, options)
>   File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 119, in
>   jit_element
>     (compiled_form, module, form_data) = jit_form(form, options)
>   File "/usr/lib/python2.5/site-packages/ffc/jit/jit.py", line 99, in
>   jit_form
>     cache_dir=options["cache_dir"])
>   File "/usr/lib/python2.5/site-packages/instant/build.py", line 438,
>   in build_module
>     module = import_and_cache_module(module_path, modulename,
>     moduleids)
>   File "/usr/lib/python2.5/site-packages/instant/cache.py", line 66,
>   in import_and_cache_module
>     instant_assert(module is not None, "Failed to import module found
>     in cache. Modulename: '%s'; Path: '%s'." % (modulename, path))
>   File "/usr/lib/python2.5/site-packages/instant/output.py", line 55,
>   in instant_assert
>     raise AssertionError(text)
> AssertionError: Failed to import module found in cache. Modulename:
> 'form_126ab72e63bbe3e5a4773c65847745e2d844021b'; Path:
> '/home/logg/.instant/cache/form_126ab72e63bbe3e5a4773c65847745e2d844021b'.




Follow ups

References