16 |
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _" |
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _" |
17 |
LINK='sxmpif90' |
LINK='sxmpif90' |
18 |
#LINK='sxmpif90 -p' # with profiler |
#LINK='sxmpif90 -p' # with profiler |
19 |
# output to *.L files |
FFLAGS='-Pstack -sx8r' |
20 |
FFLAGS='-Wf "-pvctl noassume loopcnt=5000000 fullmsg" -R2 -Pstack -sx8r' |
# additional options: |
21 |
# additional options |
# include a formated code and a listing of compiler transformations |
22 |
|
# in *.L files |
23 |
|
#FFLAGS=$FFLAGS' -R2' |
24 |
|
# assume a loop count of 5,000,000 instead of estimating it from field |
25 |
|
# declarations and include details messages about vectorization (if -R2 |
26 |
|
# specified) |
27 |
|
#FFLAGS=$FFLAGS' -Wf "-pvctl noassume loopcnt=5000000 fullmsg"' |
28 |
# This is how you inline routines (the actual routines depend on the packages |
# This is how you inline routines (the actual routines depend on the packages |
29 |
# used, therefore there are only a few examples here; |
# used, therefore there are only a few examples here; |
30 |
# edit this list in the Makefile, because including it here will break the |
# edit this list in the Makefile, because including it here will break the |
34 |
# define basic storage unit as 8 bytes (default is 4); does not work with |
# define basic storage unit as 8 bytes (default is 4); does not work with |
35 |
# netCDF (library needs recompilation, accordingly) |
# netCDF (library needs recompilation, accordingly) |
36 |
#FFLAGS=$FFLAGS' -ew' |
#FFLAGS=$FFLAGS' -ew' |
37 |
|
# trace output for performance analysis |
38 |
#FFLAGS=$FFLAGS' -ftrace' # trace output for performance analysis |
#FFLAGS=$FFLAGS' -ftrace' |
39 |
|
# default automatic optimization level |
40 |
|
#FOPTIM='-C vopt' |
41 |
# highest automatic optimization level, handle with care |
# highest automatic optimization level, handle with care |
42 |
#FOPTIM='-C hopt' |
FOPTIM='-C hopt' |
43 |
|
|
44 |
|
# these files require lower optimization |
45 |
|
NOOPTFILES='ini_forcing.F mom_calc_visc.F' |
46 |
|
NOOPTFLAGS='-C vopt' |
47 |
|
|
48 |
# awi specific paths and stuff |
# awi specific paths and stuff |
49 |
INCLUDES='-I/SX/usr/include -I/home/sx8/sx8bench/netcdf/include' |
INCLUDES='-I/SX/usr/include -I/home/sx8/sx8bench/netcdf/include' |