I have an issue using LAPACKE_mkl_cgetrfnpi. The function is returning me a nonzero value. I am getting a return value (info) of -4. According to documentation, I understand this means that the parameter 4 does not have a legal value. I am using 1581 for m and n and 1580 for nfact (4th parameter). It looks to me this are correct values since I have nfact<=n and nfact<=m. Do I miss something?
Thanks for helping.
We don't need to know the whole program, but we need to see how you call this routine and the input date you pass to this routine. And also if you use some specific libraries and / or compiler option.
The reproducer could help us to check and investigate the problem on our end faster.
and another cause we typically asked to prepare the reproducer - in 50% of all cases when the user starts to prepare the reproducer, the user identifies the problem on his side.
Marcsolal: A common error in situations of this type is that integer arguments have byte-sizes (4 or 8 )
It should not be the case. I am using 64 bits int in my code and when I call this function. I am using many MKL functions in this program and they are working.
I will try to write a smaller version of my code on Monday. Hopefully, I will get the same error in the small code.
I still need to reproduce the error in a smaller program. I did not succeed on my first attempt. The code was working fine. So I am not sure what was wrong. I think it was not an issue with the integers but it has something to do with the matrix choice.