

Seems basically the same as the one with -O3 -mkl. Intel MKL ERROR: Parameter 2 was incorrect on entry to ZGEHD2.Īlthough the code runs till the end and the result

I get the following error message when I run it: Ifort -O0 -heap_arrays -mkl QWrandomEig.f90 I believe the latter (with lapack) is the correct result. Respectively, which are different from each other. I'm attaching the source code as well as the input file and the output files,

Ifort -O3 -heap_arrays -llapack QWrandomEig.f90 Ifort -O3 -mkl -heap_arrays QWrandomEig.f90 I've developed a fortran code that uses zgeev as inĬall zgeev('N','N',Ndim,U,Ndim,Eig,VL,1,VR,1,WORKdummy,LWORK,RWORK,Info)Ĭall zgeev('N','N',Ndim,U,Ndim,Eig,VL,1,VR,1,WORK,LWORK,RWORK,INFO)įor some parameters (NOT always), I get different results when I linked mkl and lapack. Has anybody experienced getting different results from -mkl and -llapack?
