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

mkl ILAENV question

Abo__Gavin
초급자
1,286 조회수

I'm using Update 11 of composerxe 2011, but the following may occur in earlier and later verisons as well.  When I run the attached test case (tilaenv.f) for intel64, ILAENV returns 128.  However, when I run the following case for ia32, ILAENV returns 640.  Is 640 the correct return value?  It just seems large compared to the return value for intel64, so I'm wondering if iILAENV should be returning 64.  If so, how can I fix it?  I would appreciate any feedback.

0 포인트
6 응답
mecej4
명예로운 기여자 III
1,286 조회수
I obtain 64 as the return value with MKL 10.3.11 Product Build 20120606 (IA32) and compiler 12.1.5.344 Build 2012-0612 .
0 포인트
TimP
명예로운 기여자 III
1,286 조회수
With the Intel64 13.0 update 1 or 12.1 update 13 packages for Windows, I get 640 from MKL ilaenv. With netlib ilaenv, I get 64, so it seems MKL doesn't work the same as lapack 3.2.1 reference source. The source code appears to date from over 30 years ago.
0 포인트
Gennady_F_Intel
중재자
1,286 조회수
the same with me - ia32 version returned - 64, but intel64 - 640. windows, MKL v.11.0 we will check what' going with this code.
0 포인트
Abo__Gavin
초급자
1,286 조회수
Ok and thanks. By the way, I'm using the linux package.
0 포인트
mecej4
명예로운 기여자 III
1,286 조회수
After thinking a bit more about this issue, I begin to ask why the returned value, being a tuning parameter (= optimum block size), should be the same between the MKL and ref. Lapack implementations. If the MKL optimum value is related to optimized assembler code, there is nothing wrong with such a discrepancy. Furthermore, there is nothing wrong with the value being different for different machine architectures (IA32 and X64).
0 포인트
Gennady_F_Intel
중재자
1,286 조회수

Hello,

This issue has been fixed in MKL v.11.0 update 2 released yesterday.

You can download this update from intel registration center and check the problem on your side.

--Gennady

0 포인트
응답