What version of pysparse are you using?

On Wed, May 12, 2010 at 2:43 PM, Zhiwen Liang <[email protected]> wrote:
> Hi all,
> I am using Fipy 2.1 to solve some partial differential equations. I got the
> following errors when I tried to "sweep", which ends right at A.find() when
> it's trying to assemble the matrix. I wonder if there is a way to fix it.
> Thank you very much for any advice!
>   File "/home/liangz/bin/voronoi.py", line 222, in callback
>     res_u = eq_divStressX.sweep(u,boundaryConditions=BC_u,solver=solver)
>   File
> "/usr/local/lib/python2.6/site-packages/FiPy-2.1-py2.6.egg/fipy/terms/term.py",
> line 151, in sweep
>     residual = solver._calcResidual(residualFn=residualFn)
>   File
> "/usr/local/lib/python2.6/site-packages/FiPy-2.1-py2.6.egg/fipy/solvers/trilinos/trilinosSolver.py",
> line 159, in _calcResidual
>     return self._calcResidualVector().Norm2()
>   File
> "/usr/local/lib/python2.6/site-packages/FiPy-2.1-py2.6.egg/fipy/solvers/trilinos/trilinosSolver.py",
> line 148, in _calcResidualVector
>     self._buildGlobalMatrix()
>   File
> "/usr/local/lib/python2.6/site-packages/FiPy-2.1-py2.6.egg/fipy/solvers/trilinos/trilinosSolver.py",
> line 93, in _buildGlobalMatrix
>     values, irow, jcol = A.find()
> AttributeError: find
>
> Regards,
> Zhiwen
>
>
>



-- 
Daniel Wheeler


Reply via email to