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

A exception is thorwn when using Direct Sparse Solver (DSS) Interface Routines

wzc
Beginner
1,581 Views

Hello everyone,

I am running the example code of  "dss_unsym.c"  from the Intel® oneAPI Math Kernel Library installation directory. However,  there is a exception thorwn (0xC06D007F: Procedure not found (Parameter: 0x0000005F23CFC890) when runing the routine "dss_factor_real".

How could I solve this problem?

Thanks.

0 Kudos
1 Solution
Gennady_F_Intel
Moderator
1,485 Views

if you links again mkl_intel_ilp64.lib then you need to use /DMKL_ILP64  compiler option. 

or if you links against mkl_intel_lp64.lib - then you don't need to add some additional compilers' mode.

View solution in original post

0 Kudos
8 Replies
Gennady_F_Intel
Moderator
1,512 Views

How did you link and run this example? check how properly links again mkl follow this link. Please set all needed environment variables to the system paths in advance of running this case. 

--Gennady

0 Kudos
wzc
Beginner
1,504 Views

Thank you very much for your reply.

I think that I have  properly set all needed environment variables (The additional dependencies include: mkl_intel_ilp64.lib, mkl_intel_thread.lib, mkl_core.lib and libiomp5md.lib), because I can properly run other examples, such as those related to LAPACK Linear Equation Computational Routines.

0 Kudos
Gennady_F_Intel
Moderator
1,486 Views

if you links again mkl_intel_ilp64.lib then you need to use /DMKL_ILP64  compiler option. 

or if you links against mkl_intel_lp64.lib - then you don't need to add some additional compilers' mode.

0 Kudos
wzc
Beginner
1,382 Views
0 Kudos
wzc
Beginner
1,208 Views

Dear Gennady,

 

Thank you for your response. I've utilized the /DMKL_ILP64 -I"%MKLROOT%\include" compiler option in Visual Studio 2022, but

unfortunately, the issue persists.

 

How can I resolve this problem?

 

Thanks!

0 Kudos
Gennady_F_Intel
Moderator
1,183 Views


I made a trivial experiments to show you how you could try to build and run this case with the following conditions:


#Compiler used

icx --version

Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.0.0 Build 20231017

Copyright (C) 1985-2023 Intel Corporation. All rights reserved.


Intel(R) oneAPI DPC++/C++ Compiler 2024.0.0 (2024.0.0.20231017)

Target: x86_64-pc-windows-msvc

Thread model: posix

InstalledDir: C:\Apps\Intel\oneAPI\compiler\2024.0\bin\compiler

Configuration file: C:\Apps\Intel\oneAPI\compiler\2024.0\bin\compiler\..\icx.cfg




# Compilation

icx /Qmkl dss_unsym.c

Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.0.0 Build 20231017

Copyright (C) 1985-2023 Intel Corporation. All rights reserved.


# running the code

dss_unsym.exe


Solving NON_TRANSPOSE system...

Print solution array: -0 1 2 3 4


Solving TRANSPOSE system...

Print solution array: -0 1 2 3 4


Solving CONJUGATE_TRANSPOSE system...

Print solution array: -0 1 2 3 4


Example successfully PASSED!




0 Kudos
Gennady_F_Intel
Moderator
1,183 Views


I made a trivial experiments to show you how you could try to build and run this case with the following conditions:


#Compiler used

icx --version

Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.0.0 Build 20231017

Copyright (C) 1985-2023 Intel Corporation. All rights reserved.


Intel(R) oneAPI DPC++/C++ Compiler 2024.0.0 (2024.0.0.20231017)

Target: x86_64-pc-windows-msvc

Thread model: posix

InstalledDir: C:\Apps\Intel\oneAPI\compiler\2024.0\bin\compiler

Configuration file: C:\Apps\Intel\oneAPI\compiler\2024.0\bin\compiler\..\icx.cfg




# Compilation

icx /Qmkl dss_unsym.c

Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.0.0 Build 20231017

Copyright (C) 1985-2023 Intel Corporation. All rights reserved.


# running the code

dss_unsym.exe


Solving NON_TRANSPOSE system...

Print solution array: -0 1 2 3 4


Solving TRANSPOSE system...

Print solution array: -0 1 2 3 4


Solving CONJUGATE_TRANSPOSE system...

Print solution array: -0 1 2 3 4


Example successfully PASSED!





0 Kudos
wzc
Beginner
1,140 Views

Dear Gennady,

 

I have downloaded the latest version of Intel oneMKL. Everything is now working correctly.

 

Thank you for your assistance!

 

Best regards,

 

wzc

0 Kudos
Reply