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

Diff of /MITgcm/tools/build_options/sunos_sun4u_f77

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

revision 1.1 by edhill, Tue Oct 21 18:35:08 2003 UTC revision 1.7 by mlosch, Mon Feb 28 08:47:36 2005 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3  #  $Header$  #  $Header$
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'  S64='$(TOOLSDIR)/set64bitConst.sh'
 MAKEDEPEND=makedepend  
14  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
15    #AWK='gawk'
16  AWK='gawk'  MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
17  MAKE='gmake'  #MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
18  MAKEDEPEND='$(TOOLSDIR)/xmakedepend'  #MAKE='gmake'
 FC='f77'  
 LN='/usr/bin/ln -s'  
19  CPP='/usr/ccs/lib/cpp -P'  CPP='/usr/ccs/lib/cpp -P'
20  FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xtypemap=real:64,double:64,integer:32 -fsimple=0'  # this one works, too
21  FOPTIM='-dalign -O3 -xarch=v9'  #CPP='/opt/sfw/bin/cpp -traditional -P'
22  CFLAGS='-dalign -O3 -xarch=v9'  FC='f77'
23  NOOPTFLAGS='-dalign -O0 -xarch=v9'  # This is an example of how to specify where your
24    # netcdf libraries and include files are;
25    # in this particular example, they are in
26    # /usr/local/libs and /usr/local/include.
27    INCLUDES='-I/usr/local/include'
28    LIBS='-L/usr/local/lib'
29    
30    if test "x$IEEE" = x ; then
31        #  No need for IEEE-754
32        FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xtypemap=real:64,double:64,integer:32'
33        FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
34        CFLAGS='-dalign -xO4 -xarch=native'
35    else
36        #  Try to follow IEEE-754
37        FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
38        FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
39        FOPTIM='-O0'
40        CFLAGS='-xO0'
41    fi
42    NOOPTFLAGS='-dalign -O0'

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.22