/[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.8 by jmc, Mon Jul 22 18:40:45 2013 UTC revision 1.9 by jmc, Mon Sep 23 23:36:05 2013 UTC
# Line 40  else Line 40  else
40  fi  fi
41    
42  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
 CPP='cpp -traditional -P'  
43  EXTENDED_SRC_FLAG='-extend-source'  EXTENDED_SRC_FLAG='-extend-source'
44  F90FIXEDFORMAT='-fixedform -x f95'  F90FIXEDFORMAT='-fixedform -x f95'
45  GET_FC_VERSION="--version"  GET_FC_VERSION="--version"
# Line 50  OMPFLAG='-openmp' Line 49  OMPFLAG='-openmp'
49  NOOPTFLAGS='-O0 -g'  NOOPTFLAGS='-O0 -g'
50  NOOPTFILES=''  NOOPTFILES=''
51    
52  FFLAGS="$FFLAGS -m64 -fPIC -convert big_endian"  CFLAGS='-O0 -m64'
53    FFLAGS="$FFLAGS -m64 -convert big_endian"
54    
55    #- for big setups, compile & link with "-fPIC" or set memory-model to "medium":
56    #CFLAGS="$CFLAGS -fPIC"
57    #FFLAGS="$FFLAGS -fPIC"
58    #-  with FC 19, need to use this without -fPIC (which cancels -mcmodel option):
59     CFLAGS="$CFLAGS -mcmodel=medium"
60     FFLAGS="$FFLAGS -mcmodel=medium"
61  #- might want to use '-r8' for fizhi pkg:  #- might want to use '-r8' for fizhi pkg:
62  #FFLAGS="$FFLAGS -r8"  #FFLAGS="$FFLAGS -r8"
63    
# Line 75  fi Line 82  fi
82    
83  F90FLAGS=$FFLAGS  F90FLAGS=$FFLAGS
84  F90OPTIM=$FOPTIM  F90OPTIM=$FOPTIM
 CFLAGS='-O0 -m64 -fPIC'  
85  GSLLIB='-lgsl -lgslcblas'  GSLLIB='-lgsl -lgslcblas'
86    
87  INCLUDEDIRS=''  INCLUDEDIRS=''
# Line 124  if [ -n "$MPI_INC_DIR" -a "x$MPI" = xtru Line 130  if [ -n "$MPI_INC_DIR" -a "x$MPI" = xtru
130      MPIINCLUDEDIR="$MPI_INC_DIR"      MPIINCLUDEDIR="$MPI_INC_DIR"
131     #MPI_HEADER_FILES='mpif.h mpiof.h'     #MPI_HEADER_FILES='mpif.h mpiof.h'
132  fi  fi
   

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22