Closed ZenanH closed 5 years ago
Please see the note in the README:
After using functionality in this section, calls should no longer be made to the
solve
functions but instead directly to the functionpardiso(ps, X, A, B)
This will ensure that the properties you set will not be overwritten.
I learned the following in the
README
file:CSC
, while that ofMKL Pardiso
isCSR
.MKL Pardiso
, I can use IPARM to set it up.So I think I should set the
iparm [1]
to≠0
first.Then I should setiparm [12]
to=2
,that means transpose my sparse matrix (CSC
- >CSR
)My code as follows:
After running the code, I type in the repl:
Here seems to be a reasonable answer.But when I change the code to
set_iparm!(ps, 12, 2)
in [line 6],get_iparm (ps, 12)
still is2
,That is to say, this line of code doesn't work. Why?