Passing A.indices and A.indptr with zero-based indexing to pardiso and setting iparm 35 to 1 makes the code look cleaner, but slows down the factorization phase a lot (~factor 5 for brightway2 technosphere matrix). Performance is similar to scipy for the first call to spsolve.
Converting from 0 to 1-based indexing should be handled in python.
Passing
A.indices
andA.indptr
with zero-based indexing to pardiso and setting iparm 35 to 1 makes the code look cleaner, but slows down the factorization phase a lot (~factor 5 for brightway2 technosphere matrix). Performance is similar to scipy for the first call to spsolve.Converting from 0 to 1-based indexing should be handled in python.