/[MITgcm]/MITgcm/tools/build_options/linux_ia32_gfortran
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_ia32_gfortran

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by edhill, Fri Jun 17 22:38:18 2005 UTC revision 1.3 by edhill, Sun Oct 16 06:35:31 2005 UTC
# Line 22  NOOPTFLAGS='-O0' Line 22  NOOPTFLAGS='-O0'
22    
23  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
24      #  No need for IEEE-754      #  No need for IEEE-754
25      FFLAGS='-Wimplicit -Wunused -Wuninitialized'      #  "warning: -Wuninitialized is not supported without -O"
26        FFLAGS='-Wunused'
27      FOPTIM='-O3 -malign-double -funroll-loops'      FOPTIM='-O3 -malign-double -funroll-loops'
28  else  else
29      #  Try to follow IEEE-754      #  Try to follow IEEE-754
30      has_sse2=f      has_sse2=f
31      grep flags /proc/cpuinfo | grep sse2 > /dev/null 2>&1  &&  has_sse2=t      grep flags /proc/cpuinfo | grep sse2 > /dev/null 2>&1  &&  has_sse2=t
32      if test "x$has_sse2" = xt ; then      if test "x$has_sse2" = xt ; then
33          FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2'          FFLAGS='-Wunused -mfpmath=sse -msse -msse2'
34      else      else
35          FFLAGS='-Wimplicit -Wunused -ffloat-store'          FFLAGS='-Wunused -ffloat-store'
36      fi      fi
37      #  echo 'FFLAGS="'$FFLAGS'"'      #  echo 'FFLAGS="'$FFLAGS'"'
38      FOPTIM='-O0 -malign-double'      FOPTIM='-O0 -malign-double'

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.22