Page 1 of 1

help needed in using cgees

PostPosted: Fri Aug 31, 2012 9:43 am
by kgergo
Hi!

I would like to calculate the eigenvalues of a complex hermitian matrix, but I don't know how to use the cgees function, everytime I use it, it gives a segmentation fault. I'm a beginner in using lapack, so could anyone write me a code, which i can include to my c program, so it would work?

Re: help needed in using cgees

PostPosted: Fri Aug 31, 2012 11:34 am
by admin
You can take a look here: http://software.intel.com/sites/product ... /index.htm

INTEL and NETLIB LAPACKE differs a little.
You have to change #include "mkl_lapacke.h" by #include "lapacke.h"
and
MKL_INT by lapack_int

Julie