topic Hi, in IntelĀ® oneAPI Math Kernel Library & IntelĀ® Math Kernel Library
https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-sparse-right-hand-sides/m-p/1136197#M26010
<P>Hi,</P>
<P>Pardiso currently doesn't support handle of sparse rhs because solution is dense vector so in term of memory size benefit is small. So i recommend to choose 2nd variant that you suggested - to divide rhs on several chunks and solve them by one to one</P>
<P>Thanks,</P>
<P>Alex </P>Thu, 05 Oct 2017 14:43:25 GMTAlexander_K_Intel22017-10-05T14:43:25ZMKL Pardiso sparse right hand sides
https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-sparse-right-hand-sides/m-p/1136196#M26009
<P>I'm solving a sparse system of equation A*x=b</P>
<P>Matrix A is a sparse matrix for finite element. Say the size of A is 1 million by 1 million. It works fine if I have limited number of right hand sides (RHS). However, if the number of right hand sides increases. For example, we have 1000 RHS, allocate vector b requires a lot of memory. My RHS b is actually sparse vector. For each RHS, there are only several non-zero entries. I'm wondering is there any way to pass sparse RHS into pardiso?</P>
<P>Otherwise, what I can think is allocate sparse RHS before pass it to pardiso, divide the total RHS into groups and pass the RHS to pardiso by groups after convert it back to dense format.</P>
<P>Thanks for your suggestions.</P>Thu, 05 Oct 2017 09:37:51 GMThttps://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-sparse-right-hand-sides/m-p/1136196#M26009Hongzhu_C_2017-10-05T09:37:51ZHi,
https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-sparse-right-hand-sides/m-p/1136197#M26010
<P>Hi,</P>
<P>Pardiso currently doesn't support handle of sparse rhs because solution is dense vector so in term of memory size benefit is small. So i recommend to choose 2nd variant that you suggested - to divide rhs on several chunks and solve them by one to one</P>
<P>Thanks,</P>
<P>Alex </P>Thu, 05 Oct 2017 14:43:25 GMThttps://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-Pardiso-sparse-right-hand-sides/m-p/1136197#M26010Alexander_K_Intel22017-10-05T14:43:25Z