/[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.2 - (show annotations) (download)
Tue Dec 5 22:15:42 2006 UTC (17 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: mitgcm_mapl_00, checkpoint58u_post, checkpoint58w_post, checkpoint58x_post, checkpoint58t_post, checkpoint59q, checkpoint59p, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post
Changes since 1.1: +16 -9 lines
These optfiles should work provided NetCDF was installed via
'fink install' (paths are now more general).

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

  ViewVC Help
Powered by ViewVC 1.1.22