Community
cancel
Showing results for 
Search instead for 
Did you mean: 
missing__zlw
Beginner
58 Views

Does MKL have equivalent function as ARPACK/s znaupd ?

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
Black Belt
58 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.
missing__zlw
Beginner
58 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.

Reply