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

Diff of /MITgcm/tools/build_options/linux_amd64_open64

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

revision 1.2 by jmc, Wed Aug 17 14:53:19 2011 UTC revision 1.3 by jmc, Thu Aug 18 22:04:49 2011 UTC
# Line 38  FFLAGS="$FFLAGS -m64 -fPIC -convert big_ Line 38  FFLAGS="$FFLAGS -m64 -fPIC -convert big_
38  #FFLAGS="$FFLAGS -r8"  #FFLAGS="$FFLAGS -r8"
39    
40  if test "x$IEEE" = x ; then     #- with optimisation:  if test "x$IEEE" = x ; then     #- with optimisation:
41      FOPTIM='-O3 -LNO:fusion=2 -OPT:roundoff=1:IEEE_arithmetic=3' # -funsafe-math-optimizations'     #- full optimisation
42       # ("-Ofast" eqv "-O3 -ipa -OPT:Ofast -fno-math-errno -ffast-math" and "-OPT:Ofast"
43       #  eqv to "-OPT:roundoff=2 -OPT:Olimit=0 -OPT:div_split=ON -OPT:alias=typed")
44        FOPTIM='-Ofast -LNO:fusion=2 -OPT:roundoff=1:IEEE_arithmetic=3'
45       #- high optimisation (-O3), might find Pb with few S/R; fully safe: switch to -O2:
46       #FOPTIM='-O3 -LNO:fusion=2 -OPT:roundoff=1:IEEE_arithmetic=3'
47  else  else
48    if test "x$DEVEL" = x ; then  #- no optimisation + IEEE :    if test "x$DEVEL" = x ; then  #- no optimisation + IEEE :
49      FOPTIM='-O0 -OPT:roundoff=0:IEEE_arithmetic=1 -fmath-errno -fno-fast-math'      FOPTIM='-O0 -OPT:roundoff=0:IEEE_arithmetic=1 -fmath-errno -fno-fast-math'

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

  ViewVC Help
Powered by ViewVC 1.1.22