Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7267 ディスカッション

Does MKL have equivalent function as ARPACK/s znaupd ?

missing__zlw
ビギナー
1,155件の閲覧回数
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 件の賞賛
2 返答(返信)
TimP
名誉コントリビューター III
1,155件の閲覧回数
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.
missing__zlw
ビギナー
1,155件の閲覧回数

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.

返信