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

Contents of /MITgcm/tools/build_options/sunos_sun4u_g77

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


Revision 1.5 - (show annotations) (download)
Thu Dec 16 14:27:24 2004 UTC (19 years, 4 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint57d_post, checkpoint57b_post, checkpoint57c_pre, checkpoint57c_post
Changes since 1.4: +9 -5 lines
  - restore use of make (not gmake)
  - add CC=gcc if using g77

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sunos_sun4u_g77,v 1.4 2004/12/16 08:49:10 mlosch Exp $
4 # $Name: $
5 #
6 # tested without NetCDF support on
7 # SunOS model.awi-bremerhaven.de 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-15000
8 # SunOS tphs14.awi-bremerhaven.de 5.8 Generic_117350-08 sun4u sparc SUNW,Sun-Blade-1000
9 # with g77 version 2.95.3 20010315 (release) (from FSF-g77 version 0.5.25 20010315 (release))
10
11
12 DEFINES='-DWORDLENGTH=4'
13 AWK='gawk'
14 MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
15 #MAKE='gmake'
16 CPP='/usr/ccs/lib/cpp -P'
17 # this one works, too
18 #CPP='/opt/sfw/bin/cpp -traditional -P'
19 FC=g77
20 CC=gcc
21 # This is an example of how to specify where your
22 # netcdf libraries and include files are;
23 # in this particular example, they are in
24 # /usr/local/libs and /usr/local/include.
25 # For g77, it is probably necessary to use libraries
26 # that have been compiled with g77 as well.
27 #INCLUDES='-I/usr/local/include'
28 #LIBS='-L/usr/local/lib -lnetcdf'
29
30 NOOPTFLAGS='-O0'
31 # For IEEE, use the "-ffloat-store" option
32 if test "x$IEEE" = x ; then
33 FFLAGS='-Wimplicit -Wunused -Wuninitialized'
34 FOPTIM='-O3 -funroll-loops'
35 else
36 FFLAGS='-Wimplicit -Wunused -ffloat-store'
37 FOPTIM='-O0'
38 fi

  ViewVC Help
Powered by ViewVC 1.1.22