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

Newbie questions on Pardiso : allocate and initialize right-hand-side B and solution X, and sparse formatted B ?

canal_g_
Beginner
318 Views

Hello,

Newbie to MKL/Pardiso. I was running my first program yesterday. Some quick questions on the right hand side B and solution X:
- is it correct that both B and X have to be allocated in every MPI process, and B must be set in every process also ?

- I am actually trying to get inverse of matrix, so the B is an identity matrix. But it seems that there is no way to specify B in a sparse format, in order to save memory. Is it true ?

thank you very much

canal

 

0 Kudos
2 Replies
Gennady_F_Intel
Moderator
318 Views

allocation B and X will depends on iparm[39]. For example, in  the case if iparm[39]==2,  The solution vector, A, and RHS elements are distributed between processes in same manner. See documentation for more details.

0 Kudos
lixin_c_
Beginner
318 Views

OIC, thank you 

0 Kudos
Reply