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

Does MKL have equivalent function as ARPACK/s znaupd ?

missing__zlw
Beginner
380 Views
I am wondering whether MKL has equivalent function as znaupd/zneupd.
This is part of the code I would like to use MKL to replace ARPACK:

while (ido != 99)

{

znaupd_(ido, bmat, n, which, k, tol, resid, p, v, n, iparam, ipntr, workd, workl, lworkl, rwork, info);

...

switch(ido)

{

case -1:

case 1:

zgemv_(trans, n, n, alpha, a, n, workd+2*(ipntr[0]-1), incx, beta, workd+2*(ipntr[1]-1), incy);

break;

...

}

}// while (ido ~= 99)

...

...

zneupd_(rvec, howmny, select, d, z, n, sigma, workev,

bmat, n, which, k, tol, resid, p, v, n, iparam, ipntr,

workd, workl, lworkl, rwork, info);//same as for znaupd

0 Kudos
2 Replies
TimP
Honored Contributor III
380 Views
You ought to be able to link against MKL to replace any BLAS functions called by ARPACK. If you have BLAS source code in your project, e.g. ?gemv, you would simply drop those functions and permit MKL to replace them.
0 Kudos
missing__zlw
Beginner
380 Views

This is not what I want. I prefer to link with MKL only, so I don't need to link to another library, especially as ARPACK is built with other programming language and other reasons.

This is a commonly used function. I wonder whether MKL support it.

0 Kudos
Reply