On Aug 24, 2008, at 8:48 AM, Igor Telezhinsky wrote:

Is it possible to have the old and the new version on the same PC? How to tell the script which version to use?

Just don't run `python setup.py install` (Daniel and I don't ever install) and then set your PYTHONPATH appropriately for whichever copy FiPy that you want to run at that time.

After installation FiPy-2.0a1 didn't want to run because README.txt was not in /usr/lib/python2.5/site-packages/FiPy-2.0a1-py2.5.egg/. I copied it there manually.

This problem was just reported by another user. I've apparently never tested an installed copy of FiPy since that change was made and will need to find a better way to write the piece of code that's looking for README.txt. Thanks for reporting it.

Please be aware that by running FiPy trunk/ you are assuming a degree of risk. This is the branch of our code subject to active development, so many things may either not work properly or may be inadequately documented. We want to know about problems, but you should not expect that there won't be any problems.

Why does FiPy-2.0a1 solve the equation differently from FiPy-1.2.1?

FiPy 2 seems to be pickier about the "old" value than FiPy 1.2 is. I'm not sure why. If you change this:

    phi = CellVariable(mesh=mesh, name = "variable", value=Jin(x))

to this:

phi = CellVariable(mesh=mesh, name = "variable", value=Jin(x), hasOld=True)

then things seem to work properly.



Reply via email to