Re: [AMBER-Developers] RHEL 4's gcc does not like -mtune=generic

From: MengJuei Hsieh <>
Date: Mon, 02 Nov 2009 12:46:04 -0800


Here I have a slightly off-topic remark on the gfortran flags: If you see a
warning on some certain version of gfortran (that happened to me on gcc
version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC)), like this:

    gfortran -c -O3 -mtune=generic -mfpmath=sse -ffree-form -o foo.o _foo.f
    f951: warning: SSE instruction set disabled, using 387 arithmetics

Just add a -msse before the -mfpmath=sse and the warnings will go away.

Mengjuei Hsieh, Molecular Biology & Biochem, Univ. of California Irvine.
AMBER-Developers mailing list
Received on Mon Nov 02 2009 - 13:00:03 PST
Custom Search