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

Diff of /MITgcm/tools/build_options/linux_amd64_pathf90

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

revision 1.10 by jmc, Mon Jul 22 18:40:45 2013 UTC revision 1.11 by jmc, Mon Sep 23 23:36:27 2013 UTC
# Line 38  else Line 38  else
38  fi  fi
39    
40  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
 CPP='cpp -traditional -P'  
41  EXTENDED_SRC_FLAG='-extend-source'  EXTENDED_SRC_FLAG='-extend-source'
42  GET_FC_VERSION="--version"  GET_FC_VERSION="--version"
43  OMPFLAG='-openmp'  OMPFLAG='-openmp'
# Line 47  OMPFLAG='-openmp' Line 46  OMPFLAG='-openmp'
46  NOOPTFLAGS='-O0 -g'  NOOPTFLAGS='-O0 -g'
47  NOOPTFILES=''  NOOPTFILES=''
48    
49  FFLAGS="$FFLAGS -m64 -fPIC -convert big_endian"  CFLAGS='-O0 -m64'
50    FFLAGS="$FFLAGS -m64 -convert big_endian"
51    
52    #- for big setups, compile & link with "-fPIC" or set memory-model to "medium":
53     CFLAGS="$CFLAGS -fPIC"
54     FFLAGS="$FFLAGS -fPIC"
55    #-  with FC 19, need to use this without -fPIC (which cancels -mcmodel option):
56    #CFLAGS="$CFLAGS -mcmodel=medium"
57    #FFLAGS="$FFLAGS -mcmodel=medium"
58  #- might want to use '-r8' for fizhi pkg:  #- might want to use '-r8' for fizhi pkg:
59  #FFLAGS="$FFLAGS -r8"  #FFLAGS="$FFLAGS -r8"
60    
# Line 71  fi Line 78  fi
78    
79  F90FLAGS=$FFLAGS  F90FLAGS=$FFLAGS
80  F90OPTIM=$FOPTIM  F90OPTIM=$FOPTIM
 CFLAGS='-O0 -m64 -fPIC'  
81  GSLLIB='-lgsl -lgslcblas'  GSLLIB='-lgsl -lgslcblas'
82    
83  INCLUDEDIRS=''  INCLUDEDIRS=''

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

  ViewVC Help
Powered by ViewVC 1.1.22