Greetings, Qingshan.

Here are a few suggestions.

1) It might be helpful to tell us a little background information:
version of FiPy, version of python, CPU type -- that kind of thing.

2) Are there other tests that fail?  to find out, you might try
skipping the AdsorbingSurfactantEquation test and continuing
to run the suite.  you can do this by locating the file
".../fipy/models/levelSet/surfactant/__init__.py" and then
commenting out the line

  from adsorbingSurfactantEquation import AdsorbingSurfactantEquation

3) You could also try zeroing in on what's failing by running the
test "by-hand"

python ...models/levelSet/surfactant/adsorbingSurfactantEquation.py

You can go in to the source and put some probing "print" statements
of your own, like

       >>> print "SOMETHING"

and try to locate the instruction causing the seg fault.

[I haven't been able to get the "copy_script" feature to work on this,
not sure what I'm doing wrong.  No version of
    python setup.py copy script --From x.py --To y.py
that I try will get me a clean copy of adsorbingSurfactantEquation.py.
That would make it a bit easier to work directly with the code... oh well.]

Folks with more experience installing FiPy will likely have some
more pertinent suggestions.

Regards,
+jtg+

On Wed, Dec 2, 2009 at 1: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.
..

> fipy.models.levelSet.distanceFunction.levelSetDiffusionVariable._LevelSetDiffusionVariable
> .. ok
> Doctest:
> fipy.models.levelSet.surfactant.adsorbingSurfactantEquation.AdsorbingSurfactantEquation
> .. Segmentation fault
>

Reply via email to