/[MITgcm]/MITgcm/tools/build_options/sunos_sun4u_mpf77+mpi_sunfire
ViewVC logotype

Contents of /MITgcm/tools/build_options/sunos_sun4u_mpf77+mpi_sunfire

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


Revision 1.3 - (show annotations) (download)
Mon Feb 28 08:47:36 2005 UTC (19 years, 1 month ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint57t_post, checkpoint57o_post, checkpoint58e_post, mitgcm_mapl_00, checkpoint58u_post, checkpoint57m_post, checkpoint57s_post, checkpoint57k_post, checkpoint57g_post, checkpoint58r_post, checkpoint57i_post, checkpoint57y_post, checkpoint57e_post, checkpoint58n_post, checkpoint57g_pre, checkpoint58t_post, checkpoint58h_post, checkpoint57y_pre, checkpoint57f_pre, checkpoint58q_post, checkpoint57v_post, checkpoint58j_post, checkpoint57r_post, 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, checkpoint58k_post, checkpoint58v_post, checkpoint58s_post, checkpoint58p_post, checkpoint57j_post, checkpoint58b_post, checkpoint57h_pre, checkpoint58m_post, checkpoint57l_post, checkpoint57h_post
Changes since 1.2: +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 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sunos_sun4u_mpf77+mpi_sunfire,v 1.2 2004/12/17 07:56:19 mlosch Exp $
4 #
5 # developed and tested on
6 # SunOS model 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-15000
7 # (hostname: model.awi-bremerhaven.de)
8 #
9
10
11 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
12 S64='$(TOOLSDIR)/set64bitConst.sh'
13 DEFINES='-DWORDLENGTH=4'
14
15 MPI='true'
16 AWK='gawk'
17 # if regular make does not work try gmake
18 #MAKE='gmake'
19 MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
20 #MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
21 # compiler
22 FC='mpf77'
23 LINK='mpf77'
24 CPP='/usr/ccs/lib/cpp -P'
25 # paths
26 INCLUDES='-I/opt/SUNWhpc/include -I/usr/local/include'
27 LIBS='-L/opt/SUNWhpc/lib -lmpi -lthread -lsocket -lnsl -L/usr/local/lib'
28 # optimization
29 NOOPTFLAGS='-dalign -O0 -xarch=native'
30 if test "x$IEEE" = x ; then
31 # No need for IEEE-754
32 FFLAGS='-stackvar -e -u -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 FOPTIM='-O0'
39 CFLAGS='-xO0'
40 fi

  ViewVC Help
Powered by ViewVC 1.1.22