/[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.2 by edhill, Thu Nov 13 22:03:39 2003 UTC revision 1.4 by mlosch, Thu Dec 16 14:14:52 2004 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'  AWK='gawk'
 MAKE='gmake'  
16  MAKEDEPEND='$(TOOLSDIR)/xmakedepend'  MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
17  FC='f77'  MAKE='make'
18  CPP='/usr/ccs/lib/cpp -P'  CPP='/usr/ccs/lib/cpp -P'
19  FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xtypemap=real:64,double:64,integer:32 -fsimple=0'  # this one works, too
20  FOPTIM='-dalign -O3 -xarch=v9'  #CPP='/opt/sfw/bin/cpp -traditional -P'
21  CFLAGS='-dalign -O3 -xarch=v9'  FC='f77'
22  NOOPTFLAGS='-dalign -O0 -xarch=v9'  # 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'

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22