It's just a deprecation warning from pysparse. Nothing to worry about though. I think this is because we haven't updated the pysparse calls so that they use the new pysparse interface.
Cheers On Mon, May 21, 2012 at 4:36 PM, wang yunbo <[email protected]> wrote: > Hi there, > > I need to use PCG solver in my code for fipy trunk. > > I built the solver like this: > solver = LinearPCGSolver(tolerance=1.0e-15, iterations=1000) > > and for each step: > eqch.solve(concentration, boundaryConditions=BCs, solver=solver, dt=dt) > > Here I got a deprecation warning: > > /home/wang1320/build/lib/python2.6/site-packages/FiPy-3.0_dev5154-py2.6.egg/fipy/solvers/pysparse/pysparseSolver.py:76: > DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use > PyArray_NewFromDescr. > self.iterations, P) > > What should I change to make the PCG solver work in this case? Thank you. > > > Best, > > Yunbo > > > _______________________________________________ > fipy mailing list > [email protected] > http://www.ctcms.nist.gov/fipy > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] -- Daniel Wheeler _______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
