I am using the function LAPACKE_dposv in my c++code and when checking the return value it is not 0 in debug but it is in release.
Shall i be worried ?
Is there some obvious check i should do in my matrices
I am using the following code structure with my own matrix:
Thanks and best regards
Thanks for reaching out to us.
>>I am using the function LAPACKE_dposv in my c++code and when checking the return value it is not 0 in debug but it is in release.
Could you please share your project file with the sample reproducer code and steps to reproduce (if any) so that we could check it from our end?
Meanwhile, you can check for the details of the return value of the function here at this link
This function returns a value info.
If info = 0, the execution is successful.
If info = -i, parameter i had an illegal value.
If info = i, the leading minor of order i (and therefore the matrix A itself) is not positive definite, so the factorization could not be completed, and the solution has not been computed.
>>I am using the following code structure with my own matrix:
Could you please confirm if you have observed the same issue with the example code provided in the link?
A quick check of the example in the link from my end shows that the LAPACKE_dpsov function call returns 0 in Debug mode as well.
Additionally, please let us know the MKL version being used in this case and your OS environment details.
As we haven't heard back from you, could you please provide us with an update regarding the issue? Please get back to us with the above-mentioned details if the issue still persists.
>>i have checked and the issue was with my code...This thread can be deleted.
Thanks for the confirmation.
Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.