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

Diff of /MITgcm/tools/build_options/linux_ia32_g95

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

revision 1.1 by ce107, Fri Aug 17 15:53:09 2007 UTC revision 1.2 by ce107, Mon Aug 20 20:31:00 2007 UTC
# Line 14  NOOPTFLAGS='-O0' Line 14  NOOPTFLAGS='-O0'
14  if test "x$DEVEL" != x ; then  if test "x$DEVEL" != x ; then
15      FFLAGS='-g -Wall -Wextra -fbounds-check -ftrace=full -finteger=-99999 -flogical=false -freal=nan'      FFLAGS='-g -Wall -Wextra -fbounds-check -ftrace=full -finteger=-99999 -flogical=false -freal=nan'
16  else  else
17      FFLAGS=''      FFLAGS='-Wunused'
18  fi  fi
19    
20  #  "warning: -Wuninitialized is not supported without -O"  #  "warning: -Wuninitialized is not supported without -O"
# Line 28  else Line 28  else
28      has_sse2=f      has_sse2=f
29      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
30      if test "x$has_sse2" = xt ; then      if test "x$has_sse2" = xt ; then
31          FFLAGS='-Wunused -mfpmath=sse -msse -msse2'          FOPTIM='-mfpmath=sse -msse -msse2'
32      else      else
33          FFLAGS='-Wunused -ffloat-store'          FOPTIM='-ffloat-store'
34      fi      fi
35      #  echo 'FFLAGS="'$FFLAGS'"'      #  echo 'FFLAGS="'$FFLAGS'"'
36      FOPTIM='-O0 -malign-double'      FOPTIM="-O0 -malign-double $FOPTIM"
37  fi  fi
38  F90FLAGS=$FFLAGS  F90FLAGS=$FFLAGS
39  F90OPTIM=$FOPTIM  F90OPTIM=$FOPTIM

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

  ViewVC Help
Powered by ViewVC 1.1.22