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

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

canal_g_
Beginner
140 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
140 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.

lixin_c_
Beginner
140 Views

OIC, thank you 

Reply