expert-ecearth3-build.rc 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  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}.comp.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. #if "${co2only}" in ["T","True"]
  35. build.prefix : ${my.project.dir}/build-co2-${my.mlevs}
  36. #else
  37. build.prefix : ${my.project.dir}/build-cb05-${my.mlevs}
  38. #endif
  39. ! extend with flag groups ? e.g. build_optim-all_mpi
  40. ! a link with the original name will be created to this extended name
  41. build.prefix.extend : False
  42. ! actual source codes will end up here (must be one of build.copy.subdirs)
  43. build.sourcedir : ${build.prefix}
  44. ! Number of jobs (commands) to run simultaneously.
  45. ! An empty value indicates unlimitted number, which might claim all resources;
  46. ! better is to specify a value which will be the default maximum.
  47. ! The value is overwritten by the '-j' or '--jobs' flag passed to the submit script
  48. ! The final number (specified here or from the flags) will be inserted in the maker command:
  49. ! maker : gmake -j ${build.jobs}
  50. !
  51. build.jobs : 8
  52. ! remove existing build directory for a complete new copy of code and scripts ?
  53. ! NOTE: this flag is set to true by the '--new' option. This is equivalent to 'realclean' in many other programs.
  54. build.new : False
  55. !
  56. ! Create a source
  57. !
  58. ! gather source code into the build prefix directory (True|False) ?
  59. build.copy : True
  60. ! list of source directories, content of which (build.copy.subdirs) will be copied into build.prefix
  61. ! files in latest directory overwrite previously copied versions:
  62. build.copy.dirs : base ${my.source.levs} ${my.source.proj}
  63. ! what is copied from the build.copy.dirs (one of those must contains the bin with the pycasso scripts)
  64. build.copy.subdirs : .
  65. ! remove project extenstions (True|False) ?
  66. build.copy.remove.__part : True
  67. ! skip some extensions (list of regex pattern) ?
  68. build.copy.skip.ext : \.pyc$ \..*~$ \..+#
  69. ! skip some files ? include in this list:
  70. ! o files that are (re)written by the scripts, e.g. include files and dims_grid.F90;
  71. ! if these are copied, the creation times are obscured, which leads to a
  72. ! re-make during every build
  73. ! o old stuff that should be removed in a new version;
  74. ! skip them now to test if these files are really not necessary anymore
  75. !
  76. build.copy.skip.file : configure config.compiler \
  77. Makefile.template Makefile.tm5 \
  78. parray_cwp.F90.in parray_iwp.F90.in parray_rwp.F90.in \
  79. file_hdf_iwp.F90.in file_hdf_rwp.F90.in \
  80. tmkit.F90 \
  81. advect.h \
  82. dims_grid.h_template dims_grid.F90 \
  83. mdf.h tmm.h tm5.h \
  84. mdf.inc tmm.inc tm5.inc \
  85. tmm_mf_hdf.F90 tmm_mf_grib.F90 tmm_mf_ecmwf_mars.F90 \
  86. rcfilename.h
  87. ! extend python path with '<build>/py' directory (True|False) ?
  88. build.copy.pypath : False
  89. !
  90. ! configure
  91. !
  92. ! configure source (True|False) ?
  93. build.configure : True
  94. ! * macro's
  95. ! defined macro's :
  96. build.configure.macro.define : ${my.df.define} \
  97. ${my.tmm.define} \
  98. ${my.tm5.define}
  99. ! Specify a list of macro groups:
  100. build.configure.macro.groups : go num grid mdf tmm tm5 user_output
  101. ! For each of the groups, specify:
  102. !
  103. ! o all supported macro's
  104. ! (sometimes necessary to identify which macros are NOT defined ...)
  105. !
  106. ! o optionally the name of header file; if provided,
  107. ! this file is filed with appropriate '#define' commands
  108. !
  109. ! In addition to the macro's defined here, others might be defined
  110. ! in 'pycasso_user_scripts/Build_Define' given the other settings.
  111. !
  112. ! ~ GO modules
  113. ! TO BE REMOVED:
  114. ! with_go # not necessary, go modules present by default
  115. ! PRINT_MINU # used for testing ?
  116. build.configure.macro.go.all : __INTEL_COMPILER \
  117. __GFORTRAN__ \
  118. __GNUC____GNUC_MINOR____GNUC_PATCHLEVEL__ \
  119. __IBMC__ \
  120. __ecmwf__ \
  121. with_go \
  122. PRINT_MINU
  123. build.configure.macro.go.hfile :
  124. !
  125. ! ~ num modules:
  126. build.configure.macro.num.all : with_lapack
  127. build.configure.macro.num.hfile :
  128. !
  129. ! ~ grid modules:
  130. build.configure.macro.grid.all : check_all
  131. build.configure.macro.grid.hfile :
  132. !
  133. ! ~ mdf interface to hdf/netcdf
  134. ! TO BE REMOVED:
  135. ! with_go # not necessary, go modules present by default
  136. ! with_hdf5_beta # testing ...
  137. build.configure.macro.mdf.all : with_hdf4 \
  138. with_hdf5 with_hdf5_par \
  139. with_netcdf with_netcdf4 with_netcdf4_par \
  140. with_go \
  141. with_hdf5_beta
  142. build.configure.macro.mdf.hfile : mdf.inc
  143. !
  144. ! ~ tmm meteo input
  145. build.configure.macro.tmm.all : with_tmm_tmpp \
  146. with_tmm_tm5 \
  147. with_tmm_ecmwf \
  148. with_tmm_ecearth \
  149. with_tmm_ncep \
  150. with_tmm_msc \
  151. with_prism \
  152. with_tmm_convec_raw with_tmm_convec_ec with_tmm_convec_ec_gg with_ec_aver \
  153. with_gribex with_grib_api with_w3 \
  154. with_parallel_io_meteo \
  155. with_udunits1 with_udunits2
  156. build.configure.macro.tmm.hfile : tmm.inc
  157. !
  158. ! ~ tm5 settings
  159. !
  160. ! Cpp used in coupled version of TM5:
  161. my.macro.tm5.coupling.all : with_prism \
  162. oasis3 \
  163. oasis4 \
  164. with_tendencies \
  165. with_ecearth_optics \
  166. parallel_cplng \
  167. with_feedback
  168. !
  169. ! List of all C-pre-processors flags used in the code. BUT:
  170. !
  171. ! * Do not include macro for meteo (tmm* and mdf* files)
  172. ! * Move macros used in coupled version to my.macro.tm5.coupling.all
  173. ! * Move obsolete macros (i.e. to be deleted) to my.macro.tm5.old.all
  174. !
  175. ! See tools/misc/find_cpp script to generate initial list of macro
  176. ! starting by with_ or without_
  177. !
  178. build.configure.macro.tm5.all : slopes \
  179. secmom \
  180. MPI \
  181. _OPENMP \
  182. with_budgets \
  183. with_cariolle \
  184. with_lapack \
  185. with_m7 \
  186. with_aqchem \
  187. with_kpp \
  188. FULL_ALGEBRA \
  189. with_online_bvoc \
  190. with_online_nox \
  191. with_optics \
  192. with_optics_output \
  193. without_advection \
  194. without_boundary \
  195. without_chemistry \
  196. without_convection \
  197. without_diffusion \
  198. without_dry_deposition \
  199. without_emission \
  200. without_lmax_conv \
  201. without_nmhc_gfed \
  202. without_o3_nudging \
  203. without_photolysis \
  204. without_sedimentation \
  205. without_wet_deposition \
  206. with_ch4_emis \
  207. with_pm \
  208. with_w3 \
  209. with_netcdf4_par \
  210. with_zoom \
  211. tropomi \
  212. ${my.macro.tm5.coupling.all}
  213. ! Header file
  214. build.configure.macro.tm5.hfile : tm5.inc
  215. !
  216. ! cpp used in user output routines ()
  217. build.configure.macro.user_output.all : with_retro_output \
  218. with_cf_output \
  219. with_hdf4
  220. ! Header file
  221. build.configure.macro.user_output.hfile : output.inc
  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 : tmm_mf_tm5_hdf.F90
  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 io_hdf.F90 user_output_station.F90 user_output_noaa.F90
  254. build.configure.remove.ifndef.with_tmm_tmpp : tmm_mf_tmpp.F90
  255. build.configure.remove.ifndef.with_tmm_tm5 : 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_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 : optim
  296. ! PLS-ECE3 : precision and MPI flags (required by pycasso, leave empty)
  297. compiler.flags.real8.fflags :
  298. compiler.flags.real8.ldflags :
  299. compiler.flags.mpi.fflags :
  300. compiler.flags.mpi.ldflags :
  301. ! Reference for developer
  302. ! compiler.flags.optim-strict.fflags : -fp-model strict
  303. ! compiler.flags.optim-strict.ldflags :
  304. ! compiler.flags.check-all.fflags : -check all -check noarg_temp_created -traceback -fpe0 -ftrapuv -implicitnone -fpp -pad -ip
  305. ! compiler.flags.check-all.ldflags :
  306. ! compiler.flags.debug.fflags : -g -debug all
  307. ! compiler.flags.debug.ldflags :
  308. ! include file to be written for Makefile:
  309. build.configure.flags.includefile : Makefile_flags
  310. ! * LIBRARIES
  311. !-------------
  312. ! Libraries to be included are specified with a list of keywords, e.g.:
  313. ! netcdf hdf5 hdf4 z jpeg gribex
  314. ! For each library name, 2 lines should be present that specify
  315. ! the compile and link flags (probably in the host specific rcfile)
  316. !
  317. ! For TotalView with memory debugging, add the 'tv' library.
  318. ! list of all supported (ie in your machine rc) libraries; this defines the linking order !
  319. build.configure.libs.all : oasis3 pnetcdf netcdf4_par netcdf4 netcdf hdf5_par hdf5 hdf4 sz jpeg z gribex grib_api lapack udunits mpi tv
  320. !
  321. ! ~ default libraries:
  322. build.configure.libs : mpi
  323. !
  324. ! ~ libraries to be included if a specific marcro is defined:
  325. build.configure.libs.ifdef.with_pnetcdf : pnetcdf
  326. build.configure.libs.ifdef.with_netcdf4_par : netcdf4_par
  327. build.configure.libs.ifdef.with_netcdf4 : netcdf4
  328. build.configure.libs.ifdef.with_netcdf : netcdf
  329. build.configure.libs.ifdef.with_hdf5_par : hdf5_par sz jpeg z
  330. build.configure.libs.ifdef.with_hdf5 : hdf5 sz jpeg z
  331. build.configure.libs.ifdef.with_hdf4 : hdf4 sz jpeg z
  332. build.configure.libs.ifdef.with_gribex : gribex
  333. build.configure.libs.ifdef.with_grib_api : grib_api
  334. build.configure.libs.ifdef.with_lapack : lapack
  335. build.configure.libs.ifdef.with_mpi : mpi
  336. build.configure.libs.ifdef.with_udunits1 : udunits1
  337. build.configure.libs.ifdef.with_udunits2 : udunits2
  338. build.configure.libs.ifdef.oasis3 : oasis3
  339. ! * user configuration
  340. ! routine 'Build_Configure' in 'pycasso_user_scripts.py' is called now;
  341. ! use this routine to write special include files etc.
  342. ! Apply some source code checks ?
  343. ! Provide a space seperated list with keywords; for each keyword, provide below:
  344. ! o a short message to describe the test;
  345. ! o the filename pattern to select the files on which the test should be applied;
  346. ! o a filename pattern to exclude some files;
  347. ! o a python boolean expression applied to each line of the file;
  348. ! the line itself is stored in a string variable named 'line';
  349. ! o a help text to be displayed in case a warning is issued;
  350. ! include \n for newlines.
  351. ! If for one of the lines in a source file the test evaluates to 'True',
  352. ! a warning is issued.
  353. ! If the test expression starts with 'not', a warning is issued if none
  354. ! of the lines evaluates to 'True' for the test after the 'not'.
  355. ! If the 'error' flag is set to 'True' and any warnings are issued, then
  356. ! the scripting will exit with an error status.
  357. ! list with keywords for checks to be applied:
  358. build.configure.checks : tm5_inc tmm_inc advect_h
  359. ! all TM files should include "tm5.inc"; search files that do not do that:
  360. build.configure.check.tm5_inc.msg : Test on TM5 files that do no not include "tm5.inc" ...
  361. build.configure.check.tm5_inc.files : *.[Ff]* tmm_mf_prism.F90
  362. build.configure.check.tm5_inc.skip : binas* parray* file_hdf* go* num* grid* phys* tmm* mdf* *grib* \
  363. xmlf* *udunits* standard_name_table.f90 *.swp .*
  364. build.configure.check.tm5_inc.test : not line.startswith('#include "tm5.inc"')
  365. build.configure.check.tm5_inc.help : \n\
  366. All files TM5 files should include "tm5.inc" in the header.\n\
  367. This include file is filled by the scripting with '#define' pre-processing macros.\n\
  368. To compile a source code with TM5 files that do not include "tm5.inc",\n\
  369. ensure that marco definitions are passed to the compiler directly by setting:\n\
  370. . build.configure.define.D : True\n\
  371. in the expert.rc file.\n\
  372. .
  373. ! all TMM files should include "tmm.inc"; search files that do not do that:
  374. build.configure.check.tmm_inc.msg : Test on TMM files that do no not include "tmm.inc" ...
  375. build.configure.check.tmm_inc.files : tmm*.[Ff]* file_grib.F90
  376. build.configure.check.tmm_inc.skip : tmm_mf_prism.F90
  377. build.configure.check.tmm_inc.test : not line.startswith('#include "tmm.inc"')
  378. build.configure.check.tmm_inc.help : \n\
  379. All files TMM files should include "tmm.inc" in the header.\n\
  380. This include file is filled by the scripting with '#define' pre-processing macros.\n\
  381. To compile a source code with TMM files that do not include "tmm.inc",\n\
  382. ensure that marco definitions are passed to the compiler directly by setting:\n\
  383. . build.configure.define.D : True\n\
  384. in the expert.rc file.\n\
  385. .
  386. ! none of the TM files should include "advect.h" anymore:
  387. build.configure.check.advect_h.msg : Test on TM5 files that include "advect.h" ...
  388. build.configure.check.advect_h.files : *.[Ff]*
  389. build.configure.check.advect_h.skip : binas* file_hdf* go* num* grid* phys* tmm*
  390. build.configure.check.advect_h.test : line.startswith('#include "advect.h"')
  391. build.configure.check.advect_h.help : \n\
  392. Including "advect.h" is depricated; include "tm5.inc" instead.\n\
  393. .
  394. ! special: check on unknown macros used in '#if[n]def' lines,
  395. ! but not listed in .all lists above ?
  396. build.configure.check.unknown_macro : True
  397. build.configure.check.unknown_macro.msg : Test for unsupported macros ...
  398. ! in case some strange things are found, leave with error message (True|False)?
  399. build.configure.checks.error : True
  400. ! * makedep
  401. ! create depencencies using the external 'makedep' program (True|False) ?
  402. build.configure.makedep : True
  403. ! include file to be written for Makefile:
  404. build.configure.makedep.includefile : Makefile_deps
  405. ! dependencies are created for files matching the pattern:
  406. build.configure.makedep.files : *.[Ff]*
  407. !
  408. ! Compilation
  409. !
  410. build.make : True
  411. build.make.dir : ${build.prefix}
  412. ! the '--clean' or '-c' flag is provided to the setup script
  413. build.make.clean : False
  414. ! make target
  415. #if "oasis3" in "${my.tm5.define}"
  416. #if "${co2only}" in ["T","True"]
  417. build.make.exec : appl-tm5-co2.x
  418. #else
  419. build.make.exec : appl-tm5-cb05.x
  420. #endif
  421. #else
  422. build.make.exec : tm5.x
  423. #endif
  424. ! ------------------------------------------------
  425. ! install executable and scripts
  426. ! ------------------------------------------------
  427. !
  428. ! Copy files into run directory.
  429. ! Specify a space seperated list with source files.
  430. ! If the copy should obtain another name, append it seperated with a ':', e.g.
  431. ! model.x:model-myproject.x
  432. !
  433. ! If 'rundir' key is not empty, then 'install.copy' *must* include the
  434. ! 'submit.script' key value ("submit_tm5" here), and should not be renamed (why?)
  435. !
  436. ! Include the build directory if necessary, e.g. '${build.prefix}/src/model.x' .
  437. !
  438. #if "oasis3" not in "${my.tm5.define}":
  439. install.copy : ${build.prefix}/${build.make.exec}:${job.step.run.exe} \
  440. ${build.prefix}/../bin/submit_tm5
  441. #else
  442. install.copy : ${build.prefix}/../bin/submit_tm5
  443. #endif
  444. ! name of processed rc file to be written (original this file);
  445. ! leave empty for not writing:
  446. install.rc :
  447. ! ------------------------------------------------
  448. ! Post-processing : archive sources
  449. ! ------------------------------------------------
  450. ! Add the name 'sources' to the 'store.tasks' list to enable this!
  451. ! specify how to store source files wiht output:
  452. ! o store from run dictory:
  453. sources.store.from : ..
  454. ! o target file name:
  455. sources.store.files : ${my.basename}__sources.tar
  456. ! o filter for files to be included:
  457. sources.store.tarfilter : build/bin/ \
  458. build/src/Makefile* \
  459. build/src/*.[Ff]* \
  460. build/src/*.inc \
  461. run/${install.rc}
  462. ! ------------------------------------------------
  463. ! job script
  464. ! ------------------------------------------------
  465. ! name of job in queue etc:
  466. job.name : ${my.basename}
  467. ! names used for job steps:
  468. job.steps : init run done
  469. ! executable used by the 'run' step:
  470. job.step.run.exe : ${my.basename}.x
  471. ! ------------------------------------------------
  472. ! submit script
  473. ! ------------------------------------------------
  474. ! name of submit script:
  475. submit.script : submit_tm5
  476. ! full submit command from rundirectory:
  477. submit.command : ./${submit.script} ${job.step.run.exe} ${install.rc}
  478. ! try to use relative paths if possible ?
  479. ! this will facilitate moving the complete build/run/output directory:
  480. submit.relpaths : False
  481. ! 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]
  482. submit.bin.path : ${my.project.dir}
  483. ! submit job to : foreground | background | queue
  484. ! might be replaced given the flags passed to the submit script
  485. submit.to : foreground
  486. ! options passed directly to a submission command (llsubmit, qsub, ...):
  487. submit.options :
  488. ! run in debugger (True|False) ?
  489. submit.debugger : False
  490. ! ------------------------------------------------
  491. ! horizontal grids
  492. ! ------------------------------------------------
  493. !
  494. ! List with model regions (space seperated):
  495. !
  496. ! o at least one
  497. !
  498. ! o the routine 'dims_grid' is automatically re-written if the region list
  499. ! or the number of regions change [should be default];
  500. !
  501. ! o in contrast to the region list in the 'dims_grid.F90' files,
  502. ! do not include the 'globe' and 'glb100x100' regions in the region list
  503. ! but specify them seperately below;
  504. !
  505. ! o the parameter 'nregions' will be set to the number of regions in
  506. ! this list;
  507. !
  508. ! o the macro 'with_zoom' is now automatically defined, and only if
  509. ! more than one region is specified here;
  510. !
  511. ! ~ list of region names for definition via rcfile
  512. regions : ${my.region1}
  513. ! special: single cell global region:
  514. region.globe : globe
  515. ! special: global surface fields (unless region 1 is on the same grid)
  516. #if ("${my.region1}" == "glb100x100") or ("${my.region1}" == "glb050x050") :
  517. region.glbsfc :
  518. #else:
  519. region.glbsfc : glb100x100
  520. #endif
  521. ! parent regions for zoom; Must use 'globe' for the global region:
  522. region.${my.region1}.parent : ${region.globe}
  523. ! 'parent' region for global surface field; used to match surface
  524. ! pressures if necessary:
  525. #if ("${my.region1}" != "glb100x100") and ("${my.region1}" != "glb050x050") :
  526. region.${region.glbsfc}.parent : ${my.region1}
  527. #endif
  528. !=====================================================================!
  529. ! OpenMP keys, which are not an option yet !
  530. !=====================================================================!
  531. par.openmp : F
  532. par.nthread : 1
  533. !=====================================================================!
  534. ! Miscelleaneous (do not modify, unless you know what you're doing!) !
  535. !=====================================================================!
  536. output.types : timing settings
  537. jobstep : 0
  538. jobstep.timerange.start : ${timerange.start}
  539. jobstep.timerange.end : ${timerange.end}
  540. prev.output.dir :
  541. ! code source for levels definition
  542. #if "${my.levs}" == "all"
  543. my.source.levs : levels/${my.eclevs}
  544. #else
  545. my.source.levs : levels/${my.eclevs} levels/${my.eclevs}/${my.levs}
  546. #endif