Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7957 Discussions

VS2008 Debug Error related to MKL - Entry Point Not Found

Allison_G_
Beginner
454 Views
Hello,

I have the Intel 11.1.035 compiler integrated in VS2008 Pro. I use Intel C++ Compiler Pro -> Select Build Components by right-clicking my project name in Solution Explorer to select TBB and MKL libraries to use with my release and debug configurations. I select Sequential in the MKL option (application is already parallelized with TBB) for both release and debug configurations. The Release build works just fine but debugging generates an "Entry Point Not Found" error.

The Select Build Components causes these libraries to be linked for the debug configuration (MKL linker tool will suggest the same):
mkl_solver.lib mkl_intel_c_dll.lib mkl_sequential_dll.lib mkl_core_dll.lib

The error is titled "Entry Point Not Found" and the message is: the procedure entry point mkl_lapack_dgesv could not be located in the dynamic link library mkl_sequential.dll

The build output is:
'model6_1.exe': Loaded 'C:\Documents and Settings\GehrkeA\My Documents\Visual Studio 2008\Projects\model6_1\Debug\model6_1.exe', Symbols loaded.
'model6_1.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'model6_1.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'model6_1.exe': Loaded 'C:\Program Files\Intel\MKL\10.0.5.025\ia32\bin\mkl_sequential.dll', Binary was not built with debug information.
'model6_1.exe': Loaded 'C:\WINDOWS\system32\msvcr71.dll'
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[216] model6_1.exe: Native' has exited with code -1073741511 (0xc0000139).

The three Intel parallel Debugger Extensions are selected under Debug-> Exceptions->Win32 Exceptions; but have tested with them selected and not and doesn't seem to make a difference to my debug error.

Please advise how I can correct this error in order to debug my application.

Thanks, Allison
0 Kudos
2 Replies
JenniferJ
Moderator
454 Views
Quoting - asgehrke
I have the Intel 11.1.035 compiler integrated in VS2008 Pro.

The build output is:
'model6_1.exe': Loaded 'C:Documents and SettingsGehrkeAMy DocumentsVisual Studio 2008Projectsmodel6_1Debugmodel6_1.exe', Symbols loaded.
'model6_1.exe': Loaded 'C:WINDOWSsystem32ntdll.dll'
'model6_1.exe': Loaded 'C:WINDOWSsystem32kernel32.dll'
'model6_1.exe': Loaded 'C:Program FilesIntelMKL10.0.5.025ia32binmkl_sequential.dll', Binary was not built with debug information.
'model6_1.exe': Loaded 'C:WINDOWSsystem32msvcr71.dll'
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[216] model6_1.exe: Native' has exited with code -1073741511 (0xc0000139).
At build time, the IDE integration selected the correct libraries from the 11.1.035 directory.

At run time/debug, the "path" seems having the 10.0.5.025 in front of 11.1.035. Please do this:
1. close VS
2. update the system path to include 11.1.035's mkl bin directory
3. open VS again to debug.

Jennifer
0 Kudos
Allison_G_
Beginner
454 Views
At build time, the IDE integration selected the correct libraries from the 11.1.035 directory.

At run time/debug, the "path" seems having the 10.0.5.025 in front of 11.1.035. Please do this:
1. close VS
2. update the system path to include 11.1.035's mkl bin directory
3. open VS again to debug.

Jennifer

Thank you. That fixed it. Note: the 11.1.035's mkl bin directory was in my system Path but mkl 10.0.5.025 was also, so I deleted it and that worked.

Allison
0 Kudos
Reply