/[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.3 - (show annotations) (download)
Thu Dec 16 08:30:11 2004 UTC (19 years, 4 months ago) by mlosch
Branch: MAIN
Changes since 1.2: +16 -8 lines
o clean up build options files for SunOS
  - replace -xarch=v9 option with -xarch=native to make using netcdf
    easier

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sunos_sun4u_g77,v 1.2 2004/03/01 18:29:54 edhill Exp $
4 # $Name: $
5 #
6 # tested without NetCDF support on
7 # SunOS model 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-15000
8 # with f90: Forte Developer 7 Fortran 95 7.0 Patch 111714-03 2002/11/19
9
10
11 DEFINES='-DWORDLENGTH=4'
12 AWK='gawk'
13 MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
14 MAKE='gmake'
15 CPP='/usr/ccs/lib/cpp -P'
16 FC=g77
17 # This is an example of how to specify where your
18 # netcdf libraries and include files are;
19 # in this particular example, they are in
20 # /usr/local/libs and /usr/local/include.
21 # For g77, it is probably necessary to use libraries
22 # that have been compiled with g77 as well.
23 INCLUDES='-I/usr/local/include'
24 LIBS='-L/usr/local/lib -lnetcdf'
25
26 NOOPTFLAGS='-O0'
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

  ViewVC Help
Powered by ViewVC 1.1.22