/[MITgcm]/MITgcm/tools/build_options/linux_amd64_ifort+mpi_beagle
ViewVC logotype

Diff of /MITgcm/tools/build_options/linux_amd64_ifort+mpi_beagle

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

revision 1.3 by jahn, Fri Aug 28 18:02:28 2009 UTC revision 1.4 by jmc, Wed Sep 23 18:38:33 2009 UTC
# Line 31  LIBS="$LDFLAGS" Line 31  LIBS="$LDFLAGS"
31  # -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)
32  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DIFORT'  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DIFORT'
33  CPP='cpp  -traditional -P'  CPP='cpp  -traditional -P'
34    EXTENDED_SRC_FLAG='-132'
35    #OMPFLAG='-openmp'
36    
37  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'
38    
39  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
40      #  No need for IEEE-754      #  No need for IEEE-754
# Line 50  if test "x$IEEE" = x ; then Line 52  if test "x$IEEE" = x ; then
52      # -assume byterecl     record length in OPEN statements is in bytes      # -assume byterecl     record length in OPEN statements is in bytes
53      # -convert big_endian  binary files contain big-endian data      # -convert big_endian  binary files contain big-endian data
54      # -shared-intel        avoids static library mismatch (?)      # -shared-intel        avoids static library mismatch (?)
55      FFLAGS="$FFLAGS -132 -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian -shared-intel"      FFLAGS="$FFLAGS -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian -shared-intel"
56  else  else
57      #  Try to follow IEEE-754      #  Try to follow IEEE-754
58      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 -shared-intel"      FFLAGS="$FFLAGS -pc64 -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian -shared-intel"
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.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22