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

Contents of /MITgcm/tools/build_options/darwin_ia32_gfortran

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


Revision 1.6 - (show annotations) (download)
Fri Oct 9 11:14:03 2009 UTC (14 years, 7 months ago) by mlosch
Branch: MAIN
Changes since 1.5: +6 -1 lines
add script to remove filesize of ad_input_code.f

1 #!/bin/bash
2
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/darwin_ia32_gfortran,v 1.5 2009/04/02 18:28:31 dfer Exp $
4 #
5 # tested on MacBook Pro
6 # on 28-Nov-2006
7
8 CPP='/usr/bin/cpp -traditional -P'
9 #FC=/usr/local/bin/gfortran
10 FC=gfortran
11 ###CC=gcc
12 #LINK=/usr/local/bin/gfortran
13 LINK=gfortran
14 NOOPTFLAGS='-O0'
15 EXTENDED_SRC_FLAG='-ffixed-line-length-132'
16
17 S64='$(TOOLSDIR)/set64bitConst.sh'
18 #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
19 #EH3 MAKEDEPEND=makedepend
20 DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR'
21 INCLUDEDIRS='/sw/include'
22 INCLUDES='-I/sw/include'
23 LIBS='-L/sw/lib'
24 INCLUDEDIRS='/usr/local/include'
25 INCLUDES='-I/usr/local/include'
26 LIBS='-L/usr/local/lib'
27
28 ##INCLUDEDIRS='/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/include'
29 ##INCLUDES='-I/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/include'
30 ##LIBS='-L/Users/heimbach/NetCDF/netcdf-3.6.0-p1/gfortran/lib'
31
32 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X ## _"
33 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
34 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
35
36 # For IEEE, use the "-ffloat-store" option
37 if test "x$IEEE" = x ; then
38 FFLAGS='-Wunused -Wuninitialized -fsecond-underscore -fconvert=big-endian'
39 FOPTIM='-O3 -funroll-loops'
40 NOOPTFLAGS='-O2 -funroll-loops'
41 NOOPTFILES='gad_c4_adv_x.F gad_u3_adv_x.F'
42 else
43 FFLAGS='-Wunused -ffloat-store -fsecond-underscore -fconvert=big-endian'
44 FOPTIM='-O0'
45 fi

  ViewVC Help
Powered by ViewVC 1.1.22