Compiling error in geom hnd.F


Click here for full thread
Forum Vet
Dear Matthias
I think that the dbl_mb(k_z) problem is a compiler warning and not the cause for the compiler crash.
Instead, there must be some sort of inconsistency between you compiler gfortran and the assembler (as or gas) installed on your computer, probably because you might have a relatively recent cpu. The compiler options causing trouble should be "-march=native -mtune=native". To verify if my theory is correct, please try to compile wit the following command

If you use a gfortran compiler prior to 4.8:
make FC=gfortran FOPTIMIZE="-O3  -mfpmath=sse -ffast-math"


For gfortran 4.8 and later
make FC=gfotran FOPTIMIZE="-O3  -mfpmath=sse -ffast-math -fno-aggressive-loop-optimizations"