/[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.3 by mlosch, Thu Dec 16 08:30:11 2004 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  #  #
3  #  $Header$  #  $Header$
4    #  $Name$  
5  #  #
6    # tested 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    FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
12  S64='$(TOOLSDIR)/set64bitConst.sh'  S64='$(TOOLSDIR)/set64bitConst.sh'
 MAKEDEPEND=makedepend  
13  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
   
14  AWK='gawk'  AWK='gawk'
 MAKE='gmake'  
15  MAKEDEPEND='$(TOOLSDIR)/xmakedepend'  MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
16  FC='f77'  MAKE='gmake'
17  CPP='/usr/ccs/lib/cpp -P'  CPP='/usr/ccs/lib/cpp -P'
18  FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xtypemap=real:64,double:64,integer:32 -fsimple=0'  FC='f77'
19  FOPTIM='-dalign -O3 -xarch=v9'  # This is an example of how to specify where your
20  CFLAGS='-dalign -O3 -xarch=v9'  # netcdf libraries and include files are;
21  NOOPTFLAGS='-dalign -O0 -xarch=v9'  # in this particular example, they are in
22    # /usr/local/libs and /usr/local/include.
23    INCLUDES='-I/usr/local/include'
24    LIBS='-L/usr/local/lib'
25    
26    if test "x$IEEE" = x ; then
27        #  No need for IEEE-754
28        FFLAGS='-stackvar -explicitpar -vpara -e -u -noautopar -xtypemap=real:64,double:64,integer:32'
29        FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
30        CFLAGS='-dalign -xO4 -xarch=native'
31    else
32        #  Try to follow IEEE-754
33        FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
34        FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
35        FOPTIM='-O0'
36        CFLAGS='-xO0'
37    fi
38    NOOPTFLAGS='-dalign -O0'

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

  ViewVC Help
Powered by ViewVC 1.1.22