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

Annotation of /MITgcm/tools/build_options/darwin_ppc_g77

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


Revision 1.8 - (hide annotations) (download)
Sun Dec 19 22:42:23 2010 UTC (13 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, HEAD
Changes since 1.7: +7 -5 lines
add "-DNML_EXTENDED_F77" to the DEFINES list for pgf77 and g77 optfiles

1 edhill 1.1 #!/bin/bash
2 jmc 1.7 #
3 jmc 1.8 # $Header: /u/gcmpack/MITgcm/tools/build_options/darwin_ppc_g77,v 1.7 2010/03/21 22:22:52 jmc Exp $
4 jmc 1.7 # $Name: $
5 edhill 1.1
6     # tested on G4-PowerBook, 1GHz
7 jmc 1.7 # cc-compiler is available only with the Apple Developer Tools,
8     # so make sure that those are installed
9 edhill 1.1 # g77 can be optained from FINK: http://fink.sourceforge.net
10     #
11    
12     FC=g77
13     LINK=g77
14    
15     S64='$(TOOLSDIR)/set64bitConst.sh'
16 edhill 1.4 #EH3 MAKEDEPEND='${TOOLSDIR}/xmakedepend'
17     #EH3 MAKEDEPEND=makedepend
18 jmc 1.8 DEFINES='-DWORDLENGTH=4 -DNML_EXTENDED_F77'
19     CPP='/usr/bin/cpp -traditional -P'
20    
21     EXTENDED_SRC_FLAG='-ffixed-line-length-132'
22     GET_FC_VERSION="--version"
23    
24 mlosch 1.5 INCLUDES='-I/sw/include'
25     LIBS='-L/sw/lib'
26 edhill 1.3
27     # For IEEE, use the "-ffloat-store" option
28     if test "x$IEEE" = x ; then
29     FFLAGS='-Wimplicit -Wunused -Wuninitialized'
30     FOPTIM='-O3 -funroll-loops'
31     else
32     FFLAGS='-Wimplicit -Wunused -ffloat-store'
33     FOPTIM='-O0'
34     fi
35 mlosch 1.6 #ifndef REAL4_IS_SLOW
36 jmc 1.7 # _RS expands into real*4 and statements such as
37 mlosch 1.6 # MAX(ABS(aV3d),myNorm) in ini_cg3d.F do not work with 'g77 -O3',
38     # so we have to lower the optimization level here to -O1;
39     # not clear why this is so, similar statements do work in ini_cg2d.F
40     #NOOPTFILES='ini_cg3d.F'
41     #NOOPTFLAGS='-O1 -funroll-loops'
42     #else
43     NOOPTFLAGS=-O0
44     #endif /* REAL4_IS_SLOW */

  ViewVC Help
Powered by ViewVC 1.1.22