1 |
mlosch |
1.1 |
#!/bin/bash |
2 |
|
|
# |
3 |
|
|
# $Header: $ |
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 |
|
|
FFLAGS='-qfixed=132' |
22 |
|
|
if test "x$IEEE" = x ; then |
23 |
|
|
# No need for IEEE-754 |
24 |
|
|
FOPTIM='-O3 -qhot -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1' |
25 |
|
|
else |
26 |
|
|
# Try to follow IEEE-754 |
27 |
|
|
FOPTIM='-O3 -qstrict -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1' |
28 |
|
|
fi |
29 |
|
|
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X" |
30 |
|
|
|