Reputation:
After a fresh installation of FiPy on a Mac (OS X 10.10.2 and Python 2.7.6) I tried some example from the documentation, but they didn't work. So I tested FiPy using the built-in test routine (typing "fipy.test()" from the python shell) but after a long list of good doctests I got this log, with two failures: https://gist.github.com/alfrenardi/3b1ad5ff814077b18882
I tried on a fresh LTS Ubuntu installation too, but I got the same problem. There is any workaround? In my opinion this looks like a issue of the FiPy module, not of the platform.
Upvotes: 2
Views: 417
Reputation:
It seems there are some problems with the tests. I made a request to the developers with a patch. I consider this question solved.
Upvotes: 0
Reputation: 1068
The two tests that are failing
print type(numerix.array([1.0, 2.0]) * PhysicalField([1.0, 2.0])) is type(numerix.array(1))
and
C = CellVariable(mesh=mesh) * (A * B)
are edge cases that are very unlikely to interfere with most FiPy use cases. The warnings such as
Skipped 105 doctest examples because `gmsh` cannot be found on the $PATH
only matter if you plan to use some feature that those libraries provide.
As a very basic test of your installation (above and beyond the test suite), try and run the 1D diffusion problem outlined in the 1D diffusion example and check that something sensible is plotted to the screen.
Upvotes: 1