Greetings!
When I compile my program with Lapack routines coming from the Intel MKL and with Intel compiler, it gets a bit faster then Matlab.
However, compiling directly from sources (all the necessary Lapack routines are copied to the project folder) with gfortran -O3 *.f90 or
ifort -O3 *.f90
gives me about 6 times slower program!!
Why?
Are there any better ways of compiling? Any additional flags?
I tried following flags with small speed-up:
-march=core2, -ftree-vectorize, -fmath-fast ...
Please ask for additional info if needed!
Thank You!
When I compile my program with Lapack routines coming from the Intel MKL and with Intel compiler, it gets a bit faster then Matlab.
However, compiling directly from sources (all the necessary Lapack routines are copied to the project folder) with gfortran -O3 *.f90 or
ifort -O3 *.f90
gives me about 6 times slower program!!
Why?
Are there any better ways of compiling? Any additional flags?
I tried following flags with small speed-up:
-march=core2, -ftree-vectorize, -fmath-fast ...
Please ask for additional info if needed!
Thank You!