/[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.2 - (show annotations) (download)
Fri Dec 17 07:56:19 2004 UTC (19 years, 4 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint57d_post, checkpoint57b_post, checkpoint57c_pre, checkpoint57c_post
Changes since 1.1: +4 -3 lines
o switch back to make, but leave MAKE=gmake as a comment
o use xmakedepend

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sunos_sun4u_mpf77+mpi_sunfire,v 1.1 2004/12/10 16:08:41 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)/xmakedepend'
20 # compiler
21 FC='mpf77'
22 LINK='mpf77'
23 CPP='/usr/ccs/lib/cpp -P'
24 # paths
25 INCLUDES='-I/opt/SUNWhpc/include -I/usr/local/include'
26 LIBS='-L/opt/SUNWhpc/lib -lmpi -lthread -lsocket -lnsl -L/usr/local/lib'
27 # optimization
28 NOOPTFLAGS='-dalign -O0 -xarch=native'
29 if test "x$IEEE" = x ; then
30 # No need for IEEE-754
31 FFLAGS='-stackvar -e -u -xtypemap=real:64,double:64,integer:32'
32 FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
33 CFLAGS='-dalign -xO4 -xarch=native'
34 else
35 # Try to follow IEEE-754
36 FFLAGS='-e -u -xtypemap=real:64,double:64,integer:32 -fsimple=0'
37 FOPTIM='-O0'
38 CFLAGS='-xO0'
39 fi

  ViewVC Help
Powered by ViewVC 1.1.22