22 |
LINK='mpxlf95_r -q64' |
LINK='mpxlf95_r -q64' |
23 |
LIBS='-L/export/soft/mass/4.1/aix5/lib -lmass -L/edvir1/soft/netcdf-3.5.1/64/lib -lnetcdf' |
LIBS='-L/export/soft/mass/4.1/aix5/lib -lmass -L/edvir1/soft/netcdf-3.5.1/64/lib -lnetcdf' |
24 |
|
|
25 |
FFLAGS='-qfixed=132' |
# increase allowed line length |
26 |
|
FFLAGS='-qfixed=132' |
27 |
|
# this initializes all reals to NaNQ and all integers to -1 |
28 |
|
#FFLAGS=${FFLAGS}' -qinitauto=FF' |
29 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
30 |
# No need for IEEE-754 |
# No need for IEEE-754 |
31 |
FOPTIM='-O3 -qhot -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1' |
FOPTIM='-O4 -qmaxmem=-1' |
32 |
# for some unknown reason, the -qhot option is not so hot with this file |
# if the above takes too long use a slightly less aggressive optimization |
33 |
# (compilation takes forever), therefore we take it out here |
#FOPTIM='-O3 -qhot -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1' |
34 |
NOOPTFILES='ini_curvilinear_grid.F' |
# for some unknown reason, the -qhot option (part of -O4 is not so hot |
35 |
NOOPTFLAGS='-O3 -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1' |
# with these files (compilation takes forever), therefore we overwrite it |
36 |
|
# here |
37 |
|
NOOPTFILES='ini_curvilinear_grid.F mon_stats_rs.F' |
38 |
|
NOOPTFLAGS=${FOPTIM}' -qnohot' |
39 |
else |
else |
40 |
# Try to follow IEEE-754 |
# Try to follow IEEE-754 |
41 |
FOPTIM='-O3 -qstrict -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1' |
FOPTIM='-O3 -qstrict -qstrictieeemod -qarch=pwr4 -qtune=pwr4 -qcache=auto -qmaxmem=-1' |
42 |
fi |
fi |
43 |
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X" |
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X" |
44 |
|
|