2010/6/24 Daniel Wheeler <[email protected]> > > Appears to have been fixed 3 days ago: > > < > http://matforge.org/fipy/changeset/3642/trunk/fipy/solvers/pysparse/preconditioners/ssorPreconditioner.py > > > > Sorry for the noise. I did svn up before posting, but probably in the wrong directory (was working in example).
Greetings, Benny > On Thu, Jun 24, 2010 at 9:35 AM, Benny Malengier > <[email protected]> wrote: > > Hi, > > > > There is a stupid indent error in trunk at the moment: > > > > File "testbenny_viscous2.py", line 90, in <module> > > from fipy import * > > File > > "/usr/lib/python2.6/dist-packages/FiPy-2.1-py2.6.egg/fipy/__init__.py", > line > > 41, in <module> > > from solvers import * > > File > > > "/usr/lib/python2.6/dist-packages/FiPy-2.1-py2.6.egg/fipy/solvers/__init__.py", > > line 26, in <module> > > from fipy.solvers.pysparse import * > > File > > > "/usr/lib/python2.6/dist-packages/FiPy-2.1-py2.6.egg/fipy/solvers/pysparse/__init__.py", > > line 7, in <module> > > from linearPCGSolver import LinearPCGSolver > > File > > > "/usr/lib/python2.6/dist-packages/FiPy-2.1-py2.6.egg/fipy/solvers/pysparse/linearPCGSolver.py", > > line 42, in <module> > > from fipy.solvers.pysparse.preconditioners import SsorPreconditioner > > File > > > "/usr/lib/python2.6/dist-packages/FiPy-2.1-py2.6.egg/fipy/solvers/pysparse/preconditioners/__init__.py", > > line 2, in <module> > > from ssorPreconditioner import SsorPreconditioner > > File > > > "/usr/lib/python2.6/dist-packages/FiPy-2.1-py2.6.egg/fipy/solvers/pysparse/preconditioners/ssorPreconditioner.py", > > line 36 > > from fipy.solvers.pysparse.preconditioners.preconditioner import > > Preconditioner > > > > > > Does this mean the developers themself don't use pysparse a lot? > > Note that I need to pass the --pysparse flag to the script, or I get an > > import error: > > > > $ python testbenny_viscous2.py > > Traceback (most recent call last): > > File "testbenny_viscous2.py", line 90, in <module> > > from fipy import * > > File > > "/usr/lib/python2.6/dist-packages/FiPy-2.1-py2.6.egg/fipy/__init__.py", > line > > 41, in <module> > > from solvers import * > > File > > > "/usr/lib/python2.6/dist-packages/FiPy-2.1-py2.6.egg/fipy/solvers/__init__.py", > > line 40, in <module> > > raise ImportError, "Could not import any solver package. If you are > > using Trilinos, make sure you have all of the necessary Trilinos packages > > installed - Epetra, EpetraExt, AztecOO, Amesos, ML, and IFPACK." > > ImportError: Could not import any solver package. If you are using > Trilinos, > > make sure you have all of the necessary Trilinos packages installed - > > Epetra, EpetraExt, AztecOO, Amesos, ML, and IFPACK. > > > > Greetings, > > Benny Malengier > > > > > > -- > Daniel Wheeler > > >
