- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
コピーされたリンク
2 返答(返信)
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.