On 2015-01-15 17:55, Maarten wrote:
Thank you for helping me further. When trying to build ffc from your repository, this is what I get:


    ===== testing package: ffc-1.4.0-py27_9 =====
    import: u'ffc'
    Traceback (most recent call last):
      File
    "<INSTALL_PATH>/anaconda/conda-bld/test-tmp_dir/run_test.py", line
    25, in <module>
        import ffc
      File
    
"<INSTALL_PATH>/anaconda/envs/_test/lib/python2.7/site-packages/ffc/__init__.py",
    line 18, in <module>
        from ffc.compiler import compile_form, compile_element
      File
    
"<INSTALL_PATH>/anaconda/envs/_test/lib/python2.7/site-packages/ffc/compiler.py",
    line 127, in <module>
        from ffc.analysis import analyze_forms, analyze_elements
      File
    
"<INSTALL_PATH>/anaconda/envs/_test/lib/python2.7/site-packages/ffc/analysis.py",
    line 42, in <module>
        from ffc.quadratureelement import default_quadrature_degree
      File
    
"<INSTALL_PATH>/anaconda/envs/_test/lib/python2.7/site-packages/ffc/quadratureelement.py",
    line 138, in <module>
        from ffc.fiatinterface import reference_cell
      File
    
"<INSTALL_PATH>/anaconda/envs/_test/lib/python2.7/site-packages/ffc/fiatinterface.py",
    line 43, in <module>
        from ufl.geometry import cellname2dim
    ImportError: cannot import name cellname2dim
    TESTS FAILED: ffc-1.4.0-py27_9


Interestingly this error rings me a bell, I have probably encountered it these days... Perhaps there is a mismatch with the UFL version. Maybe you can check the contents of /anaconda/envs/_test/lib/python2.7/site-packages/ufl/geometry.py. Perhaps try to rebuild ufl?

In the meanwhile I am polishing the recipes and making them suitable for CentOS 6. You are stuck with FEniCS 1.4.0 because 1.5.0 requires new C++ features not available in gcc-c++.

http://github.com/juanlu001/fenics-recipes

Juan Luis
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to