On 2/1/2011 9:54 AM, Andreas Kloeckner wrote:
Hi there,

On Tue, 1 Feb 2011 04:37:32 -0800 (PST), elafrit<afrit.mar...@gmail.com>  wrote:
starting...
building...
Traceback (most recent call last):
   File "SparseSolve.py", line 85, in<module>
     main_cg()
   File "SparseSolve.py", line 32, in main_cg
     spmv = PacketedSpMV(csr_mat, options.is_symmetric, csr_mat.dtype)
   File
"/usr/local/lib/python2.6/dist-packages/pycuda-2011.1-py2.6-linux-x86_64.egg/pycuda/sparse/packeted.py",
line 124, in __init__
     xadj=adj_mat.indptr, adjncy=adj_mat.indices)
   File
"/usr/local/lib/python2.6/dist-packages/PyMetis-0.91-py2.6-linux-x86_64.egg/pymetis/__init__.py",
line 49, in part_graph
     return part_graph(nparts, xadj, adjncy, vweights, eweights, recursive)
TypeError: No registered converter was able to produce a C++ rvalue of type
int from this Python object of type numpy.int32

I think I've committed a simple fix for this to git. Can you try current
git and report back?

Thanks,
Andreas


Hello Andreas,
Which of the projects do I need to "git" - PyMetis or PyCuda or ...?

Cheers,
Eric Carlson




_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to