7 |
# Linux sx8 2.6.5-7.282-default #1 SMP Tue Aug 29 10:40:40 UTC 2006 ia64 ia64 ia64 GNU/Linux# |
# Linux sx8 2.6.5-7.282-default #1 SMP Tue Aug 29 10:40:40 UTC 2006 ia64 ia64 ia64 GNU/Linux# |
8 |
|
|
9 |
# nec use |
# nec use |
10 |
|
MAKEDEPEND='/usr/bin/X11/makedepend' |
11 |
CPP='/lib/cpp -traditional -P' |
CPP='/lib/cpp -traditional -P' |
12 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_NEC_SX -DWORDLENGTH=1 -UHAVE_SIGREG -DSEAICE_VECTORIZE_LSR' |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_NEC_SX -DWORDLENGTH=1 -UHAVE_SIGREG -DSEAICE_VECTORIZE_LSR -DCG2D_OUTERLOOPITERS=10' |
13 |
FC='sxmpif90' |
FC='sxmpif90' |
14 |
CC='sxcc -sx8r' |
CC='sxcc -sx8r' |
15 |
|
|
26 |
# used, therefore there are only a few examples here); unfortunately, these |
# used, therefore there are only a few examples here); unfortunately, these |
27 |
# flags break the genmake2 tests, so you will have to include them into the |
# flags break the genmake2 tests, so you will have to include them into the |
28 |
# makefile by hand |
# makefile by hand |
29 |
FEXTRAFLAGS='-pi fullmsg exp=timestep_tracer,ilnblnk,ifnblnk,cycle_tracer,pressure_for_eos rexp=bar2 expin=timestep_tracer.F,bar2.F,utils.F,cycle_tracer.F,pressure_for_eos.F' |
FEXTRAFLAGS='-pi auto fullmsg exp=barrier,ucase,timestep_tracer,ilnblnk,ifnblnk,cycle_tracer,pressure_for_eos rexp=fool_the_compiler,bar2 expin=barrier.F,timestep_tracer.F,fool_the_compiler.F,bar2.F,utils.F,cycle_tracer.F,pressure_for_eos.F' |
30 |
# additional candidates for inlining are parts of packages that are not |
# additional candidates for inlining are parts of packages that are not |
31 |
# always used, therefore use this at your own risk: |
# always used, therefore use this at your own risk: |
32 |
#FEXTRAFLAGS=${FEXTRAFLAGS}' -pi fullmsg exp= expin=' |
#FEXTRAFLAGS=${FEXTRAFLAGS}' -pi fullmsg exp= expin=' |
45 |
#FFLAGS=$FFLAGS' -ftrace' |
#FFLAGS=$FFLAGS' -ftrace' |
46 |
# default automatic optimization level |
# default automatic optimization level |
47 |
#FOPTIM='-C vopt' |
#FOPTIM='-C vopt' |
48 |
# highest automatic optimization level, handle with care |
if test "x$IEEE" = x ; then |
49 |
FOPTIM='-C hopt' |
# highest automatic optimization level, handle with care |
50 |
|
FOPTIM='-C hopt' |
51 |
|
|
52 |
# these files require lower optimization |
# these files require lower optimization |
53 |
NOOPTFILES='ini_forcing.F mom_calc_visc.F' |
NOOPTFILES='ini_forcing.F mom_calc_visc.F' |
54 |
NOOPTFLAGS='-C vopt' |
NOOPTFLAGS='-C vopt' |
55 |
|
else |
56 |
|
# Try to follow IEEE-754 |
57 |
|
# highest automatic optimization level, handle with care |
58 |
|
FOPTIM='-C vsafe' |
59 |
|
fi |
60 |
|
|
61 |
# awi specific paths and stuff |
# awi specific paths and stuff |
62 |
INCLUDES='-I/SX/usr/include -I/home/sx8/sx8bench/netcdf/include' |
INCLUDES='-I/SX/usr/include -I/home/sx8/sx8bench/netcdf/include' |