← Back to team overview

dolfin team mailing list archive

Re: Problems after shared_ptr patch

 

It still doesn't work for me. Now it breaks earlier:

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'.

-- 
Anders

Attachment: signature.asc
Description: Digital signature


Follow ups

References