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

Diff of /MITgcm/tools/build_options/linux_amd64_ifort11

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

revision 1.11 by jmc, Mon Jul 22 18:40:45 2013 UTC revision 1.12 by jmc, Fri Sep 20 00:15:03 2013 UTC
# Line 9  Line 9 
9  #  Tested on baudelaire (FC 13) with intel compiler v.11.1.073 (20100806)  #  Tested on baudelaire (FC 13) with intel compiler v.11.1.073 (20100806)
10  #  #
11  # OpenMP : tested on danton (FC 14) using intel compiler v.11.1.046 (20090630)  # OpenMP : tested on danton (FC 14) using intel compiler v.11.1.046 (20090630)
12  #                                              and also  v.12.0.4   (20110427)  #                               and also (FC 14,17 & 19) v.12.0.4   (20110427)
13  #  #
14  # MPI : Tested  on danton (FC 14), with and without OpenMP, using  # MPI : Tested  on danton (FC 14), with and without OpenMP, using
15  #       intel compiler v.11.1.046 (20090630) and also  v.12.0.4   (20110427)  #       intel compiler v.11.1.046 (20090630) and also  v.12.0.4   (20110427)
# Line 42  else Line 42  else
42  fi  fi
43    
44  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
 CPP='cpp -traditional -P'  
45  F90FIXEDFORMAT='-fixed -Tf'  F90FIXEDFORMAT='-fixed -Tf'
46  EXTENDED_SRC_FLAG='-132'  EXTENDED_SRC_FLAG='-132'
47  GET_FC_VERSION="--version"  GET_FC_VERSION="--version"
# Line 57  else Line 56  else
56      PROCF=-xHost      PROCF=-xHost
57  fi  fi
58    
59  FFLAGS="$FFLAGS -m64 -fPIC -convert big_endian -assume byterecl"  CFLAGS="-O0 -ip -m64 $PROCF"
60    FFLAGS="$FFLAGS -m64 -convert big_endian -assume byterecl"
61    #- for big setups, compile & link with "-fPIC" or set memory-model to "medium":
62     CFLAGS="$CFLAGS -fPIC"
63     FFLAGS="$FFLAGS -fPIC"
64    #-  with FC 19, need to use this without -fPIC (which cancels -mcmodel option):
65    #CFLAGS="$CFLAGS -mcmodel=medium"
66    #FFLAGS="$FFLAGS -mcmodel=medium"
67  #- might want to use '-r8' for fizhi pkg:  #- might want to use '-r8' for fizhi pkg:
68  #FFLAGS="$FFLAGS -r8"  #FFLAGS="$FFLAGS -r8"
69    
# Line 79  fi Line 85  fi
85    
86  F90FLAGS=$FFLAGS  F90FLAGS=$FFLAGS
87  F90OPTIM=$FOPTIM  F90OPTIM=$FOPTIM
 CFLAGS="-O0 -ip -m64 -fPIC $PROCF"  
88    
89  INCLUDEDIRS=''  INCLUDEDIRS=''
90  INCLUDES=''  INCLUDES=''

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22