- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all
I use the function as follows:
call mkl_dcsradd(trans,request,sort,m,n,a,ja,ia,beta,b,jb,ib,c,jc,ic,nzmax,info)
the length of arrays a and b are 3569442 and 1156736,respectively.
m=n=250080
when I choose nzmax=9452356, I find that my sample code cannot run due to this error: program Exception - access violation.
at case of nzmax=1500000 ,the program could run ,but the result is not correct
I want to know whether it appears Memory overflow due to the value of the nzmax .
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am transferring this issue to the MKL forums. Someone on that forum will help you shortly
Annalee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The information that you have given is incomplete and insufficient. We need to know the declarations of all the arguments passed to mkl_dcsradd, the values of all the scalar arguments, and a statement as to how the array arguments were assigned values. We also need to know the OS, compiler and MKL versions.
Are you aware that you can make a dummy sizing call to the routine, with request=2, and find the size of the result matrix, i.e., the lengths of arrays c and jc? You can then allocate c and jc to this size and make another call to mkl_dcsradd, this time to actually compute the matrix sum in CSR format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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