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

Annotation of /MITgcm/tools/build_options/sunos_sun4u_f77

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


Revision 1.6 - (hide 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 edhill 1.1 #!/bin/bash
2     #
3 mlosch 1.6 # $Header: /u/gcmpack/MITgcm/tools/build_options/sunos_sun4u_f77,v 1.5 2004/12/16 14:27:24 mlosch Exp $
4 mlosch 1.4 # $Name: $
5 edhill 1.1 #
6 mlosch 1.3 # tested on
7 mlosch 1.4 # 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 mlosch 1.3 # with f90: Forte Developer 7 Fortran 95 7.0 Patch 111714-03 2002/11/19
10 edhill 1.1
11 mlosch 1.3
12     FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
13 edhill 1.1 S64='$(TOOLSDIR)/set64bitConst.sh'
14     DEFINES='-DWORDLENGTH=4'
15 mlosch 1.6 #AWK='gawk'
16 mlosch 1.3 MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
17 mlosch 1.6 #MAKE='gmake'
18 mlosch 1.3 CPP='/usr/ccs/lib/cpp -P'
19 mlosch 1.4 # this one works, too
20     #CPP='/opt/sfw/bin/cpp -traditional -P'
21 edhill 1.1 FC='f77'
22 mlosch 1.3 # 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