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

Diff of /MITgcm/tools/build_options/sunos_sun4u_g77

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

revision 1.1 by edhill, Mon Mar 1 18:22:09 2004 UTC revision 1.7 by mlosch, Mon Feb 28 08:47:36 2005 UTC
# Line 3  Line 3 
3  #  $Header$  #  $Header$
4  #  $Name$  #  $Name$
5  #  #
6    # tested without NetCDF support 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 g77 version 2.95.3 20010315 (release) (from FSF-g77 version 0.5.25 20010315 (release))
10    
11    FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
 FC=g77  
 #DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4'  
12  DEFINES='-DWORDLENGTH=4'  DEFINES='-DWORDLENGTH=4'
 CPP='cpp  -traditional -P'  
 NOOPTFLAGS='-O0'  
13  AWK='gawk'  AWK='gawk'
14  MAKE='gmake'  MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
15    #MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
16  # netcdf  #MAKE='gmake'
17  # LIBS="-lnetcdf"  CPP='/usr/ccs/lib/cpp -P'
18    # this one works, too
19    #CPP='/opt/sfw/bin/cpp -traditional -P'
20    FC=g77
21    CC=gcc
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    # For g77, it is  probably necessary to use libraries
27    # that have been compiled with g77 as well.
28    #INCLUDES='-I/usr/local/include'
29    #LIBS='-L/usr/local/lib -lnetcdf'
30    
31    NOOPTFLAGS='-O0'
32  #  For IEEE, use the "-ffloat-store" option  #  For IEEE, use the "-ffloat-store" option
33  if test "x$IEEE" = x ; then  if test "x$IEEE" = x ; then
34      FFLAGS='-Wimplicit -Wunused -Wuninitialized'      FFLAGS='-Wimplicit -Wunused -Wuninitialized'
35      FOPTIM='-O3 -malign-double -funroll-loops'      FOPTIM='-O3 -funroll-loops'
36  else  else
37      FFLAGS='-Wimplicit -Wunused -ffloat-store'      FFLAGS='-Wimplicit -Wunused -ffloat-store'
38      FOPTIM='-O0 -malign-double'      FOPTIM='-O0'
39  fi  fi
40    
41    

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

  ViewVC Help
Powered by ViewVC 1.1.22