In demo/pde/poisson/python/demo.py
after an instant-clean I get the following error
python demo.py
Calling DOLFIN Function just-in-time (JIT) compiler, this may take some
time..
In instant.import_module_directly: Failed to import module
'dolfin_compile_function_1cd17ca7d4738912590e9ffa6ced0939' from
'/Users/mspieg/.instant/cache/dolfin_compile_function_1cd17ca7d4738912590e9ffa6ced0939'.
Failed to import module found in cache. Modulename:
'dolfin_compile_function_1cd17ca7d4738912590e9ffa6ced0939'; Path:
'/Users/mspieg/.instant/cache/dolfin_compile_function_1cd17ca7d4738912590e9ffa6ced0939'.
Traceback (most recent call last):
File "demo.py", line 31, in <module>
u0 = Constant(mesh, 0.0)
File
"/Users/mspieg/mspieg/hg_repositories/FEniCS/srcFEniCS/dolfin/local/lib/python2.5/site-packages/dolfin/constant.py",
line 38, in Constant
return Function(V, cppexpr)
File
"/Users/mspieg/mspieg/hg_repositories/FEniCS/srcFEniCS/dolfin/local/lib/python2.5/site-packages/dolfin/function.py",
line 574, in __new__
cpp_base = compile_function([cpparg],[defaults])[0]
File
"/Users/mspieg/mspieg/hg_repositories/FEniCS/srcFEniCS/dolfin/local/lib/python2.5/site-packages/dolfin/compile_function.py",
line 401, in compile_function
function_classes =
compile_function_code("\n\n".join(code_snippets),classnames)
File
"/Users/mspieg/mspieg/hg_repositories/FEniCS/srcFEniCS/dolfin/local/lib/python2.5/site-packages/dolfin/compile_function.py",
line 240, in compile_function_code
**instant_kwargs
File
"/Users/mspieg/mspieg/hg_repositories/FEniCS/srcFEniCS/dolfin/local/lib/python2.5/site-packages/instant/build.py",
line 486, in build_module
module = import_and_cache_module(module_path, modulename, moduleids)
File
"/Users/mspieg/mspieg/hg_repositories/FEniCS/srcFEniCS/dolfin/local/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
"/Users/mspieg/mspieg/hg_repositories/FEniCS/srcFEniCS/dolfin/local/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:
'dolfin_compile_function_1cd17ca7d4738912590e9ffa6ced0939'; Path:
'/Users/mspieg/.instant/cache/dolfin_compile_function_1cd17ca7d4738912590e9ffa6ced0939'.
the compile log for the module is attached (a bunch of warnings but it
looks like it builds).
Other info:
Mac OSX 10.4.11
all current dev repositories (dolfin, ufc, ufl, ffc, FIAT, viper, instant)
swig 1.3.36
------------------------------------------------------------------------
----------------------------------------------------
Marc Spiegelman
Lamont-Doherty Earth Observatory
Dept. of Applied Physics/Applied Math
Columbia University
http://www.ldeo.columbia.edu/~mspieg
tel: 845 704 2323 (SkypeIn)
----------------------------------------------------
------------------------------------------------------------------------
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev