expert-default.rc 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. ! ######################################################################
  2. ! ###
  3. ! ### TM5 - Expert settings.
  4. ! ###
  5. ! ### The variables '${..}' in this file are expanded on reading.
  6. ! ### See the description in 'rc.py' .
  7. ! ### Special variables are (read 'S' as '$'):
  8. ! ### S{pid} : evalutates to the process id of the calling script
  9. ! ### S{script} : " " " name " " " "
  10. ! ###
  11. ! ######################################################################
  12. ! ------------------------------------------------
  13. ! logging
  14. ! ------------------------------------------------
  15. ! Default setting for print debug messages (True|False) ? Passing '--verbose'
  16. ! or '-v' options to setup_tm5 script will set this value to 'True'
  17. verbose : False
  18. ! set log file for setup script:
  19. logfile : ${script}.0000.log
  20. ! ------------------------------------------------
  21. ! run directory (where submit script, executable, and settings are installed)
  22. ! ------------------------------------------------
  23. rundir : ${my.run.dir}
  24. ! ------------------------------------------------
  25. ! build source
  26. ! ------------------------------------------------
  27. !
  28. ! Building an executable could consist of 3 steps:
  29. ! copy : gather a source code into a build directory
  30. ! configure : generate source files if necessary, create Makefile
  31. ! make : compile and link executable
  32. !
  33. ! absolute path of location where code is gathered
  34. build.prefix : ${my.project.dir}/build
  35. ! extend with flag groups ? e.g. build_optim-all_mpi
  36. ! a link with the original name will be created to this extended name
  37. build.prefix.extend : True
  38. ! actual source codes will end up here (must be one of build.copy.subdirs)
  39. build.sourcedir : ${build.prefix}
  40. ! Number of jobs (commands) to run simultaneously.
  41. ! An empty value indicates unlimitted number, which might claim all resources;
  42. ! better is to specify a value which will be the default maximum.
  43. ! The value is overwritten by the '-j' or '--jobs' flag passed to the submit script
  44. ! The final number (specified here or from the flags) will be inserted in the maker command:
  45. ! maker : gmake -j ${build.jobs}
  46. !
  47. build.jobs : 8
  48. ! remove existing build directory for a complete new copy of code and scripts ?
  49. ! NOTE: this flag is set to true by the '--new' option. This is equivalent to 'realclean' in many other programs.
  50. build.new : False
  51. !
  52. ! Create a source
  53. !
  54. ! gather source code into the build prefix directory (True|False) ?
  55. build.copy : True
  56. ! list of source directories, content of which (build.copy.subdirs) will be copied into build.prefix
  57. ! files in latest directory overwrite previously copied versions:
  58. build.copy.dirs : base ${my.source.levs} ${my.source.proj}
  59. ! what is copied from the build.copy.dirs (one of those must contains
  60. ! the bin with the pycasso scripts, UNLESS ${my.project.dir} is also
  61. ! current installation, i.e. "build in place" case)
  62. #if "${my.project.dir}" != "${PWD}":
  63. build.copy.subdirs : . ../bin
  64. #else
  65. build.copy.subdirs : .
  66. #endif
  67. ! remove project extenstions (True|False) ?
  68. build.copy.remove.__part : True
  69. ! skip some extensions (list of regex pattern) ?
  70. build.copy.skip.ext : \.pyc$ \..*~$ \..+#
  71. ! skip some files ? include in this list:
  72. ! o files that are (re)written by the scripts, e.g. include files and dims_grid.F90;
  73. ! if these are copied, the creation times are obscured, which leads to a
  74. ! re-make during every build
  75. ! o old stuff that should be removed in a new version;
  76. ! skip them now to test if these files are really not necessary anymore
  77. !
  78. build.copy.skip.file : configure config.compiler \
  79. Makefile.template Makefile.tm5 \
  80. parray_cwp.F90.in parray_iwp.F90.in parray_rwp.F90.in \
  81. file_hdf_iwp.F90.in file_hdf_rwp.F90.in \
  82. tmkit.F90 \
  83. advect.h \
  84. dims_grid.h_template dims_grid.F90 \
  85. mdf.h tmm.h tm5.h \
  86. mdf.inc tmm.inc tm5.inc \
  87. tmm_mf_hdf.F90 tmm_mf_grib.F90 tmm_mf_ecmwf_mars.F90 \
  88. rcfilename.h
  89. ! extend python path with '<build>/py' directory (True|False) ?
  90. build.copy.pypath : False
  91. !
  92. ! configure
  93. !
  94. ! configure source (True|False) ?
  95. build.configure : True
  96. ! * macro's
  97. ! defined macro's :
  98. build.configure.macro.define : ${my.df.define} \
  99. ${my.tmm.define} \
  100. ${my.tm5.define}
  101. ! Specify a list of macro groups:
  102. build.configure.macro.groups : go num grid mdf tmm tm5 user_output
  103. ! For each of the groups, specify:
  104. !
  105. ! o all supported macro's
  106. ! (sometimes necessary to identify which macros are NOT defined ...)
  107. !
  108. ! o optionally the name of header file; if provided,
  109. ! this file is filed with appropriate '#define' commands
  110. !
  111. ! In addition to the macro's defined here, others might be defined
  112. ! in 'pycasso_user_scripts/Build_Define' given the other settings.
  113. !
  114. ! ~ GO modules
  115. ! TO BE REMOVED:
  116. ! with_go # not necessary, go modules present by default
  117. ! PRINT_MINU # used for testing ?
  118. build.configure.macro.go.all : __INTEL_COMPILER \
  119. __GFORTRAN__ \
  120. __GNUC____GNUC_MINOR____GNUC_PATCHLEVEL__ \
  121. __IBMC__ \
  122. __ecmwf__ \
  123. with_go \
  124. PRINT_MINU
  125. build.configure.macro.go.hfile :
  126. !
  127. ! ~ num modules:
  128. build.configure.macro.num.all : with_lapack
  129. build.configure.macro.num.hfile :
  130. !
  131. ! ~ grid modules:
  132. build.configure.macro.grid.all : check_all
  133. build.configure.macro.grid.hfile :
  134. !
  135. ! ~ mdf interface to hdf/netcdf
  136. ! TO BE REMOVED:
  137. ! with_go # not necessary, go modules present by default
  138. ! with_hdf5_beta # testing ...
  139. build.configure.macro.mdf.all : with_hdf4 \
  140. with_hdf5 with_hdf5_par \
  141. with_netcdf with_netcdf4 with_netcdf4_par \
  142. with_go \
  143. with_hdf5_beta
  144. build.configure.macro.mdf.hfile : mdf.inc
  145. !
  146. ! ~ tmm meteo input
  147. build.configure.macro.tmm.all : with_tmm_tmpp \
  148. with_tmm_tm5 \
  149. with_tmm_ecmwf \
  150. with_tmm_ecearth \
  151. with_tmm_ncep \
  152. with_tmm_msc \
  153. with_prism \
  154. with_tmm_convec_raw with_tmm_convec_ec with_tmm_convec_ec_gg \
  155. with_gribex with_grib_api with_w3 \
  156. with_parallel_io_meteo \
  157. with_udunits1 with_udunits2
  158. build.configure.macro.tmm.hfile : tmm.inc
  159. !
  160. ! ~ tm5 settings
  161. !
  162. ! Cpp used in coupled version of TM5:
  163. my.macro.tm5.coupling.all : with_prism \
  164. oasis3 \
  165. oasis4 \
  166. with_tendencies \
  167. with_ecearth_optics \
  168. with_feedback
  169. !
  170. ! List of all C-pre-processors flags used in the code. BUT:
  171. !
  172. ! * Do not include macro for meteo (tmm* and mdf* files)
  173. ! * Move macros used in coupled version to my.macro.tm5.coupling.all
  174. ! * Move obsolete macros (i.e. to be deleted) to my.macro.tm5.old.all
  175. !
  176. ! See tools/misc/find_cpp script to generate initial list of macro
  177. ! starting by with_ or without_
  178. !
  179. build.configure.macro.tm5.all : slopes \
  180. secmom \
  181. MPI \
  182. _OPENMP \
  183. with_budgets \
  184. with_cariolle \
  185. with_lapack \
  186. with_m7 \
  187. with_aqchem \
  188. with_kpp \
  189. FULL_ALGEBRA \
  190. with_online_bvoc \
  191. with_online_nox \
  192. with_optics \
  193. with_optics_output \
  194. without_advection \
  195. without_boundary \
  196. without_chemistry \
  197. without_convection \
  198. without_diffusion \
  199. without_dry_deposition \
  200. without_emission \
  201. without_lmax_conv \
  202. without_nmhc_gfed \
  203. without_o3_nudging \
  204. without_photolysis \
  205. without_sedimentation \
  206. without_wet_deposition \
  207. with_ch4_emis \
  208. with_pm \
  209. with_w3 \
  210. with_netcdf4_par \
  211. with_zoom \
  212. tropomi \
  213. ${my.macro.tm5.coupling.all}
  214. ! Header file
  215. build.configure.macro.tm5.hfile : tm5.inc
  216. !
  217. ! cpp used in user output routines ()
  218. build.configure.macro.user_output.all : with_retro_output \
  219. with_cf_output
  220. ! Header file
  221. build.configure.macro.user_output.hfile :
  222. !
  223. ! REMOVED:
  224. ! with_mpi # should be MPI ?
  225. ! with_openmp # should be _OPENMP
  226. ! with_barrier # used for testing ?
  227. ! with_budget # should be with_budgets
  228. ! with_okdebug # via logical flag
  229. ! without_wetdeposition # should be without_wet_deposition
  230. ! with_restart # not necessary anymore with new restart module
  231. ! with_pnetcdf # depricated library; use netcdf4 instead
  232. ! with_go # should use module GO instead
  233. ! with_hdf # still in some tmkit.F90 in some 4D branches - should update
  234. my.macro.tm5.old.all : with_barrier \
  235. with_budget \
  236. with_go \
  237. with_mpi \
  238. with_okdebug \
  239. with_openmp \
  240. without_wetdeposition \
  241. with_restart \
  242. with_hdf \
  243. with_pnetcdf
  244. ! Pass macro definitions to command lines, e.g. -Dwith_this_flag (True|False) ?
  245. ! The source code checking tests on '#include "tm5.inc"',
  246. ! so this flag could be set to False:
  247. build.configure.define.D : False
  248. ! * remove files
  249. ! remove some files ?
  250. build.configure.remove :
  251. ! remove if macro's are *not* defined ? Use list of files and/or pattern (i.e. *,?, and range of characters with [])
  252. build.configure.remove.ifndef.MPI : mpi_const.F90 mpi_comm.F90
  253. build.configure.remove.ifndef.with_hdf4 : file_hdf.F90
  254. build.configure.remove.ifndef.with_tmm_tmpp : tmm_mf_tmpp.F90
  255. build.configure.remove.ifndef.with_tmm_tm5 : tmm_mf_tm5_hdf.F90 tmm_mf_tm5_nc.F90
  256. build.configure.remove.ifndef.with_tmm_ecmwf : tmm_mf_ecmwf_tmpp.F90 tmm_mf_ecmwf_tm5.F90 file_grib*.F90 grib_table.F90
  257. build.configure.remove.ifndef.with_tmm_ncep : tmm_mf_ncep_gfs.F90 tmm_mf_ncep_cdc.F90 file_ncb.F90 file_ncg.F90
  258. build.configure.remove.ifndef.with_tmm_msc : tmm_mf_msc.F90
  259. build.configure.remove.ifndef.with_prism : prism_putget.F90 tmm_mf_prism.F90 tm5_prism.F90 appl-tm5.F90
  260. build.configure.remove.ifndef.with_tendencies : tm5_tendency.F90 tm5_tendency_eval.F90
  261. build.configure.remove.ifndef.with_budgets : budget_global.F90
  262. build.configure.remove.ifndef.with_udunits1 : udunits.F90 udunits_inc.F
  263. build.configure.remove.ifndef.with_udunits2 : f_udunits_2.f90 f_udunits_2.inc
  264. build.configure.remove.ifndef.with_m7 : mo_*.F90 m7_*.F90 m7.F90 emission_ss.F90 emission_pom.F90 emission_dust.F90 emission_bc.F90 PM.F90 optics.F90 calc_pm.F90 user_output_aerocom.F90 user_output_general.F90
  265. build.configure.remove.ifndef.with_aqchem : aqchem.F90
  266. build.configure.remove.ifndef.with_kpp : kpp_aqchem.F90
  267. build.configure.remove.ifndef.with_cariolle : tm5_climat.F90 file_fortkeld.F90 file_cariolle.F90 chemistry_cariolle.F90 chemistry_0d__o3tracer.F90
  268. build.configure.remove.ifndef.with_ecearth_optics : ecearth_optics.F90
  269. build.configure.remove.ifndef.with_gribex : file_grib_gribex.F90
  270. build.configure.remove.ifndef.with_grib_api : file_grib_api.F90
  271. ! - for proj/user_output/
  272. build.configure.remove.ifndef.with_cf_output : user_output_cf.F90
  273. ! - for M7 modules:
  274. build.configure.remove.ifndef.with_optics : optics.F90 user_output_aerocom.F90 user_output_general.F90
  275. build.configure.remove.ifndef.with_pm : PM.F90
  276. ! remove if macro's are defined ? Use list of files and/or pattern (i.e. *,?, and range of characters with [])
  277. build.configure.remove.ifdef.without_advection : advectx.F90 advecty.F90 advectz.F90
  278. build.configure.remove.ifdef.without_diffusion : diffusion.F90
  279. build.configure.remove.ifdef.without_wet_deposition : wet_deposition.F90
  280. build.configure.remove.ifdef.without_dry_deposition : dry_deposition.F90
  281. build.configure.remove.ifdef.without_photolysis : photolysis.i photolysis.F90 photolysis_data.F90
  282. build.configure.remove.ifdef.without_emission : emission.F90
  283. build.configure.remove.ifdef.without_convection : convection.F90
  284. build.configure.remove.ifdef.without_boundary : boundary.F90
  285. build.configure.remove.ifdef.without_chemistry : chemistry.F90 ebischeme.F90
  286. build.configure.remove.ifdef.without_sedimentation : sedimentation.F90
  287. build.configure.remove.ifdef.oasis3 : tracer.F90
  288. ! * compiler flags
  289. ! Specify space seperated list of compiler flag groups.
  290. ! See the implementation in 'pycasso_user_scripts/Build_FlagGroups' .
  291. ! Two groups are added by default, and eventually openmp is added if necessary:
  292. ! default real8 [openmp]
  293. ! For the actual compiler flags set by a group, see the compiler specific settings.
  294. !
  295. build.configure.flags : ${my.build.configure.flags}
  296. ! include file to be written for Makefile:
  297. build.configure.flags.includefile : Makefile_flags
  298. ! * LIBRARIES
  299. !-------------
  300. ! Libraries to be included are specified with a list of keywords, e.g.:
  301. ! netcdf hdf5 hdf4 z jpeg gribex
  302. ! For each library name, 2 lines should be present that specify
  303. ! the compile and link flags (probably in the host specific rcfile)
  304. !
  305. ! For TotalView with memory debugging, add the 'tv' library.
  306. ! list of all supported (ie in your machine rc) libraries; this defines the linking order !
  307. build.configure.libs.all : netcdf4_par netcdf4 netcdf hdf5_par hdf5 hdf4 sz jpeg z gribex grib_api lapack udunits1 udunits2 mpi tv oasis3
  308. !
  309. ! ~ default libraries:
  310. build.configure.libs :
  311. !
  312. ! ~ libraries to be included if a specific marcro is defined:
  313. build.configure.libs.ifdef.with_pnetcdf : pnetcdf
  314. build.configure.libs.ifdef.with_netcdf4_par : netcdf4_par
  315. build.configure.libs.ifdef.with_netcdf4 : netcdf4
  316. build.configure.libs.ifdef.with_netcdf : netcdf
  317. build.configure.libs.ifdef.with_hdf5_par : hdf5_par sz jpeg z
  318. build.configure.libs.ifdef.with_hdf5 : hdf5 sz jpeg z
  319. build.configure.libs.ifdef.with_hdf4 : hdf4 sz jpeg z
  320. build.configure.libs.ifdef.with_gribex : gribex
  321. build.configure.libs.ifdef.with_grib_api : grib_api
  322. build.configure.libs.ifdef.with_lapack : lapack
  323. build.configure.libs.ifdef.with_mpi : mpi
  324. build.configure.libs.ifdef.with_udunits1 : udunits1
  325. build.configure.libs.ifdef.with_udunits2 : udunits2
  326. build.configure.libs.ifdef.oasis3 : oasis3
  327. ! * user configuration
  328. ! routine 'Build_Configure' in 'pycasso_user_scripts.py' is called now;
  329. ! use this routine to write special include files etc.
  330. ! Apply some source code checks ?
  331. ! Provide a space seperated list with keywords; for each keyword, provide below:
  332. ! o a short message to describe the test;
  333. ! o the filename pattern to select the files on which the test should be applied;
  334. ! o a filename pattern to exclude some files;
  335. ! o a python boolean expression applied to each line of the file;
  336. ! the line itself is stored in a string variable named 'line';
  337. ! o a help text to be displayed in case a warning is issued;
  338. ! include \n for newlines.
  339. ! If for one of the lines in a source file the test evaluates to 'True',
  340. ! a warning is issued.
  341. ! If the test expression starts with 'not', a warning is issued if none
  342. ! of the lines evaluates to 'True' for the test after the 'not'.
  343. ! If the 'error' flag is set to 'True' and any warnings are issued, then
  344. ! the scripting will exit with an error status.
  345. ! list with keywords for checks to be applied:
  346. build.configure.checks : tm5_inc tmm_inc advect_h
  347. ! all TM files should include "tm5.inc"; search files that do not do that:
  348. build.configure.check.tm5_inc.msg : Test on TM5 files that do no not include "tm5.inc" ...
  349. build.configure.check.tm5_inc.files : *.[Ff]* tmm_mf_prism.F90
  350. build.configure.check.tm5_inc.skip : binas* parray* file_hdf* go* num* grid* phys* tmm* mdf* *grib* \
  351. xmlf* *udunits* standard_name_table.f90 *.swp .*
  352. build.configure.check.tm5_inc.test : not line.startswith('#include "tm5.inc"')
  353. build.configure.check.tm5_inc.help : \n\
  354. All files TM5 files should include "tm5.inc" in the header.\n\
  355. This include file is filled by the scripting with '#define' pre-processing macros.\n\
  356. To compile a source code with TM5 files that do not include "tm5.inc",\n\
  357. ensure that marco definitions are passed to the compiler directly by setting:\n\
  358. . build.configure.define.D : True\n\
  359. in the expert.rc file.\n\
  360. .
  361. ! all TMM files should include "tmm.inc"; search files that do not do that:
  362. build.configure.check.tmm_inc.msg : Test on TMM files that do no not include "tmm.inc" ...
  363. build.configure.check.tmm_inc.files : tmm*.[Ff]* file_grib.F90
  364. build.configure.check.tmm_inc.skip : tmm_mf_prism.F90
  365. build.configure.check.tmm_inc.test : not line.startswith('#include "tmm.inc"')
  366. build.configure.check.tmm_inc.help : \n\
  367. All files TMM files should include "tmm.inc" in the header.\n\
  368. This include file is filled by the scripting with '#define' pre-processing macros.\n\
  369. To compile a source code with TMM files that do not include "tmm.inc",\n\
  370. ensure that marco definitions are passed to the compiler directly by setting:\n\
  371. . build.configure.define.D : True\n\
  372. in the expert.rc file.\n\
  373. .
  374. ! none of the TM files should include "advect.h" anymore:
  375. build.configure.check.advect_h.msg : Test on TM5 files that include "advect.h" ...
  376. build.configure.check.advect_h.files : *.[Ff]*
  377. build.configure.check.advect_h.skip : binas* file_hdf* go* num* grid* phys* tmm*
  378. build.configure.check.advect_h.test : line.startswith('#include "advect.h"')
  379. build.configure.check.advect_h.help : \n\
  380. Including "advect.h" is depricated; include "tm5.inc" instead.\n\
  381. .
  382. ! special: check on unknown macros used in '#if[n]def' lines,
  383. ! but not listed in .all lists above ?
  384. build.configure.check.unknown_macro : True
  385. build.configure.check.unknown_macro.msg : Test for unsupported macros ...
  386. ! in case some strange things are found, leave with error message (True|False)?
  387. build.configure.checks.error : True
  388. ! * makedep
  389. ! create depencencies using the external 'makedep' program (True|False) ?
  390. build.configure.makedep : True
  391. ! include file to be written for Makefile:
  392. build.configure.makedep.includefile : Makefile_deps
  393. ! dependencies are created for files matching the pattern:
  394. build.configure.makedep.files : *.[Ff]*
  395. !
  396. ! Compilation (if need to be submitted to the queue, add a build.make.submit key and related queue.*.option.build.* to your machine file - see example in machine-ecmwf-cca-cray.rc)
  397. !
  398. build.make : True
  399. build.make.dir : ${build.prefix}
  400. ! the '--clean' or '-c' flag is provided to the setup script
  401. build.make.clean : False
  402. ! make target
  403. #if "oasis3" in "${my.tm5.define}":
  404. build.make.exec : appl-tm5.x
  405. #else
  406. build.make.exec : tm5.x
  407. #endif
  408. ! ------------------------------------------------
  409. ! install executable and scripts
  410. ! ------------------------------------------------
  411. !
  412. ! Copy files into run directory.
  413. ! Specify a space seperated list with source files.
  414. ! If the copy should obtain another name, append it seperated with a ':', e.g.
  415. ! model.x:model-myproject.x
  416. !
  417. ! If 'rundir' key is not empty, then 'install.copy' *must* include the
  418. ! 'submit.script' key value ("submit_tm5" here), and should not be renamed (why?)
  419. !
  420. ! Include the build directory if necessary, e.g. '${build.prefix}/src/model.x' .
  421. !
  422. #if "oasis3" not in "${my.tm5.define}":
  423. install.copy : ${build.prefix}/${build.make.exec}:${job.step.run.exe} \
  424. ${build.prefix}/../bin/submit_tm5
  425. #else
  426. install.copy : ${build.prefix}/bin/submit_tm5
  427. #endif
  428. ! name of processed rc file to be written (original this file);
  429. ! leave empty for not writing:
  430. install.rc : ${my.basename}.rc
  431. ! ------------------------------------------------
  432. ! Post-processing : archive sources
  433. ! ------------------------------------------------
  434. ! Add the name 'sources' to the 'store.tasks' list to enable this!
  435. ! specify how to store source files wiht output:
  436. ! o store with respect to rundir run directory:
  437. sources.store.from : ..
  438. ! o target file name:
  439. sources.store.files : ${my.basename}__sources.tar
  440. ! o filter for files to be included:
  441. sources.store.tarfilter : build/bin/ \
  442. build/src/Makefile* \
  443. build/src/*.[Ff]* \
  444. build/src/*.inc \
  445. run/${install.rc}
  446. ! ------------------------------------------------
  447. ! job script
  448. ! ------------------------------------------------
  449. ! name of job in queue etc:
  450. job.name : ${my.basename}
  451. ! names used for job steps (can be overwritten on the command line
  452. ! with --steps='init' for example)
  453. job.steps : init run done
  454. ! executable used by the 'run' step:
  455. job.step.run.exe : ${my.basename}.x
  456. ! ------------------------------------------------
  457. ! submit script
  458. ! ------------------------------------------------
  459. ! name of submit script:
  460. submit.script : submit_tm5
  461. ! full submit command from rundirectory:
  462. submit.command : ./${submit.script} ${job.step.run.exe} ${install.rc}
  463. ! try to use relative paths if possible ?
  464. ! this will facilitate moving the complete build/run/output directory:
  465. submit.relpaths : False
  466. ! abs. path to bin, without 'bin' itself (default to ${build.prefix}). This must be, and could be coded as, ${build.prefix}/${build.copy.subdirs}[element with bin]
  467. submit.bin.path : ${my.project.dir}
  468. ! submit job to : foreground | background | queue
  469. ! might be replaced given the flags passed to the submit script
  470. submit.to : foreground
  471. ! options passed directly to a submission command (llsubmit, qsub, ...):
  472. submit.options :
  473. ! run in debugger (True|False) ?
  474. submit.debugger : False
  475. ! ------------------------------------------------
  476. ! horizontal grids
  477. ! ------------------------------------------------
  478. !
  479. ! List with model regions (space seperated):
  480. !
  481. ! o the routine 'dims_grid' is automatically re-written if the region list
  482. ! change ;
  483. !
  484. ! o do not include the 'globe' and 'glb100x100' regions in the region list
  485. ! but specify them seperately below;
  486. !
  487. ! o the parameter 'nregions' will be set to the number of regions in
  488. ! this list;
  489. regions : ${my.region1}
  490. ! special: single cell global region:
  491. region.globe : globe
  492. ! special: global surface fields (unless region 1 is on the same grid)
  493. #if ("${my.region1}" == "glb100x100") or ("${my.region1}" == "glb050x050") :
  494. region.glbsfc :
  495. #else:
  496. region.glbsfc : glb100x100
  497. #endif
  498. ! parent regions for zoom; Must use 'globe' for the global region:
  499. region.${my.region1}.parent : ${region.globe}
  500. ! 'parent' region for global surface field; used to match surface
  501. ! pressures if necessary:
  502. #if ("${my.region1}" != "glb100x100") and ("${my.region1}" != "glb050x050") :
  503. region.${region.glbsfc}.parent : ${my.region1}
  504. #endif
  505. !=====================================================================!
  506. ! OpenMP keys are not an option yet. !
  507. !=====================================================================!
  508. par.openmp : F
  509. par.nthread : 1
  510. !=====================================================================!
  511. ! Miscelleaneous (do not modify, unless you know what you're doing!) !
  512. !=====================================================================!
  513. jobstep : 0
  514. jobstep.timerange.start : ${timerange.start}
  515. jobstep.timerange.end : ${timerange.end}
  516. prev.output.dir :
  517. ! code source for levels definition
  518. #if "${my.levs}" == "all"
  519. my.source.levs : levels/${my.eclevs}
  520. #else
  521. my.source.levs : levels/${my.eclevs} levels/${my.eclevs}/${my.levs}
  522. #endif