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

Contents of /MITgcm/tools/build_options/darwin_ia32_g95

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, checkpoint60, checkpoint61, checkpoint62, checkpoint58x_post, checkpoint58t_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.1: +12 -8 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=g95
10 CC=gcc
11 LINK=g95
12 NOOPTFLAGS='-O0'
13
14 S64='$(TOOLSDIR)/set64bitConst.sh'
15 #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
16 #EH3 MAKEDEPEND=makedepend
17 DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4'
18 INCLUDEDIRS='/sw/include'
19 INCLUDES='-I/sw/include'
20 LIBS='-L/sw/lib -lnetcdf'
21 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) _ ## X"
22 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"
23 ###FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
24
25 # For IEEE, use the "-ffloat-store" option
26 if test "x$IEEE" = x ; then
27 FFLAGS='-Wunused -Wuninitialized'
28 FOPTIM='-O3 -funroll-loops'
29 else
30 FFLAGS='-Wunused -ffloat-store'
31 FOPTIM='-O0'
32 fi

  ViewVC Help
Powered by ViewVC 1.1.22