I have a code that uses ZHBEVD. I try linking it with either a generic version of LAPACK or with MKL. The exact same code, linked with either library does not give the same workspace sizes.
With the generic version of LAPACK, I get :
With MKL, I get :
This last liwork size obviously produces a bad_alloc error and terminates the program.
Not sure if this is the right place to submit this, but here it is.