Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7263 Discussions

Can dss_solve_real store the results back to the input vector?

crispybits
Beginner
716 Views
I see PARDISO can do this using iparm(6)=0. But can I do it with dss_solve_real too but simply passing the same pointer as both RHS and solution vectors?


0 Kudos
1 Reply
Sergey_P_Intel2
Employee
716 Views
Hi kallog,

Some note: PARDISO can do this using iparm(6)=1. But in spite of the value of iparm(6) PARDISO uses vector x for calculation the solution (see description of the parameter in MKL manual).Because DSS is the interface to PARDISO,your approach by passing the same pointer as b and x vectors could produce wrong results.

With best regards,
Sergey
0 Kudos
Reply