I'm trying to use magma_zheevd_gpu and magma_dsyevd_gpu functions but I've got the error message :
"xerbla: On entry to magma_ parameter number 11 had an illegal value (lapack library problem)"
In my code, I call these functions two times :
- The first call is used to get the workspace sizes.
- The second call is used to execute the function.
If I call zheevd with parameters JOBZ = 'N', the result still good but when I call it with JOBZ = 'V',
I get this error message. For dsyevd, I get this error with 'N' or 'V'.
UPLO is always equal to 'U'.
Have you any idea ?
In file dsyevd_gpu.cpp, I've find a discordance between the doc and the code.
the documentation said, "If JOBZ = 'V' and N > 1, LWORK must be at least 1 + 6*N + 2*N**2." but it's write in the code
"lwmin = 2 *n + n*n;" (same size as zheevd, in the same case)
What is the good size ?