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

Annotation of /MITgcm/tools/build_options/sunos_sun4u_g77

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


Revision 1.7 - (hide annotations) (download)
Mon Feb 28 08:47:36 2005 UTC (19 years, 2 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, mitgcm_mapl_00, checkpoint58u_post, checkpoint58w_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint57g_post, checkpoint60, checkpoint61, checkpoint62, checkpoint58r_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint58n_post, checkpoint58x_post, checkpoint57g_pre, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint58q_post, checkpoint57v_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint58j_post, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint57r_post, checkpoint59, checkpoint58, eckpoint57e_pre, checkpoint57h_done, checkpoint58f_post, checkpoint57x_post, checkpoint57n_post, checkpoint58d_post, checkpoint58c_post, checkpoint57w_post, checkpoint57p_post, checkpint57u_post, checkpoint57f_post, checkpoint58a_post, checkpoint58i_post, checkpoint57q_post, checkpoint58g_post, checkpoint58o_post, checkpoint57z_post, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62p, checkpoint58y_post, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint58p_post, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint57j_post, checkpoint61z, checkpoint61x, checkpoint61y, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post
Changes since 1.6: +3 -2 lines
o use cyrus-imapd-makedepend as a first option, as long as the
  system-wide makedepend (which does not work on SunOS) is used as the
  second option

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

  ViewVC Help
Powered by ViewVC 1.1.22