On Oct 9, 2008, at 2:54 PM, Angus Hendrick wrote:

Next I managed to obtain a working version of fipy 1.2.1 rev 2744 using numpy 1.2.0 by doing the following:

1.  svn update (to get from whereever I was to rev 2744)

I have a feeling this didn't do what was expected. What do you get from `svn info`?

2.  editing line 11 in /fipy/tools/numerix.py from:

Line 11?

numerix.py at r2744 is here:

https://www.matforge.org/fipy/browser/branches/version-1_2/fipy/tools/numerix.py?rev=2744

The import of MA is handled at lines 85 through 91. There is no reason to change anything; it attempts to load the old way and when that fails (as for NumPy 1.2) it then loads the new way. It also sets 'numpy_version', which alters the behavior of take() and put(). I don't know if that's the cause of your seg fault, but it could be.


It then kicks out. End of test. Of course its possible that the newer version of numpy is to blame, but a Doctest seems like a really weird place for numpy to break things. For now I'm going to ignore this, but I thought you'd be interested.

Well, the doctest is doing computations, so if numpy is severely broken in some way, then the test will fail catastrophically.


Finally, I've obtained pytrilinos, and as I remembered, it is a daunting beast, with bajillions of tools. Can you give me any tips for quickly getting pytrilinos running with fipy? I realize that this is the fipy mailing list and not the trilinos users group, but I thought I'd have a better chance of getting a simple answer here since I imagine pytrilinos to have many, many, knobs to twist and the right ones depend on what you're trying to do.

If you have trunk/ (which you'll need for using Trilinos with FiPy), then we've got some instructions in INSTALLATION.txt. There's also some collected wisdom from our summer students at http://matforge.org/fipy/wiki/SURF2007 All of that seems geared toward Trilinos 7.0.9. Trilinos 9 was just released and I don't think we have any experience with trying to build that, nor do I know how things may differ for Trilinos 8.

Reply via email to