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

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

Hi,

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.

Best,
-- 
Mengjuei Hsieh, Molecular Biology & Biochem, Univ. of California Irvine.
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Mon Nov 02 2009 - 13:00:03 PST
Custom Search