/[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.4 - (show annotations) (download)
Sun Feb 18 19:19:42 2007 UTC (17 years, 1 month ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint58w_post, checkpoint60, checkpoint61, checkpoint62, checkpoint58x_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint58y_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.3: +4 -2 lines
compile solve_for_pressure.F with a lower optimization level than the rest

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sunos_sun4u_mpf77+mpi_sunfire,v 1.3 2005/02/28 08:47:36 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 -O2 -xarch=native'
30 NOOPTFILES='solve_for_pressure.F'
31 #NOOPTFILES='solve_for_pressure.F barrier.F different_multiple.F external_fields_load.F ini_vertic
32 if test "x$IEEE" = x ; then
33 # No need for IEEE-754
34 FFLAGS='-stackvar -e -u -xtypemap=real:64,double:64,integer:32'
35 FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
36 CFLAGS='-dalign -xO4 -xarch=native'
37 else
38 # Try to follow IEEE-754
39 FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
40 FOPTIM='-O0'
41 CFLAGS='-xO0'
42 fi

  ViewVC Help
Powered by ViewVC 1.1.22