Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Size of tmp array for fgmres solver

simon932
Beginner
127 Views

Greetings,

From the Intel MKL reference manual for version 11.3, in the FGMRES interface description on p.1602, it is said:

tmp double array of size ((2*ipar[14] + 1)*n + ipar[14]*(ipar[14] + 9)/2 + 1)) used to supply the double precision temporary space for the RCI FGMRES computations

then on top of p.1603, there is a note saying

You can define this array in the code as double tmp[(2*ipar[14] + 1)*n + ipar[14]*(ipar[14] + 9)/2 + 1)] if you run only non-preconditioned FGMRES iterations.

I was hoping to save a bit of memory space as I'm using the non-preconditioned version of fgmres, however in both cases the specified size for the tmp array seems to be the same, is this a mistake?

Thank you,

Simon

0 Kudos
0 Replies
Reply