/[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.4 by jmc, Fri Aug 19 22:48:06 2011 UTC revision 1.7 by jahn, Sat Mar 30 19:10:55 2013 UTC
# Line 30  Line 30 
30  if test "x$MPI" = xtrue ; then  if test "x$MPI" = xtrue ; then
31    CC=mpicc    CC=mpicc
32    FC=mpif90    FC=mpif90
33      F90C=mpif90
34    LINK=mpif90    LINK=mpif90
35  else  else
36    CC=opencc    CC=opencc
37    FC=openf90    FC=openf90
38      F90C=openf90
39    LINK=openf90    LINK=openf90
40  fi  fi
41    
42  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
43  CPP='cpp -traditional -P'  CPP='cpp -traditional -P'
44  EXTENDED_SRC_FLAG='-extend-source'  EXTENDED_SRC_FLAG='-extend-source'
45    F90FIXEDFORMAT='-fixedform -x f95'
46  GET_FC_VERSION="--version"  GET_FC_VERSION="--version"
47  OMPFLAG='-openmp'  OMPFLAG='-openmp'
48  #OMPFLAG='-openmp -OPT:early_mp=ON'  #OMPFLAG='-openmp -OPT:early_mp=ON'
# Line 55  if test "x$IEEE" = x ; then     #- with Line 58  if test "x$IEEE" = x ; then     #- with
58     #- full optimisation     #- full optimisation
59     # ("-Ofast" eqv "-O3 -ipa -OPT:Ofast -fno-math-errno -ffast-math" and "-OPT:Ofast"     # ("-Ofast" eqv "-O3 -ipa -OPT:Ofast -fno-math-errno -ffast-math" and "-OPT:Ofast"
60     #  eqv to "-OPT:roundoff=2 -OPT:Olimit=0 -OPT:div_split=ON -OPT:alias=typed")     #  eqv to "-OPT:roundoff=2 -OPT:Olimit=0 -OPT:div_split=ON -OPT:alias=typed")
61      FOPTIM='-Ofast -LNO:fusion=2 -OPT:roundoff=1:IEEE_arithmetic=3'     #FOPTIM='-Ofast -OPT:roundoff=1:IEEE_arithmetic=3 -LNO:fusion=2'
62        FOPTIM='-O3 -OPT:Ofast:roundoff=1:IEEE_arithmetic=3 -ffast-math -LNO:fusion=2'
63     #- high optimisation (-O3), might find Pb with few S/R; fully safe: switch to -O2:     #- high optimisation (-O3), might find Pb with few S/R; fully safe: switch to -O2:
64     #FOPTIM='-O3 -LNO:fusion=2 -OPT:roundoff=1:IEEE_arithmetic=3'     #FOPTIM='-O3 -OPT:roundoff=1:IEEE_arithmetic=3 -LNO:fusion=2'
65        NOOPTFLAGS='-O3 -OPT:roundoff=1:IEEE_arithmetic=2 -LNO:fusion=2'
66        NOOPTFILES='seaice_evp.F'
67  else  else
68    if test "x$DEVEL" = x ; then  #- no optimisation + IEEE :    if test "x$DEVEL" = x ; then  #- no optimisation + IEEE :
69      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.4  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22