Dear All,
This note is in regard to Dr. Guyer's answer to Igor, concerning
FiPy and Trilinos:
> As you surmised, I think your Trilinos is not compiled with MPI.
> Either that, or you are picking up an older version of PyTrilinos.
> Is there anything in your PYTHONPATH, LD_LIBRARY_PATH
> (or DYLD_LIBRARY_PATH on Macs) that points to Trilinos 9,
> for instance?
First of all, many thanks to Dr. Guyer for the very clear diagnostics
for checking on the status of FiPy/Trilinos. I suspect that the
effort required of the development team to get Trilinos to work
with some transparency from within FiPy was likely substantial.
The simple steps he outlined, helping us users to figure out what's
wrong on our side, are most welcome.
I am unsure, however, about the implications of this reference to
"Trilinos 9" -- is 9 Good or Bad? (Probably should be obvious to
me, but isn't. I'll guess "Bad".) Following Dr. Guyer's checkpoints
in his e-mail to Igor...
o first test:
python -c "from fipy import *; print DefaultAsymmetricSolver" --Trilinos
does result in
fipy.solvers.trilinos.linearGMRESSolver.LinearGMRESSolver
as expected
o as outlined in another test, I *do see* that both processors in
the mesh1D example run *all 50* steps (Not Good)
o running nm against "libpytrilinos.so" produces *no* references to
"MPI" (sigh, also Not Good). however, I am puzzled because all
the other trilinos libs
(e.g., .../trilinos/lib/python2.6/site-packages/PyTrilinos/_Teuchos.so)
*do* have MPI references
o and yes, I do have mpi4py and did compile trilinos with MPI support.
o but I also have Trilinos 9.0.3 -- so I'm going to guess that this is
also Not Good?
Our versions OpenMPI, mpi4py, and Trilinos were all current when
installed last September (in anticipation of using them with FiPy
2.0.2), but we have not updated them since going to FiPy 2.1 last
week. I did look in the FiPy manual but did not notice if there are
recommended versions for these 3 packages. Compiling and
installing these beasts (especially Trilinos) is sufficiently fraught
with peril and error that I would be very happy if l could avoid doing
so. But if I must...
So, before I start down the re-installation path, I would feel better if
I could see a list of releases for these required components that are
compatible with parallel procesing support for FiPy 2.1. If someone
could please direct me to or provide such a list, I would be very grateful.
Thanks and regards,
+jtg+