Greetings,

     In my experience, segmentation faults are *usually* due to memory
errors. When a program tries to access memory, and it is not permitted to do
so, a segmentation fault occurs. There are other possibilities, however this
has been the most-common source of the problem. As for troubleshooting at
this stage, I'm hoping someone else will jump in about now...

I just wanted to shed some light on the error quickly.

Regards,
Joshua


On Wed, Dec 2, 2009 at 4:38 PM, Qingshan Chen <[email protected]> wrote:

> Hi,
> I am trying to install fipy on my desktop running debian lenny, but it
> failed at the testing stage. I have installed numpy, python-sparse (pysparse
> in debian) and python-matplotlib. Running the command python setup.py test
> gives me the following messages, with the error message at the end.
>
> ------------------------------------------------------Screen message
> starts------------------------------------------------------------------
> running test
> running egg_info
> writing FiPy.egg-info/PKG-INFO
> writing top-level names to FiPy.egg-info/top_level.txt
> writing dependency_links to FiPy.egg-info/dependency_links.txt
> writing entry points to FiPy.egg-info/entry_points.txt
> reading manifest file 'FiPy.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> writing manifest file 'FiPy.egg-info/SOURCES.txt'
> running build_ext
> import fipy.solvers.test ... ok
> import fipy.models.test ... ok
> import fipy.terms.test ... ok
> import fipy.tools.test ... ok
> import fipy.meshes.test ... ok
> import fipy.variables.test ... ok
> import fipy.viewers.test ... ok
> import fipy.boundaryConditions.test ... ok
> import fipy.models.levelSet.test ... ok
> import fipy.models.levelSet.electroChem.test ... ok
> import fipy.models.levelSet.advection.advectionTerm ... ok
> import fipy.models.levelSet.advection.higherOrderAdvectionTerm ... ok
> import fipy.models.levelSet.distanceFunction.distanceVariable ... ok
> import fipy.models.levelSet.surfactant.surfactantVariable ... ok
> import fipy.models.levelSet.distanceFunction.levelSetDiffusionVariable ..
> ok
> import fipy.models.levelSet.surfactant.adsorbingSurfactantEquation ... ok
> import fipy.models.levelSet.surfactant.convectionCoeff ... ok
> import fipy.models.levelSet.surfactant.lines ... ok
> import fipy.models.levelSet.electroChem.metalIonSourceVariable ... ok
> import fipy.models.levelSet.electroChem.metalIonDiffusionEquation ... ok
> import fipy.models.levelSet.electroChem.gapFillMesh ... ok
> Doctest:
> fipy.models.levelSet.electroChem.metalIonSourceVariable._MetalIonSourceVariable
> .. ok
> Doctest:
> fipy.models.levelSet.electroChem.metalIonDiffusionEquation.buildMetalIonDiffusionEquation
> .. ok
> Doctest: fipy.models.levelSet.electroChem.gapFillMesh.GapFillMesh ... sh:
> gmsh: command not found
> FAIL
> Doctest: fipy.models.levelSet.electroChem.gapFillMesh.TrenchMesh ... sh:
> gmsh: command not found
> FAIL
> Doctest: fipy.models.levelSet.advection.advectionTerm._AdvectionTerm ... ok
> Doctest:
> fipy.models.levelSet.advection.higherOrderAdvectionTerm._HigherOrderAdvectionTerm
> .. ok
> Doctest:
> fipy.models.levelSet.distanceFunction.distanceVariable.DistanceVariable ..
> ok
> Doctest:
> fipy.models.levelSet.distanceFunction.distanceVariable.DistanceVariable._getCellInterfaceFlag
> .. ok
> Doctest:
> fipy.models.levelSet.distanceFunction.distanceVariable.DistanceVariable._getCellInterfaceNormals
> .. ok
> Doctest:
> fipy.models.levelSet.distanceFunction.distanceVariable.DistanceVariable._getCellValueOverFaces
> .. ok
> Doctest:
> fipy.models.levelSet.distanceFunction.distanceVariable.DistanceVariable._getInterfaceFlag
> .. ok
> Doctest:
> fipy.models.levelSet.distanceFunction.distanceVariable.DistanceVariable._getInterfaceNormals
> .. ok
> Doctest:
> fipy.models.levelSet.distanceFunction.distanceVariable.DistanceVariable._getLevelSetNormals
> .. ok
> Doctest:
> fipy.models.levelSet.distanceFunction.distanceVariable.DistanceVariable.getCellInterfaceAreas
> .. ok
> Doctest:
> fipy.models.levelSet.surfactant.surfactantVariable.SurfactantVariable.__init__
> .. ok
> Doctest:
> fipy.models.levelSet.distanceFunction.levelSetDiffusionVariable._LevelSetDiffusionVariable
> .. ok
> Doctest:
> fipy.models.levelSet.surfactant.adsorbingSurfactantEquation.AdsorbingSurfactantEquation
> .. Segmentation fault
>
>
> ------------------------------------------------------Screen message
> ends------------------------------------------------------------------
>
> Any input will be appreciated!
> Qingshan
>

Reply via email to