/[MITgcm]/MITgcm/tools/build_options/SUPER-UX_SX-8_sxf90+mpi_awi
ViewVC logotype

Annotation of /MITgcm/tools/build_options/SUPER-UX_SX-8_sxf90+mpi_awi

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (hide annotations) (download)
Tue Sep 25 19:28:19 2007 UTC (16 years, 7 months ago) by mlosch
Branch: MAIN
Changes since 1.4: +2 -2 lines
make SEAICE_VECTORIZE_LSR the default for our NEC SX8 (to improve
poor vector performance)

1 mlosch 1.1 #!/bin/bash
2     #
3 mlosch 1.5 # $Header: /u/gcmpack/MITgcm/tools/build_options/SUPER-UX_SX-8_sxf90+mpi_awi,v 1.4 2007/07/20 10:15:05 mlosch Exp $
4 mlosch 1.1 #
5 mlosch 1.2 # for cross compiling on sx8.awi.de
6     # uname -a:
7 mlosch 1.1 # 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
10     CPP='/lib/cpp -traditional -P'
11 mlosch 1.5 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_NEC_SX -DWORDLENGTH=1 -UHAVE_SIGREG -DSEAICE_VECTORIZE_LSR'
12 mlosch 1.2 FC='sxmpif90'
13     CC='sxcc -sx8r'
14    
15 mlosch 1.3 RMFILES='*.L'
16 mlosch 1.1 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
17     LINK='sxmpif90'
18 mlosch 1.2 #LINK='sxmpif90 -p' # with profiler
19 mlosch 1.4 FFLAGS='-Pstack -sx8r'
20     # additional options:
21     # 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 mlosch 1.2 # This is how you inline routines (the actual routines depend on the packages
29     # used, therefore there are only a few examples here;
30     # edit this list in the Makefile, because including it here will break the
31     # various tests in genmake2, maybe I will find a better way to do this
32     # later)
33     #FFLAGS=$FFLAGS' -pi fullmsg exp=timestep_tracer,ilnblnk,ifnblnk,cycle_tracer,pressure_for_eos rexp=bar2,fool_the_compiler expin=timestep_tracer.F,fool_the_compiler.F,bar2.F,utils.F,cycle_tracer.F,pressure_for_eos.F'
34     # define basic storage unit as 8 bytes (default is 4); does not work with
35     # netCDF (library needs recompilation, accordingly)
36     #FFLAGS=$FFLAGS' -ew'
37 mlosch 1.4 # trace output for performance analysis
38     #FFLAGS=$FFLAGS' -ftrace'
39     # default automatic optimization level
40     #FOPTIM='-C vopt'
41     # highest automatic optimization level, handle with care
42     FOPTIM='-C hopt'
43 mlosch 1.2
44 mlosch 1.4 # these files require lower optimization
45     NOOPTFILES='ini_forcing.F mom_calc_visc.F'
46     NOOPTFLAGS='-C vopt'
47 mlosch 1.1
48 mlosch 1.2 # awi specific paths and stuff
49 mlosch 1.1 INCLUDES='-I/SX/usr/include -I/home/sx8/sx8bench/netcdf/include'
50     LIBS='-L/home/sx8/sx8bench/netcdf/lib -lnetcdf'

  ViewVC Help
Powered by ViewVC 1.1.22