expert-theia.rc 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  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}.${pid}.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 : ${my.svn.dir}/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 udunits_version.inc
  89. ! extend python path with '<build>/py' directory (True|False) ?
  90. build.copy.pypath : True
  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_grib_api \
  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 user_output_aerchemmip.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_grib_api : file_grib_api.F90
  270. ! - for proj/user_output/
  271. build.configure.remove.ifndef.with_cf_output : user_output_cf.F90
  272. ! - for M7 modules:
  273. build.configure.remove.ifndef.with_optics : optics.F90 user_output_aerocom.F90 user_output_general.F90
  274. build.configure.remove.ifndef.with_pm : PM.F90
  275. ! remove if macro's are defined ? Use list of files and/or pattern (i.e. *,?, and range of characters with [])
  276. build.configure.remove.ifdef.without_advection : advectx.F90 advecty.F90 advectz.F90
  277. build.configure.remove.ifdef.without_diffusion : diffusion.F90
  278. build.configure.remove.ifdef.without_wet_deposition : wet_deposition.F90
  279. build.configure.remove.ifdef.without_dry_deposition : dry_deposition.F90
  280. build.configure.remove.ifdef.without_photolysis : photolysis.i photolysis.F90 photolysis_data.F90
  281. build.configure.remove.ifdef.without_emission : emission.F90
  282. build.configure.remove.ifdef.without_convection : convection.F90
  283. build.configure.remove.ifdef.without_boundary : boundary.F90
  284. build.configure.remove.ifdef.without_chemistry : chemistry.F90 ebischeme.F90
  285. build.configure.remove.ifdef.without_sedimentation : sedimentation.F90
  286. build.configure.remove.ifdef.oasis3 : tracer.F90
  287. ! * compiler flags
  288. ! Specify space seperated list of compiler flag groups.
  289. ! See the implementation in 'pycasso_user_scripts/Build_FlagGroups' .
  290. ! Two groups are added by default, and eventually openmp is added if necessary:
  291. ! default real8 [openmp]
  292. ! For the actual compiler flags set by a group, see the compiler specific settings.
  293. !
  294. build.configure.flags : ${my.build.configure.flags}
  295. ! include file to be written for Makefile:
  296. build.configure.flags.includefile : Makefile_flags
  297. ! * LIBRARIES
  298. !-------------
  299. ! Libraries to be included are specified with a list of keywords, e.g.:
  300. ! netcdf hdf5 hdf4 z jpeg
  301. ! For each library name, 2 lines should be present that specify
  302. ! the compile and link flags (probably in the host specific rcfile)
  303. !
  304. ! For TotalView with memory debugging, add the 'tv' library.
  305. ! list of all supported (ie in your machine rc) libraries; this defines the linking order !
  306. build.configure.libs.all : netcdf4_par netcdf4 netcdf hdf5_par hdf5 hdf4 sz jpeg z grib_api lapack udunits1 udunits2 mpi tv oasis3
  307. !
  308. ! ~ default libraries:
  309. build.configure.libs :
  310. !
  311. ! ~ libraries to be included if a specific marcro is defined:
  312. build.configure.libs.ifdef.with_pnetcdf : pnetcdf
  313. build.configure.libs.ifdef.with_netcdf4_par : netcdf4_par
  314. build.configure.libs.ifdef.with_netcdf4 : netcdf4
  315. build.configure.libs.ifdef.with_netcdf : netcdf
  316. build.configure.libs.ifdef.with_hdf5_par : hdf5_par sz jpeg z
  317. build.configure.libs.ifdef.with_hdf5 : hdf5 sz jpeg z
  318. build.configure.libs.ifdef.with_hdf4 : hdf4 sz jpeg z
  319. build.configure.libs.ifdef.with_grib_api : grib_api
  320. build.configure.libs.ifdef.with_lapack : lapack
  321. build.configure.libs.ifdef.with_mpi : mpi
  322. build.configure.libs.ifdef.with_udunits1 : udunits1
  323. build.configure.libs.ifdef.with_udunits2 : udunits2
  324. build.configure.libs.ifdef.oasis3 : oasis3
  325. ! * user configuration
  326. ! routine 'Build_Configure' in 'pycasso_user_scripts.py' is called now;
  327. ! use this routine to write special include files etc.
  328. ! Apply some source code checks ?
  329. ! Provide a space seperated list with keywords; for each keyword, provide below:
  330. ! o a short message to describe the test;
  331. ! o the filename pattern to select the files on which the test should be applied;
  332. ! o a filename pattern to exclude some files;
  333. ! o a python boolean expression applied to each line of the file;
  334. ! the line itself is stored in a string variable named 'line';
  335. ! o a help text to be displayed in case a warning is issued;
  336. ! include \n for newlines.
  337. ! If for one of the lines in a source file the test evaluates to 'True',
  338. ! a warning is issued.
  339. ! If the test expression starts with 'not', a warning is issued if none
  340. ! of the lines evaluates to 'True' for the test after the 'not'.
  341. ! If the 'error' flag is set to 'True' and any warnings are issued, then
  342. ! the scripting will exit with an error status.
  343. ! list with keywords for checks to be applied:
  344. build.configure.checks : tm5_inc tmm_inc advect_h
  345. ! all TM files should include "tm5.inc"; search files that do not do that:
  346. build.configure.check.tm5_inc.msg : Test on TM5 files that do no not include "tm5.inc" ...
  347. build.configure.check.tm5_inc.files : *.[Ff]* tmm_mf_prism.F90
  348. build.configure.check.tm5_inc.skip : binas* parray* file_hdf* go* num* grid* phys* tmm* mdf* *grib* \
  349. xmlf* *udunits* standard_name_table.f90 *.swp .*
  350. build.configure.check.tm5_inc.test : not line.startswith('#include "tm5.inc"')
  351. build.configure.check.tm5_inc.help : \n\
  352. All files TM5 files should include "tm5.inc" in the header.\n\
  353. This include file is filled by the scripting with '#define' pre-processing macros.\n\
  354. To compile a source code with TM5 files that do not include "tm5.inc",\n\
  355. ensure that marco definitions are passed to the compiler directly by setting:\n\
  356. . build.configure.define.D : True\n\
  357. in the expert.rc file.\n\
  358. .
  359. ! all TMM files should include "tmm.inc"; search files that do not do that:
  360. build.configure.check.tmm_inc.msg : Test on TMM files that do no not include "tmm.inc" ...
  361. build.configure.check.tmm_inc.files : tmm*.[Ff]* file_grib.F90
  362. build.configure.check.tmm_inc.skip : tmm_mf_prism.F90
  363. build.configure.check.tmm_inc.test : not line.startswith('#include "tmm.inc"')
  364. build.configure.check.tmm_inc.help : \n\
  365. All files TMM files should include "tmm.inc" in the header.\n\
  366. This include file is filled by the scripting with '#define' pre-processing macros.\n\
  367. To compile a source code with TMM files that do not include "tmm.inc",\n\
  368. ensure that marco definitions are passed to the compiler directly by setting:\n\
  369. . build.configure.define.D : True\n\
  370. in the expert.rc file.\n\
  371. .
  372. ! none of the TM files should include "advect.h" anymore:
  373. build.configure.check.advect_h.msg : Test on TM5 files that include "advect.h" ...
  374. build.configure.check.advect_h.files : *.[Ff]*
  375. build.configure.check.advect_h.skip : binas* file_hdf* go* num* grid* phys* tmm*
  376. build.configure.check.advect_h.test : line.startswith('#include "advect.h"')
  377. build.configure.check.advect_h.help : \n\
  378. Including "advect.h" is depricated; include "tm5.inc" instead.\n\
  379. .
  380. ! special: check on unknown macros used in '#if[n]def' lines,
  381. ! but not listed in .all lists above ?
  382. build.configure.check.unknown_macro : True
  383. build.configure.check.unknown_macro.msg : Test for unsupported macros ...
  384. ! in case some strange things are found, leave with error message (True|False)?
  385. build.configure.checks.error : True
  386. ! * makedep
  387. ! create depencencies using the external 'makedep' program (True|False) ?
  388. build.configure.makedep : True
  389. ! include file to be written for Makefile:
  390. build.configure.makedep.includefile : Makefile_deps
  391. ! dependencies are created for files matching the pattern:
  392. build.configure.makedep.files : *.[Ff]*
  393. !
  394. ! 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)
  395. !
  396. build.make : True
  397. build.make.dir : ${build.prefix}
  398. ! the '--clean' or '-c' flag is provided to the setup script
  399. build.make.clean : False
  400. ! make target
  401. #if "oasis3" in "${my.tm5.define}":
  402. build.make.exec : appl-tm5.x
  403. #else
  404. build.make.exec : tm5.x
  405. #endif
  406. ! ------------------------------------------------
  407. ! install executable and scripts
  408. ! ------------------------------------------------
  409. !
  410. ! Copy files into run directory.
  411. ! Specify a space seperated list with source files.
  412. ! If the copy should obtain another name, append it seperated with a ':', e.g.
  413. ! model.x:model-myproject.x
  414. !
  415. ! If 'rundir' key is not empty, then 'install.copy' *must* include the
  416. ! 'submit.script' key value ("submit_tm5" here), and should not be renamed (why?)
  417. !
  418. ! Include the build directory if necessary, e.g. '${build.prefix}/src/model.x' .
  419. !
  420. #if "oasis3" not in "${my.tm5.define}":
  421. install.copy : ${build.prefix}/${build.make.exec}:${job.step.run.exe} \
  422. ${build.prefix}/../bin/submit_tm5
  423. #else
  424. install.copy : ${build.prefix}/bin/submit_tm5
  425. #endif
  426. ! name of processed rc file to be written (original this file);
  427. ! leave empty for not writing:
  428. install.rc : ${my.basename}.rc
  429. ! ------------------------------------------------
  430. ! Post-processing : archive sources
  431. ! ------------------------------------------------
  432. ! Add the name 'sources' to the 'store.tasks' list to enable this!
  433. ! specify how to store source files wiht output:
  434. ! o store with respect to rundir run directory:
  435. sources.store.from : ..
  436. ! o target file name:
  437. sources.store.files : ${my.basename}__sources.tar
  438. ! o filter for files to be included:
  439. sources.store.tarfilter : build/bin/ \
  440. build/src/Makefile* \
  441. build/src/*.[Ff]* \
  442. build/src/*.inc \
  443. run/${install.rc}
  444. ! ------------------------------------------------
  445. ! job script
  446. ! ------------------------------------------------
  447. ! name of job in queue etc:
  448. job.name : ${my.basename}
  449. ! names used for job steps (can be overwritten on the command line
  450. ! with --steps='init' for example)
  451. !job.steps : init run done
  452. job.steps : all
  453. ! executable used by the 'run' step:
  454. job.step.run.exe : ${my.basename}.x
  455. ! ------------------------------------------------
  456. ! submit script
  457. ! ------------------------------------------------
  458. ! name of submit script:
  459. submit.script : submit_tm5
  460. ! full submit command from rundirectory:
  461. submit.command : ./${submit.script} ${job.step.run.exe} ${install.rc}
  462. ! try to use relative paths if possible ?
  463. ! this will facilitate moving the complete build/run/output directory:
  464. submit.relpaths : False
  465. ! 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]
  466. submit.bin.path : ${my.project.dir}
  467. ! submit job to : foreground | background | queue
  468. ! might be replaced given the flags passed to the submit script
  469. submit.to : queue
  470. ! options passed directly to a submission command (llsubmit, qsub, ...):
  471. submit.options :
  472. ! run in debugger (True|False) ?
  473. submit.debugger : False
  474. ! ------------------------------------------------
  475. ! horizontal grids
  476. ! ------------------------------------------------
  477. !
  478. ! List with model regions (space seperated):
  479. !
  480. ! o the routine 'dims_grid' is automatically re-written if the region list
  481. ! change ;
  482. !
  483. ! o do not include the 'globe' and 'glb100x100' regions in the region list
  484. ! but specify them seperately below;
  485. !
  486. ! o the parameter 'nregions' will be set to the number of regions in
  487. ! this list;
  488. regions : ${my.region1}
  489. ! special: single cell global region:
  490. region.globe : globe
  491. ! special: global surface fields (unless region 1 is on the same grid)
  492. #if ("${my.region1}" == "glb100x100") or ("${my.region1}" == "glb050x050") :
  493. region.glbsfc :
  494. #else:
  495. region.glbsfc : glb100x100
  496. #endif
  497. ! parent regions for zoom; Must use 'globe' for the global region:
  498. region.${my.region1}.parent : ${region.globe}
  499. ! 'parent' region for global surface field; used to match surface
  500. ! pressures if necessary:
  501. #if ("${my.region1}" != "glb100x100") and ("${my.region1}" != "glb050x050") :
  502. region.${region.glbsfc}.parent : ${my.region1}
  503. #endif
  504. !=====================================================================!
  505. ! OpenMP keys are not an option yet. !
  506. !=====================================================================!
  507. par.openmp : F
  508. par.nthread : 1
  509. !=====================================================================!
  510. ! Miscelleaneous (do not modify, unless you know what you're doing!) !
  511. !=====================================================================!
  512. jobstep : 0
  513. jobstep.timerange.start : ${timerange.start}
  514. jobstep.timerange.end : ${timerange.end}
  515. prev.output.dir :
  516. ! code source for levels definition
  517. !#if "${my.levs}" == "all"
  518. !my.source.levs : ${my.svn.dir}/trunk/levels/${my.eclevs}
  519. !#else
  520. !my.source.levs : ${my.svn.dir}/trunk/levels/${my.eclevs} ${my.svn.dir}/trunk/levels/${my.eclevs}/${my.levs}
  521. !#endif