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

Diff 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 | View Patch Patch

revision 1.2 by mlosch, Fri May 25 14:57:51 2007 UTC revision 1.6 by mlosch, Thu Sep 27 15:00:21 2007 UTC
# Line 8  Line 8 
8    
9  # nec use  # nec use
10  CPP='/lib/cpp -traditional -P'  CPP='/lib/cpp -traditional -P'
11  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_NEC_SX -DWORDLENGTH=1 -UHAVE_SIGREG'  DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DTARGET_NEC_SX -DWORDLENGTH=1 -UHAVE_SIGREG -DSEAICE_VECTORIZE_LSR'
12  FC='sxmpif90'  FC='sxmpif90'
13  CC='sxcc -sx8r'  CC='sxcc -sx8r'
14    
15    RMFILES='*.L'
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'  # automatic inlining for routines < 50 lines (default) and in the same file
21  # additional options  # where they are to be inlined (we do not have too many of those)
22  # This is how you inline routines (the actual routines depend on the packages  FFLAGS=$FFLAGS' -pi'
23  # used, therefore there are only a few examples here;  # This is how you inline external routines if they are longer than 50 lines
24  # edit this list in the Makefile, because including it here will break the  # and live in a separate file (the actual routines depend on the packages
25  # various tests in genmake2, maybe I will find a better way to do this  # used, therefore there are only a few examples here); unfortunately, these
26  # later)  # flags break the genmake2 tests, so you will have to include them into the
27  #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'  # makefile by hand
28    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'
29    # additional candidates for inlining are parts of packages that are not
30    # always used, therefore use this at your own risk:
31    #FEXTRAFLAGS=${FEXTRAFLAGS}' -pi fullmsg exp= expin='
32    # additional options:
33    # include a formated code listing and a listing of compiler transformations
34    # in *.L files
35    #FFLAGS=$FFLAGS' -R2'
36    # assume a loop count of 5,000,000 instead of estimating it from field
37    # declarations and include details messages about vectorization (if -R2
38    # specified)
39    #FFLAGS=$FFLAGS' -Wf "-pvctl noassume loopcnt=5000000 fullmsg"'
40  # 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
41  # netCDF (library needs recompilation, accordingly)  # netCDF (library needs recompilation, accordingly)
42  #FFLAGS=$FFLAGS' -ew'    #FFLAGS=$FFLAGS' -ew'  
43    # trace output for performance analysis
44  #FFLAGS=$FFLAGS' -ftrace' # trace output for performance analysis  #FFLAGS=$FFLAGS' -ftrace'
45    # default automatic optimization level
46    #FOPTIM='-C vopt'
47  # highest automatic optimization level, handle with care  # highest automatic optimization level, handle with care
48  #FOPTIM='-C hopt'  FOPTIM='-C hopt'
49    
50    # these files require lower optimization
51    NOOPTFILES='ini_forcing.F mom_calc_visc.F'
52    NOOPTFLAGS='-C vopt'
53    
54  # awi specific paths and stuff  # awi specific paths and stuff
55  INCLUDES='-I/SX/usr/include -I/home/sx8/sx8bench/netcdf/include'  INCLUDES='-I/SX/usr/include -I/home/sx8/sx8bench/netcdf/include'

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22