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

Diff of /MITgcm/tools/build_options/linux_amd64_ifort_beagle

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

revision 1.1 by jahn, Tue Jun 16 15:21:59 2009 UTC revision 1.2 by jmc, Wed Sep 23 18:38:33 2009 UTC
# Line 33  LIBS="$LDFLAGS -shared-intel" Line 33  LIBS="$LDFLAGS -shared-intel"
33  # -DIFORT turns on ifort-specific declarations in darwin (RAND is not an intrinsic)  # -DIFORT turns on ifort-specific declarations in darwin (RAND is not an intrinsic)
34  DEFINES='-DWORDLENGTH=4 -DIFORT'  DEFINES='-DWORDLENGTH=4 -DIFORT'
35  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
36    EXTENDED_SRC_FLAG='-132'
37    #OMPFLAG='-openmp'
38    
39  NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F mom_calc_ke.F'  NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F mom_calc_ke.F mon_ke.F'
40    
41  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
42      #  No need for IEEE-754      #  No need for IEEE-754
# Line 51  if test "x$IEEE" = x ; then Line 53  if test "x$IEEE" = x ; then
53      # -fno-alias  don't assume aliasing (assume that different variables DON'T refer to the same memory location)      # -fno-alias  don't assume aliasing (assume that different variables DON'T refer to the same memory location)
54      # -assume byterecl     record length in OPEN statements is in bytes      # -assume byterecl     record length in OPEN statements is in bytes
55      # -convert big_endian  binary files contain big-endian data      # -convert big_endian  binary files contain big-endian data
56      FFLAGS="$FFLAGS -132 -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian"      FFLAGS="$FFLAGS -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian"
57  else  else
58      #  Try to follow IEEE-754      #  Try to follow IEEE-754
59      NOOPTFLAGS='-O0'      NOOPTFLAGS='-O0'
# Line 60  else Line 62  else
62      # -pc64       round floating point values to 64 bits      # -pc64       round floating point values to 64 bits
63      # one could also try      # one could also try
64      # -mp         maintain precision      # -mp         maintain precision
65      FFLAGS="$FFLAGS -pc64 -132 -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian"      FFLAGS="$FFLAGS -pc64 -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian"
66  fi  fi
67  #F90FLAGS=$FFLAGS  #F90FLAGS=$FFLAGS
68  #F90OPTIM=$FOPTIM  #F90OPTIM=$FOPTIM
69    
70  NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'  NOOPTFILES=$NOOPTFILES' mds_byteswap.F'
 NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'  
71    

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

  ViewVC Help
Powered by ViewVC 1.1.22