Hi,

I tried the current git but there is always the same error :

>python SparseSolve.py 5pt_10x10.mtx 
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

Thanks
-- 
View this message in context: 
http://pycuda.2962900.n2.nabble.com/PyCUDA-SparseSolve-py-example-tp5969743p5981663.html
Sent from the PyCuda mailing list archive at Nabble.com.

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

Reply via email to