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

Contents of /MITgcm/tools/build_options/sp4_edvir1

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


Revision 1.2 - (show annotations) (download)
Thu Jan 10 08:00:51 2008 UTC (16 years, 3 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint62b, checkpoint62a, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59o, checkpoint59n, 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, checkpoint60, checkpoint61, checkpoint62
Changes since 1.1: +14 -4 lines
tweak the build options files for edvir1 a little more, condense
options zoo and add a few comments, mon_stats_rs.F is now a
"NOOPTFILE", and add the -qstrictieee option for testreport

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/sp4_edvir1,v 1.1 2005/11/17 12:45:03 mlosch Exp $
4 # $Name: $
5 #
6 # tested on edvir1.awi-bremerhaven.de
7 # uname -a: AIX edvir1 2 5 0010117A4C00
8 #
9
10 S64='$(TOOLSDIR)/set64bitConst.sh'
11 MAKEDEPEND=makedepend
12 DEFINES='-DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR'
13
14 INCLUDES='-I/edvir1/soft/netcdf-3.5.1/64/include'
15 CPP='/lib/cpp -P'
16 CC='cc -q64'
17 FC='xlf95 -q64'
18 LINK='xlf95 -q64'
19 LIBS='-L/export/soft/mass/4.1/aix5/lib -lmass -L/edvir1/soft/netcdf-3.5.1/64/lib -lnetcdf'
20
21 # increase allowed line length
22 FFLAGS='-qfixed=132'
23 # this initializes all reals to NaNQ and all integers to -1
24 #FFLAGS=${FFLAGS}' -qinitauto=FF'
25 if test "x$IEEE" = x ; then
26 # No need for IEEE-754
27 FOPTIM='-O4 -qmaxmem=-1'
28 # if the above takes too long use a slightly less aggressive optimization
29 # FOPTIM='-O3 -qhot -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
30 # for some unknown reason, the -qhot option (part of -O4 is not so hot
31 # with these files (compilation takes forever), therefore we overwrite it
32 # here
33 NOOPTFILES='ini_curvilinear_grid.F mon_stats_rs.F'
34 NOOPTFLAGS=${FOPTIM}' -qnohot'
35 else
36 # Try to follow IEEE-754
37 FOPTIM='-O3 -qstrict -qstrictieeemod -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1'
38 fi
39 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"

  ViewVC Help
Powered by ViewVC 1.1.22