Showing results for

- Intel Community
- Software Development SDKs and Libraries
- Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
- problem in MKL sparse BLAS for complex number

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Highlighted
##

Hi,

I am problem using MKL Sparse BLAS functions for complex numbers. The strange thing is that I am able to use these functions, only for double type numbers. For example for the function mkl_?coomm, "mkl_dcoomm" works OK, but other variants e.g. "mkl_scoomm", "mkl_ccoomm" and "mkl_zcoomm" don't work and when I use these function the compiler shows "undefined identifier" for these functions. I have also overwritten MKL_Complex_16 with C++ complex data type and other functions work fine.

I have been able to use LAPACK functions for complex numbers without any problem (zgetrf+zgetrs) but not Sparse BLAS functions. I use Linux and Intel C++ compiler. Anybody can help?

Thanks in advance,

D.

Dan4

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-31-2010
02:47 PM

3 Views

problem in MKL sparse BLAS for complex number

I am problem using MKL Sparse BLAS functions for complex numbers. The strange thing is that I am able to use these functions, only for double type numbers. For example for the function mkl_?coomm, "mkl_dcoomm" works OK, but other variants e.g. "mkl_scoomm", "mkl_ccoomm" and "mkl_zcoomm" don't work and when I use these function the compiler shows "undefined identifier" for these functions. I have also overwritten MKL_Complex_16 with C++ complex

I have been able to use LAPACK functions for complex numbers without any problem (zgetrf+zgetrs) but not Sparse BLAS functions. I use Linux and Intel C++ compiler. Anybody can help?

Thanks in advance,

D.

2 Replies

Highlighted
##

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-31-2010
10:17 PM

3 Views

Hi Dan,

I 'd recommend you to look at theMKLs Sparse BLAS Level 2 and 3 examples for matrices represented in all storage schemes.

You can find these examples into

See, as an example, in cspblas_zcoo.c - look there how MKL_ZCOOMM routines has been called .

--Gennady

Highlighted
##

Hi Genady,

Yes I had seen these examples. The problem was in including the directory of MKL headers for C using "-I[path]". The function call was actually correct, but the problem was the function headers could not be found.

D.

Dan4

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-02-2010
04:38 PM

3 Views

Yes I had seen these examples. The problem was in including the directory of MKL headers for C using "-I[path]". The function call was actually correct, but the problem was the function headers could not be found.

D.

For more complete information about compiler optimizations, see our Optimization Notice.