- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page