1 |
edhill |
1.2 |
#!/bin/bash |
2 |
|
|
# |
3 |
ce107 |
1.6 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/sp4,v 1.5 2004/02/26 19:57:59 cnh Exp $ |
4 |
edhill |
1.2 |
# |
5 |
|
|
|
6 |
edhill |
1.3 |
# tested on bluesky, EH3 2003-09-04 |
7 |
|
|
# using the following invocation: |
8 |
|
|
# ../../../tools/genmake2 -mods=../code -of=../../../tools/build_options/sp4 -make=gmake |
9 |
|
|
|
10 |
|
|
|
11 |
edhill |
1.2 |
S64='$(TOOLSDIR)/set64bitConst.sh' |
12 |
|
|
MAKEDEPEND=makedepend |
13 |
ce107 |
1.6 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_AIX -DWORDLENGTH=4' |
14 |
edhill |
1.2 |
|
15 |
edhill |
1.1 |
#ph: e.g. bluesky.ucar.edu, marcellus.navo.hpc.mil |
16 |
|
|
INCLUDES='-I/usr/lpp/ppe.poe/include' |
17 |
edhill |
1.3 |
CPP='/lib/cpp -P' |
18 |
edhill |
1.1 |
FC='mpxlf95' |
19 |
|
|
LINK='mpxlf95' |
20 |
ce107 |
1.6 |
LIBS='-L/usr/local/apps/mass -lmass' |
21 |
|
|
FFLAGS='-qfixed=132 -bmaxdata:0x80000000' |
22 |
|
|
FOPTIM='-O3 -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1' |
23 |
|
|
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X" |