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

MKL Internal Error

valerion
Beginner
494 Views

Hi all,

I am using MKL 10 with intel fc 8.1 on a linux system. I get an error calling almost every LAPACK routine which is not documented anywhere I looked; it reads

MKL INTERNAL ERROR : Condition 0 detected in function ??????

I experience the error only using Lapack libraries in subroutines which thenI feed to the ABAQUS FE solver; in my test programs Lapack works fine, even with the same matrixs provided by ABAQUS to its subroutines

Suggestions will be greatly appreciated.

Valerion

P.S.

I will provide further details if they can be helpfull :)

0 Kudos
2 Replies
TimP
Honored Contributor III
494 Views
Problems are likely to be in what you call "details." If you are using ifort 8.1 on account of Abaqus support recommendation, you are going out on a limb using a much newer MKL version, particularly if you are using threaded MKL. It might help if you would take care to link with the newer OpenMP run-time library which comes with MKL, which should be upward compatible from ifort 8.1. I would expect this would still put you outside the limits of Abaqus support.
If Abaqus uses MKL, you must take care to be consistent with their usage. Use ilp64 (64-bit integer arguments) if Abaqus does, lp64 otherwise (if on a 64-bit OS). Note that "linux systems" support 32- and 64-bit modes, and you will get lost if you don't pay attention to the "details" involved.
Does it help to use the sequential option of MKL 10?
0 Kudos
valerion
Beginner
494 Views

Thank you for your answer Tim18.

The problem, I belive , lied in a mismatch between abaqus MKL 9libraries (which are somewhere in abaqus directory) and my MKL 10 libraries. Downgrading to MKL 9 solved the issue. I did no more test on the subject as the issue was solved and I had to work on the main problem

Thank you again.

0 Kudos
Reply