[MacPorts] #45157: Dolfin import error

MacPorts noreply at macports.org
Mon Sep 29 01:43:04 PDT 2014


#45157: Dolfin import error
------------------------+--------------------
  Reporter:  mwathen@…  |      Owner:  sean@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.1
Resolution:             |   Keywords:
      Port:  dolfin     |
------------------------+--------------------

Comment (by krishnamurthy.vijaykumar@…):

 I can confirm this. Same problem.

 Today I tried to reinstall dolfin and and it fails at the configuring
 stage with the same error. Relevant portion of the main.log file


 {{{
 :info:configure -- Generating SWIG interface.
 :info:configure -- --------------------------
 :info:configure --
 :info:configure -- Generating form files in demo, test, bench and dolfin
 directories. May take some time...
 :info:configure --
 ----------------------------------------------------------------------------------------
 :info:configure CMake Error at CMakeLists.txt:825 (message):
 :info:configure   Generation of form files failed:
 :info:configure
 :info:configure   Traceback (most recent call last):
 :info:configure
 :info:configure     File "/opt/local/bin/ffc", line 45, in <module>
 :info:configure       from ffc.log import info
 :info:configure     File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/ffc/__init__.py", line 18, in <module>
 :info:configure       from ffc.compiler import compile_form,
 compile_element
 :info:configure     File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/ffc/compiler.py", line 127, in <module>
 :info:configure       from ffc.analysis import analyze_forms,
 analyze_elements
 :info:configure     File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/ffc/analysis.py", line 42, in <module>
 :info:configure       from ffc.quadratureelement import
 default_quadrature_degree
 :info:configure     File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/ffc/quadratureelement.py", line 27, in <module>
 :info:configure       from FIAT.functional import PointEvaluation
 :info:configure     File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/FIAT/__init__.py", line 11, in <module>
 :info:configure       from FIAT.finite_element import FiniteElement
 :info:configure     File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/FIAT/finite_element.py", line 19, in <module>
 :info:configure       from .polynomial_set import PolynomialSet
 :info:configure     File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/FIAT/polynomial_set.py", line 29, in <module>
 :info:configure       from . import expansions
 :info:configure     File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
 /site-packages/FIAT/expansions.py", line 34, in <module>
 :info:configure       """)
 :info:configure
 :info:configure   Exception: Unable to import the Python Scientific module
 required by FIAT.
 :info:configure
 :info:configure   Consider installing the package python-scientific.
 :info:configure
 :info:configure
 :info:configure
 :info:configure   Traceback (most recent call last):
 :info:configure
 :info:configure     File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_dolfin/dolfin/work/dolfin-1.4.0/cmake/scripts
 /generate-form-files", line 80, in <module>
 :info:configure       raise RuntimeError, "Unable to compile form: %s/%s"
 % (root, f)
 :info:configure
 :info:configure   RuntimeError: Unable to compile form:
 dolfin/ale/Poisson1D.ufl
 :info:configure
 :info:configure
 :info:configure
 :info:configure -- Configuring incomplete, errors occurred!
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45157#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list