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

Contents of /MITgcm/tools/build_options/linux_ppc64_xlf_ncar

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


Revision 1.2 - (show annotations) (download)
Tue Jul 31 22:24:51 2007 UTC (16 years, 8 months ago) by ce107
Branch: MAIN
CVS Tags: checkpoint60, checkpoint61, checkpoint62, checkpoint61l, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59g, checkpoint59f, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.1: +2 -2 lines
Added -DNML_TERMINATOR to all versions, created OpenMP enabled multithreaded
versions and clearly separated the 64 from the 32 bit versions.

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ppc64_xlf_ncar,v 1.1 2005/08/05 23:38:58 ce107 Exp $
4 #
5
6 # tested on frost, ce107 Aug 4 2005
7 # using the following invocation:
8 # ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/linux_ppc64_xlf
9
10
11 S64='$(TOOLSDIR)/set64bitConst.sh'
12 MAKEDEPEND=makedepend
13 DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR'
14 INCLUDES='-I/contrib/fe_tools/xlc64/netcdf-3.6.0-p1/include'
15 CPP='/lib/cpp -traditional -P'
16 FC='xlf -q64'
17 CC='xlc -q64'
18 LINK='xlf -q64'
19 LIBS='-L/contrib/fe_tools/xlc64/netcdf-3.6.0-p1/lib -lnetcdf'
20 FFLAGS='-qfixed=132'
21 if test "x$IEEE" = x ; then
22 # No need for IEEE-754
23 FOPTIM='-O5 -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1 -qipa=noobject:partition=large:threads'
24 CFLAGS='-O5 -qinlglue -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1 -qipa=noobject:partition=large:threads'
25 else
26 FOPTIM='-O3 -qstrict -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
27 CFLAGS='-O3 -qstrict -qarch=auto -qtune=auto -qcache=auto -qmaxmem=-1'
28 fi
29 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X"

  ViewVC Help
Powered by ViewVC 1.1.22