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

Contents of /MITgcm/tools/build_options/sunos_sun4u_f77

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


Revision 1.6 - (show annotations) (download)
Fri Jan 7 10:04:34 2005 UTC (19 years, 3 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint57d_post, checkpoint57c_pre, checkpoint57c_post
Changes since 1.5: +3 -3 lines
go back to regular (default) awk

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sunos_sun4u_f77,v 1.5 2004/12/16 14:27:24 mlosch Exp $
4 # $Name: $
5 #
6 # tested 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 f90: Forte Developer 7 Fortran 95 7.0 Patch 111714-03 2002/11/19
10
11
12 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
13 S64='$(TOOLSDIR)/set64bitConst.sh'
14 DEFINES='-DWORDLENGTH=4'
15 #AWK='gawk'
16 MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
17 #MAKE='gmake'
18 CPP='/usr/ccs/lib/cpp -P'
19 # this one works, too
20 #CPP='/opt/sfw/bin/cpp -traditional -P'
21 FC='f77'
22 # This is an example of how to specify where your
23 # netcdf libraries and include files are;
24 # in this particular example, they are in
25 # /usr/local/libs and /usr/local/include.
26 INCLUDES='-I/usr/local/include'
27 LIBS='-L/usr/local/lib'
28
29 if test "x$IEEE" = x ; then
30 # No need for IEEE-754
31 FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xtypemap=real:64,double:64,integer:32'
32 FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
33 CFLAGS='-dalign -xO4 -xarch=native'
34 else
35 # Try to follow IEEE-754
36 FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
37 FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
38 FOPTIM='-O0'
39 CFLAGS='-xO0'
40 fi
41 NOOPTFLAGS='-dalign -O0'

  ViewVC Help
Powered by ViewVC 1.1.22