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

Diff of /MITgcm/tools/build_options/linux_alpha_g77

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

revision 1.5 by jmc, Sun Dec 19 22:42:23 2010 UTC revision 1.6 by jmc, Tue Sep 13 19:35:13 2011 UTC
# Line 7  FC='g77' Line 7  FC='g77'
7    
8  DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'  DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
9  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
   
10  EXTENDED_SRC_FLAG='-ffixed-line-length-132'  EXTENDED_SRC_FLAG='-ffixed-line-length-132'
11  GET_FC_VERSION="--version"  GET_FC_VERSION="--version"
12    
13  #  For IEEE, use the "-ffloat-store" option  if test "x$IEEE" = x ; then     #- with optimisation:
 if test "x$IEEE" = x ; then  
14      FFLAGS=' '      FFLAGS=' '
15      #FOPTIM='-ffast-math -fexpensive-optimizations -fomit-frame-pointer -O3'      #FOPTIM='-ffast-math -fexpensive-optimizations -fomit-frame-pointer -O3'
16      FOPTIM='-O3 -funroll-loops'      FOPTIM='-O3 -funroll-loops'
17  else  else                            #- no optimisation + IEEE :
18        #  For IEEE, use the "-ffloat-store" option
19      FFLAGS='-Wimplicit -Wunused -ffloat-store'      FFLAGS='-Wimplicit -Wunused -ffloat-store'
20      FOPTIM='-O0'      FOPTIM='-O0'
21  fi  fi
22    
23    if test "x$MPI" = xtrue ; then
24        INCLUDES='-I/usr/local/include'
25        LIBS='-L/usr/local/lib/LINUX/ch_p4/ -lfmpich -lmpich'
26    fi

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22