Jit failure for non-linear Poission's equation

18 days ago by
Hello All,

I am trying to solve the FEniCS tutorial for the non-linear Poission's equation but it encounters the jit failure. I tried to figure it out but no luck. Being new to FEniCs as well as python coding any information/hint will be very much helpful for me.

Thank you very much for your valuable help.

Code: File attached: Tutorial_5.py (942 Bytes)

Error details:

*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***     fenics-support@googlegroups.com
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
*** -------------------------------------------------------------------------
*** Error:   Unable to perform just-in-time compilation of form.
*** Reason:  ffc.jit failed with message:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 142, in jit
    result = ffc.jit(ufl_object, parameters=p)
  File "/usr/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 218, in jit
    module = jit_build(ufl_object, module_name, parameters)
  File "/usr/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 134, in jit_build
  File "/usr/lib/python2.7/dist-packages/dijitso/jit.py", line 167, in jit
    header, source, dependencies = generate(jitable, name, signature, params["generator"])
  File "/usr/lib/python2.7/dist-packages/ffc/jitcompiler.py", line 67, in jit_generate
    prefix=module_name, parameters=parameters, jit=True)
  File "/usr/lib/python2.7/dist-packages/ffc/compiler.py", line 143, in compile_form
    prefix, parameters, jit)
  File "/usr/lib/python2.7/dist-packages/ffc/compiler.py", line 190, in compile_ufl_objects
    ir = compute_ir(analysis, prefix, parameters, jit)
  File "/usr/lib/python2.7/dist-packages/ffc/representation.py", line 186, in compute_ir
    for (form_id, fd) in enumerate(form_datas)]
  File "/usr/lib/python2.7/dist-packages/ffc/representation.py", line 463, in _compute_integral_ir
  File "/usr/lib/python2.7/dist-packages/ffc/uflacs/uflacsrepresentation.py", line 43, in compute_integral_ir
    ir = initialize_integral_ir("uflacs", itg_data, form_data, form_id)
  File "/usr/lib/python2.7/dist-packages/ffc/representationutils.py", line 198, in initialize_integral_ir
    "needs_oriented": needs_oriented_jacobian(form_data),
  File "/usr/lib/python2.7/dist-packages/ffc/representationutils.py", line 151, in needs_oriented_jacobian
    element = create_element(ufl_element)
  File "/usr/lib/python2.7/dist-packages/ffc/fiatinterface.py", line 99, in create_element
    element = _create_fiat_element(ufl_element)
  File "/usr/lib/python2.7/dist-packages/ffc/fiatinterface.py", line 196, in _create_fiat_element
    element = ElementClass(fiat_cell, degree)
  File "/usr/lib/python2.7/dist-packages/FIAT/lagrange.py", line 56, in __init__
    poly_set = polynomial_set.ONPolynomialSet(ref_el, degree)
  File "/usr/lib/python2.7/dist-packages/FIAT/polynomial_set.py", line 176, in __init__
    dv = expansion_set.tabulate_derivatives(degree, pts)
  File "/usr/lib/python2.7/dist-packages/FIAT/expansions.py", line 262, in tabulate_derivatives
    data = _tabulate_dpts(self._tabulate, 2, n, order, numpy.array(pts))
  File "/usr/lib/python2.7/dist-packages/FIAT/expansions.py", line 87, in _tabulate_dpts
    symbolic_tab = tabulator(n, X)
  File "/usr/lib/python2.7/dist-packages/FIAT/expansions.py", line 213, in _tabulate
    for i in range(m1)]
  File "/usr/lib/python2.7/dist-packages/FIAT/expansions.py", line 212, in <genexpr>
    ref_pts = [sum(self.A[i][j] * pts[j] for j in range(m2)) + self.b[i]
  File "/home/aby/.local/lib/python2.7/site-packages/sympy/core/decorators.py", line 75, in __sympifyit_wrapper
    return func(a, sympify(b, strict=True))
  File "/home/aby/.local/lib/python2.7/site-packages/sympy/core/sympify.py", line 90, in sympify
    from containers import Tuple
ImportError: No module named containers
*** Where:   This error was encountered inside jit.py.
*** Process: 0
*** DOLFIN version: 2017.2.0
*** Git changeset:  unknown
*** -------------------------------------------------------------------------​

Community: FEniCS Project

1 Answer

18 days ago by
Try Anaconda instead of using docker.
Thanks a lot for your reply.

Actually, I am using FEniCS 2017.2.0 installed on Ubuntu 18.04
written 18 days ago by Aby  
Please login to add an answer/comment or follow this question.

Similar posts:
Search »