source: palm/trunk/SCRIPTS/.mrun.config.default @ 84

Last change on this file since 84 was 83, checked in by raasch, 18 years ago

New:
---

Changed:


PALM can be generally installed on any kind of Linux-, IBM-AIX-, or NEC-SX-system by adding appropriate settings to the configuration file.

Scripts are also running under the public domain ksh.

All system relevant compile and link options as well as the host identifier (local_host) are specified in the configuration file.

Filetransfer by ftp removed (options -f removed from mrun and mbuild).

Call of (system-)FLUSH routine moved to new routine local_flush.

return_addres and return_username are read from ENVPAR-NAMELIST-file instead of using local_getenv.

Preprocessor strings for different linux clusters changed to "lc", some preprocessor directives renamed (new: intel_openmp_bug), preprocessor directives for old systems removed

advec_particles, check_open, cpu_log, cpu_statistics, data_output_dvrp, flow_statistics, header, init_dvrp, init_particles, init_1d_model, init_dvrp, init_pegrid, local_getenv, local_system, local_tremain, local_tremain_ini, modules, palm, parin, run_control

new:
local_flush

mbuild, mrun

Errors:


File size: 17.0 KB
Line 
1#column 1          column 2                                   column 3
2#name of variable  value of variable (~ must not be used)     scope
3#----------------------------------------------------------------------------
4%mainprog          palm.f90
5%base_directory    $HOME/palm/current_version
6%base_data         ~/palm/current_version/JOBS
7%source_path       $base_directory/trunk/SOURCE
8%add_source_path   $base_directory/USER_CODE/$fname
9%depository_path   $base_directory/MAKE_DEPOSITORY
10%use_makefile      true
11#
12# Enter your own host below by adding another line containing in the second
13# column your hostname (as provided by the unix command "hostname") and in the
14# third column the host identifier. Depending on your system, the first
15# characters of the host identifier should be "lc" (Linux cluster), "ibm"
16# (IBM-AIX), or "nec" (NEC-SX), respectively.
17%host_identifier   bora        lcmuk
18%host_identifier   cs*         nech
19%host_identifier   hreg*-en0   ibmh
20%host_identifier   hanni*-en0  ibmh
21%host_identifier   breg*-en0   ibmb
22%host_identifier   berni*-en0  ibmb
23#
24#%remote_username   <replace by your linux cluster username>     lcmuk parallel
25%tmp_user_catalog  /tmp                                          lcmuk parallel
26%compiler_name     mpif90                                        lcmuk parallel
27%compiler_name_ser ifort                                         lcmuk parallel
28%cpp_options       -DMPI_REAL=MPI_DOUBLE_PRECISION:-DMPI_2REAL=MPI_2DOUBLE_PRECISION:-D__netcdf:-D__netcdf_64bit:-D__intel_openmp_bug   lcmuk parallel
29%netcdf_inc        -I:/muksoft/packages/netcdf/linux/include            lcmuk parallel
30%netcdf_lib        -L/muksoft/packages/netcdf/linux/lib:-lnetcdf        lcmuk parallel
31%fopts             -axW:-cpp:-openmp:-r8:-nbs:-convert:little_endian     lcmuk parallel
32%lopts             -axW:-cpp:-openmp:-r8:-nbs:-Vaxlib                    lcmuk parallel
33#%hostfile          $base_directory/.hostfile                    lcmuk parallel
34#
35#%remote_username  <replace by your linux cluster username>      lcmuk
36%tmp_user_catalog  /tmp                                          lcmuk
37%compiler_name     ifort                                         lcmuk
38%fopts             -axW:-cpp:-r8:-nbs:-convert:little:endian     lcmuk
39%lopts             -axW:-cpp:-r8:-nbs:-Vaxlib                    lcmuk
40#
41#%remote_username  <replace by your linux cluster username>      lcmuk trace
42%tmp_user_catalog  /tmp                                          lcmuk trace
43%compiler_name     ifort                                         lcmuk trace
44%fopts             -axW:-cpp:-g:-CB:-inline_debug_info:-r8:-nbs:-convert:little:endian     lcmuk trace
45%lopts             -axW:-cpp:-g:-CB:-inline_debug_info:-r8:-nbs:-Vaxlib                    lcmuk trace
46#
47#%remote_username   <replace by your HLRN username>           ibmh parallel
48%compiler_name     mpxlf95_r                                  ibmh parallel
49%compiler_name_ser xlf95                                      ibmh parallel
50%cpp_options       -qsuffix=cpp=f90:-WF,-DMPI_REAL=MPI_DOUBLE_PRECISION,-D__netcdf=__netcdf,-D__netcdf_64bit=__netcdf_64bit  ibmh parallel
51%dvrp_inc          -I/home/h/nikevita/lib_stable/optimize     ibmh parallel
52%dvrp_lib          -L/home/h/nikevita/lib_stable/optimize:-lDVRP2:-lftp  ibmh parallel
53%netcdf_inc        -I:/aws/dataformats/netcdf-3.6.0-p1/64-32/include-64 ibmh parallel
54%netcdf_lib        -L/aws/dataformats/netcdf-3.6.0-p1/64-32/lib:-lnetcdf        ibmh parallel
55%fopts             -O3:-g:-qfloat=nomaf:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape    ibmh parallel
56%lopts             -O3:-g:-qfloat=nomaf:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape:-lesslsmp   ibmh parallel
57%memory            1630                                       ibmh parallel
58%cpumax            1000                                       ibmh parallel
59%numprocs          4                                          ibmh parallel
60#%tmp_data_catalog  /fastfs/work/<replace by your HLRN username>/palm_restart_data    ibmh parallel
61#%email_notification  <replace by your email addres>          ibmh parallel
62#
63#%remote_username   <replace by your HLRN username>           ibmh parallel debug
64%compiler_name     mpxlf95_r                                  ibmh parallel debug
65%compiler_name_ser xlf95                                      ibmh parallel debug
66%fopts             -qnoopt:-g:-C:-qinitauto=FFFFFFFF:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap    ibmh parallel debug
67%lopts             -qnoopt:-g:-C:-qinitauto=FFFFFFFF:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap:-lesslsmp  ibmh parallel debug
68%memory            1000                                       ibmh parallel debug
69%cpumax            1000                                       ibmh parallel debug
70%numprocs          4                                          ibmh parallel debug
71#%tmp_data_catalog  /fastfs/work/<replace by your HLRN username>/palm_restart_data    ibmh parallel debug
72#
73#%remote_username   <replace by your HLRN username>           ibmb parallel
74%compiler_name     mpxlf95_r                                  ibmb parallel
75%compiler_name_ser xlf95                                      ibmb parallel
76%fopts             -O3:-g:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape    ibmb parallel
77%lopts             -O3:-g:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape:-lesslsmp  ibmb parallel
78%memory            1630                                       ibmb parallel
79%cpumax            1000                                       ibmb parallel
80%numprocs          4                                          ibmb parallel
81#%tmp_data_catalog  /fastfs/work/<replace by your HLRN username>/palm_restart_data    ibmb parallel debug
82#
83#%remote_username   <replace by your DKRZ username>           nech parallel
84%compiler_name     sxmpif90                                   nech parallel
85%compiler_name_ser sxf90                                      nech parallel
86%cpp_options       -Ep:-DMPI_REAL=MPI_REAL8:-DMPI_2REAL=MPI_2REAL8:-DSCFFT=DZFFT:-DCSFFT=ZDFFT:-D__netcdf:-D__netcdf_64bit  nech parallel
87%netcdf_inc        -I:/pool/SX-6/netcdf/netcdf-3.6.0-p1/include  nech parallel
88%netcdf_lib        -L/pool/SX-6/netcdf/netcdf-3.6.0-p1/lib:-lnetcdf  nech parallel
89%fopts             -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4:-pvctl:fullmsg\':-ftrace:-P:stack:-pi:auto:-pi:line=1000  nech parallel
90%lopts             -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4\':-ftrace:-P:stack:-pi:auto:-pi:line=1000:-L/SX/opt/MathKeisan/MK1_6/lib/:-l:fft  nech parallel
91%memory            4000                                       nech parallel
92%cpumax            1000                                       nech parallel
93%numprocs          4                                          nech parallel
94%tmp_data_catalog  $WRKSHR/palm_restart_data                  nech parallel
95#%email_notification  <replace by your email addres>          nech parallel
96#
97#%remote_username   <replace by your NEC-username>             neck parallel
98%compiler_name     sxmpif90                                   neck parallel
99%compiler_name_ser sxf90                                      neck parallel
100%cpp_options       -Ep:-DMPI_REAL=MPI_REAL8:-DMPI_2REAL=MPI_2REAL8:-DSCFFT=DZFFT:-DCSFFT=ZDFFT:-D__netcdf:-D__netcdf_64bit  neck parallel
101%netcdf_inc        -I:/home/DSRC/NC/tatuyama/pub/netcdf-3.6.0-p1/include  neck parallel
102%netcdf_lib        -L/home/DSRC/NC/tatuyama/pub/netcdf-3.6.0-p1/lib:-lnetcdf  neck parallel
103%dvrp_inc          -I/home/DSRC/NC/tatuyama/pub/dvrp          neck parallel
104%dvrp_lib          -L/home/DSRC/NC/tatuyama/pub/dvrp:-lDVRP2:-lftp  neck parallel
105%fopts             -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4:-pvctl:fullmsg\':-ftrace:-P:stack:-pi:auto:-pi:line=1000  neck parallel
106%lopts             -C:hopt:-Wf:\'-init:stack=nan:-init:heap=nan:-A:idbl4\':-ftrace:-P:stack:-pi:auto:-pi:line=1000:-L/SX/opt/MathKeisan/MK1_6/lib/:-l:fft  neck parallel
107%memory            4000                                       neck parallel
108%cpumax            1000                                       neck parallel
109%numprocs          4                                          neck parallel
110#%tmp_user_catalog  <replace by your temporary directory>     neck parallel
111#%tmp_data_catalog  <replace by your temp. dir.>/palm_restart_data   neck parallel
112#
113%source_path       $base_directory/SOURCE                     ibmy parallel
114%compiler_name     mpxlf95_r                                  ibmy parallel
115%compiler_name_ser xlf95                                      ibmy parallel
116%fopts             -O3:-g:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape    ibmy parallel
117%lopts             -O3:-g:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qtune=pwr4:-qarch=pwr4:-qnosave:-qnoescape    ibmy parallel
118%memory            1000                                       ibmy parallel
119%cpumax            1000                                       ibmy parallel
120%numprocs          4                                          ibmy parallel
121%remote_username   raasch                                     ibmy parallel
122%tmp_data_catalog  /usr1/users/raasch/work                    ibmy parallel
123%tmp_user_catalog  /usr1/users/raasch/work                    ibmy parallel
124%email_notification  raasch@muk.uni-hannover.de               ibmy parallel
125#
126%compiler_name     mpxlf95_r                                  ibmy parallel trace
127%compiler_name_ser xlf95                                      ibmy parallel trace
128%fopts             -qnoopt:-g:-C:-qinitauto=FFFFFFFF:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap  ibmy parallel trace
129%lopts             -qnoopt:-g:-C:-qinitauto=FFFFFFFF:-qrealsize=8:-Q:-q64:-qmaxmem=-1:-qnosave:-qnoescape:-qflttrap=overflow::zerodivide::invalid::enable:-qsigtrap  ibmy parallel trace
130%memory            1000                                       ibmy parallel trace
131%cpumax            1000                                       ibmy parallel trace
132%numprocs          4                                          ibmy parallel trace
133%remote_username   raasch                                     ibmy parallel trace
134%tmp_data_catalog  /usr1/users/raasch/work                    ibmy parallel trace
135%tmp_user_catalog  /usr1/users/raasch/work                    ibmy parallel trace
136%email_notification  raasch@muk.uni-hannover.de               ibmy parallel trace
137#
138%write_binary                true                             restart
139#
140#----------------------------------------------------------------------------
141# INPUT-commands, executed before running PALM - lines must start with "IC:"
142#----------------------------------------------------------------------------
143#IC:[[ \$( echo \$localhost | cut -c1-3 ) = t3e ]]  &&  assign -F cachea:512:1:1 f:BININ
144#
145#----------------------------------------------------------------------------
146# ERROR-commands - executed when program terminates abnormally
147#----------------------------------------------------------------------------
148EC:[[ \$locat = compile && ( \$( echo \$localhost | cut -c1-3 ) = t3e ) ]]  &&  cat  cflist.out
149EC:[[ \$locat = execution ]]  &&  cat  RUN_CONTROL
150EC:[[ \$locat = execution ]]  &&  cat  PARTICLE_INFOS/*
151EC:[[ \$( echo \$localhost | cut -c1-3 ) = t3e ]]  &&  ls -al
152EC:[[ \$( echo \$localhost | cut -c1-3 ) = ibm ]]  &&  ls -al
153#
154#----------------------------------------------------------------------------
155# OUTPUT-commands - executed when program terminates normally
156#----------------------------------------------------------------------------
157#
158OC:[[ -f CPU_MEASURES/_0000 ]]  &&  cat  CPU_MEASURES/* >> CPU_MEASURE_ALL
159# Combine 1D- and 3D-profile output (these files are not usable for plotting)
160OC:[[ -f LIST_PROFIL_1D     ]]  &&  cat  LIST_PROFIL_1D  >>  LIST_PROFILE
161OC:[[ -f LIST_PROFIL        ]]  &&  cat  LIST_PROFIL     >>  LIST_PROFILE
162#
163# Combine all particle information files
164OC:[[ -f PARTICLE_INFOS/_0000 ]]  &&  cat  PARTICLE_INFOS/* >> PARTICLE_INFO
165#
166# Extend number of files to be opened simultaneously (sometimes necessary
167# for combine_plot_fields
168#OC:[[ \$( echo \$localhost | cut -c1-3 ) = t3e ]]  &&  limit -v -f 255 -p 0
169#
170# Combine the 2D- and 3D-plot-data of the subdomains (one file per PE) to
171# one file respectively
172OC:[[ \$( echo \$localhost | cut -c1-3 ) = t3e ]]  &&  combine_plot_fields.x
173OC:[[ \$( echo \$localhost | cut -c1-3 ) = ibm ]]  &&  combine_plot_fields.x
174OC:[[ \$( echo \$localhost | cut -c1-3 ) = nec ]]  &&  combine_plot_fields.x
175OC:[[ \$( echo \$localhost | cut -c1-3 ) = dec ]]  &&  combine_plot_fields.x
176#
177# Combine parameter files necessary for plot software (iso2d + AVS)
178OC:[[ -f PLOT2D_XY_GLOBAL   ]]  &&  cat  PLOT2D_XY_LOCAL >> PLOT2D_XY_GLOBAL
179OC:[[ -f PLOT2D_XZ_GLOBAL   ]]  &&  cat  PLOT2D_XZ_LOCAL >> PLOT2D_XZ_GLOBAL
180OC:[[ -f PLOT2D_YZ_GLOBAL   ]]  &&  cat  PLOT2D_YZ_LOCAL >> PLOT2D_YZ_GLOBAL
181OC:[[ -f PLOT3D_FLD         ]]  &&  cat  PLOT3D_FLD_COOR >> PLOT3D_FLD
182#
183# tar all 3D-plot-data files in case that compressed output is switched on
184OC:[[ -f PLOT3D_COMPRESSED  ]]  &&  tar cf  PLOT3D_DATA  PLOT3D_DATA_*
185#
186#----------------------------------------------------------------------------
187# List of input-files
188#----------------------------------------------------------------------------
189PARIN                    in:job        d3#   $base_data/$fname/INPUT    _p3d
190PARIN                    in:job        d3f   $base_data/$fname/INPUT    _p3df
191TOPOGRAPHY_DATA          in:locopt     d3#   $base_data/$fname/INPUT    _topo
192BININ                    in:loc:flpe   d3f   $base_data/$fname/RESTART  _d3d
193PARTICLE_RESTART_DATA_IN in:loc:flpe   prtf  $base_data/$fname/RESTART  _rprt
194DATA_1D_PR_NETCDF        in:locopt     prf   $base_data/$fname/OUTPUT   _pr     nc
195DATA_1D_SP_NETCDF        in:locopt     spf   $base_data/$fname/OUTPUT   _sp     nc
196DATA_1D_TS_NETCDF        in:locopt     tsf   $base_data/$fname/OUTPUT   _ts     nc
197DATA_1D_PTS_NETCDF       in:locopt     ptsf  $base_data/$fname/OUTPUT   _pts    nc
198DATA_2D_XY_NETCDF        in:locopt     xyf   $base_data/$fname/OUTPUT   _xy     nc
199DATA_2D_XY_AV_NETCDF     in:locopt     xyf   $base_data/$fname/OUTPUT   _xy_av  nc
200DATA_2D_XZ_NETCDF        in:locopt     xzf   $base_data/$fname/OUTPUT   _xz     nc
201DATA_2D_YZ_NETCDF        in:locopt     yzf   $base_data/$fname/OUTPUT   _yz     nc
202DATA_3D_NETCDF           in:locopt     3df   $base_data/$fname/OUTPUT   _3d     nc
203DATA_PRT_NETCDF          in:locopt:pe  prtf  $base_data/$fname/OUTPUT   _prt
204#
205#----------------------------------------------------------------------------
206# List of output-files
207#----------------------------------------------------------------------------
208BINOUT                    out:loc:flpe restart   $base_data/$fname/RESTART  _d3d
209PARTICLE_RESTART_DATA_OUT out:loc:flpe prt#:prtf $base_data/$fname/RESTART  _rprt
210#
211RUN_CONTROL       out:loc:tr   d3#     $base_data/$fname/MONITORING  _rc
212RUN_CONTROL       out:loc:tra  d3f     $base_data/$fname/MONITORING  _rc
213HEADER            out:loc:tr   d3#     $base_data/$fname/MONITORING  _header
214HEADER            out:loc:tra  d3f     $base_data/$fname/MONITORING  _header
215CPU_MEASURES      out:loc:tr   d3#     $base_data/$fname/MONITORING  _cpu
216CPU_MEASURES      out:loc:tra  d3f     $base_data/$fname/MONITORING  _cpu
217DVRP_LOG          out:loc:tr   dv#     $base_data/$fname/MONITORING  _dvrp_log
218DVRP_LOG          out:loc:tra  dvf     $base_data/$fname/MONITORING  _dvrp_log
219PARTICLE_INFO     out:loc:tr   pt#     $base_data/$fname/MONITORING  _prt_info
220PARTICLE_INFO     out:loc:tra  ptf     $base_data/$fname/MONITORING  _prt_info
221#
222DATA_1D_PR_NETCDF    out:loc:tr   pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
223#DATA_1D_PR_NETCDF    out:loc      pr#:prf   $base_data/$fname/OUTPUT  _pr     nc
224DATA_1D_SP_NETCDF    out:loc:tr   sp#:spf   $base_data/$fname/OUTPUT  _sp     nc
225DATA_1D_TS_NETCDF    out:loc:tr   ts#:tsf   $base_data/$fname/OUTPUT  _ts     nc
226DATA_1D_PTS_NETCDF   out:loc:tr   pts#:ptsf $base_data/$fname/OUTPUT  _pts    nc
227DATA_2D_XY_NETCDF    out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy     nc
228DATA_2D_XY_AV_NETCDF out:loc:tr   xy#:xyf   $base_data/$fname/OUTPUT  _xy_av  nc
229DATA_2D_XZ_NETCDF    out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz     nc
230DATA_2D_XZ_AV_NETCDF out:loc:tr   xz#:xzf   $base_data/$fname/OUTPUT  _xz_av  nc
231DATA_2D_YZ_NETCDF    out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz     nc
232DATA_2D_YZ_AV_NETCDF out:loc:tr   yz#:yzf   $base_data/$fname/OUTPUT  _yz_av  nc
233DATA_3D_NETCDF       out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d     nc
234DATA_3D_AV_NETCDF    out:loc:tr   3d#:3df   $base_data/$fname/OUTPUT  _3d_av  nc
235DATA_PRT_NETCDF      out:loc:pe   prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
236DATA_PRT_NETCDF      out:loc:trpe prt#:prtf $base_data/$fname/OUTPUT  _prt    nc
237#
238PLOT3D_FLD        out:loc:tr   avs     $base_data/$fname/OUTPUT      _fld  fld
239PLOT3D_COOR       out:loc:tr   avs     $base_data/$fname/OUTPUT      _avscor
240PLOT3D_DATA       out:loc:tr   avs     $base_data/$fname/OUTPUT      _avs
241PARTICLE_DATA     out:loc:flpe prt#:prtf $base_data/$fname/OUTPUT    _prt_dat
242
Note: See TracBrowser for help on using the repository browser.