CuSolverRf Sorting Failure

Hi,

I’m having trouble with the CUSolverRf to solve a sparse 196530 x 196530 with 2530239 nnz matrix.

I’ve not tried with a B values yet (a problem for another time) and I already have an error:

Error (sorting of the column indecis check failed): <csrColInd[1]=2> >= <csrColInd[2]=2>
Error (sorting of the column indecis check failed): <csrColInd[3]=3> >= <csrColInd[4]=3>
Error (sorting of the column indecis check failed): <csrColInd[5]=2251> >= <csrColInd[6]=2251>
Error (sorting of the column indecis check failed): <csrColInd[7]=2251> >= <csrColInd[8]=2252>
Error (sorting of the column indecis check failed): <csrColInd[9]=4501> >= <csrColInd[10]=4501>
!!! verify_pattern failed

I have attempted to Isolate the problem and to my analysis have narrowed down the error source to “qsort.c” routine which sorts the symmetrized pattern.

Would anyone please advise on what can I do to overcome the error? Thank you.

Raw data:
196530 196530 2530239
1 1 -26860.49266
2 1 11773.49315
3 1 557.7137436
2251 1 11734.57775
2252 1 2237.629363
4501 1 557.0786545

cross posting:

[url]cuda - CuSolverRf sample sorting error - Stack Overflow