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

Contents of /MITgcm/tools/build_options/sunos_i86pc_f95

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


Revision 1.2 - (show annotations) (download)
Thu Nov 20 13:19:51 2008 UTC (15 years, 5 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint61f, checkpoint61g, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61x
Changes since 1.1: +4 -4 lines
remove (obsolete) parallelization compiler flags, that actually break
the code in certain circumstances (Olaf Klatt, Weddell Sea experiment)

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sunos_i86pc_f95,v 1.1 2008/09/02 11:55:06 mlosch Exp $
4 # $Name: $
5 #
6 # tested on
7 # uname -a: SunOS solasrv4 5.10 Generic_127128-11 i86pc i386 i86pc
8 # with f95: Sun Fortran 95 8.3 SunOS_i386 Patch 127002-04 2008/04/16
9
10
11 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
12 S64='$(TOOLSDIR)/set64bitConst.sh'
13 DEFINES='-DWORDLENGTH=4'
14 #AWK='gawk'
15 MAKEDEPEND='$(TOOLSDIR)/cyrus-imapd-makedepend/makedepend'
16 #MAKEDEPEND='$(TOOLSDIR)/xmakedepend'
17 #MAKE='gmake'
18 CPP='/usr/ccs/lib/cpp -P'
19 FC='f95'
20 # This is an example of how to specify where your
21 # netcdf libraries and include files are;
22 # in this particular example, they are in
23 # /opt/netcdf-3.6.2/libs and /opt/netcdf-3.6.2/include.
24 INCLUDES='-I/opt/netcdf-3.6.2/include'
25 LIBS='-L/opt/netcdf-3.6.2/lib'
26
27 if test "x$IEEE" = x ; then
28 # No need for IEEE-754
29 FFLAGS='-e -u -xfilebyteorder=big16:%all'
30 FFLAGS=$FFLAGS' -xtypemap=real:64,double:64,integer:32'
31 FOPTIM='-dalign -O4 -xarch=native -fsimple=2'
32 CFLAGS='-dalign -xO4 -xarch=native'
33 else
34 # Try to follow IEEE-754
35 FFLAGS='-e -u -xfilebyteorder=big16:%all'
36 FFLAGS=$FFLAGS' -xtypemap=real:64,double:64,integer:32'
37 FOPTIM='-O0 -fsimple=0'
38 CFLAGS='-xO0'
39 fi
40 NOOPTFLAGS='-dalign -O0'

  ViewVC Help
Powered by ViewVC 1.1.22