3 |
# $Header$ |
# $Header$ |
4 |
# $Name$ |
# $Name$ |
5 |
|
|
6 |
S64='$(TOOLSDIR)/set64bitConst.sh' |
if test "x$MPI" = xtrue ; then |
7 |
MAKEDEPEND=makedepend |
CC='mpcc_r -q64' |
8 |
|
FC='mpxlf_r -q64' |
9 |
|
LINK='mpxlf_r -q64' |
10 |
|
else |
11 |
|
CC='xlc_r -q64' |
12 |
|
FC='xlf_r -q64' |
13 |
|
LINK='xlf_r -q64' |
14 |
|
fi |
15 |
|
|
16 |
|
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X" |
17 |
|
S64='$(TOOLSDIR)/set64bitConst.sh' |
18 |
DEFINES='-DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR' |
DEFINES='-DTARGET_AIX -DWORDLENGTH=4 -DNML_TERMINATOR' |
|
|
|
|
INCLUDES='-I/contrib/netcdf-3.6.2/include' |
|
19 |
CPP='/lib/cpp -P' |
CPP='/lib/cpp -P' |
20 |
CC='xlc_r -q64' |
|
21 |
FC='xlf_r -q64' |
#FFLAGS="$FFLAGS -qfixed=72" |
22 |
LINK='xlf_r -q64' |
FFLAGS="$FFLAGS -qfixed=132" |
23 |
LIBS='-lmass -L/contrib/netcdf-3.6.2/lib' |
|
|
FFLAGS='-qfixed=132' |
|
24 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
25 |
# No need for IEEE-754 |
# No need for IEEE-754 |
26 |
FOPTIM='-O3 -Q -qarch=pwr6 -qtune=pwr6 -qcache=auto -qmaxmem=-1' |
FOPTIM='-O3 -Q -qarch=pwr6 -qtune=pwr6 -qcache=auto -qmaxmem=-1' |
27 |
CFLAGS='-O3 -Q -qarch=pwr6 -qtune=pwr6 -qcache=auto -qmaxmem=-1' |
CFLAGS=$FOPTIM |
28 |
else |
else |
|
# Try to follow IEEE-754 |
|
29 |
FOPTIM='-O3 -qstrict -Q -qarch=pwr6 -qtune=pwr6 -qcache=auto -qmaxmem=-1' |
FOPTIM='-O3 -qstrict -Q -qarch=pwr6 -qtune=pwr6 -qcache=auto -qmaxmem=-1' |
30 |
CFLAGS='-O3 -qstrict -Q -qarch=pwr6 -qtune=pwr6 -qcache=auto -qmaxmem=-1' |
CFLAGS=$FOPTIM |
31 |
fi |
fi |
|
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X" |
|
32 |
|
|
33 |
HPMTINC='' |
HPMTINC='' |
34 |
HPMTLIB='-lhpm_r -lpmapi' |
HPMTLIB='-lhpm_r -lpmapi' |
37 |
PAPIINC='-I/contrib/papi-3.6.2/include' |
PAPIINC='-I/contrib/papi-3.6.2/include' |
38 |
PAPILIB='-L/contrib/papi-3.6.2/lib -lpapi -lpmapi' |
PAPILIB='-L/contrib/papi-3.6.2/lib -lpapi -lpmapi' |
39 |
|
|
40 |
|
INCLUDES='-I/contrib/netcdf-3.6.2/include' |
41 |
|
LIBS='-lmass -L/contrib/netcdf-3.6.2/lib' |
42 |
|
|
43 |
|
if test "x$MPI" = xtrue ; then |
44 |
|
INCLUDES="-I/usr/lpp/ppe.poe/include/thread64 $INCLUDES" |
45 |
|
MPIINCLUDEDIR='/usr/lpp/ppe.poe/include/thread64' |
46 |
|
MPI_HEADER_FILES='mpif.h' |
47 |
|
MPI_HEADER_FILES_INC='./mpi_headers/mpif.h' |
48 |
|
fi |