expert-ecearth3-build.rc 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  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
  36. #else
  37. build.prefix : ${my.project.dir}/build
  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 \
  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. ! Header file
  220. build.configure.macro.user_output.hfile :
  221. !
  222. ! REMOVED:
  223. ! with_mpi # should be MPI ?
  224. ! with_openmp # should be _OPENMP
  225. ! with_barrier # used for testing ?
  226. ! with_budget # should be with_budgets
  227. ! with_okdebug # via logical flag
  228. ! without_wetdeposition # should be without_wet_deposition
  229. ! with_restart # not necessary anymore with new restart module
  230. ! with_pnetcdf # depricated library; use netcdf4 instead
  231. ! with_go # should use module GO instead
  232. ! with_hdf # still in some tmkit.F90 in some 4D branches - should update
  233. my.macro.tm5.old.all : with_barrier \
  234. with_budget \
  235. with_go \
  236. with_mpi \
  237. with_okdebug \
  238. with_openmp \
  239. without_wetdeposition \
  240. with_restart \
  241. with_hdf \
  242. with_pnetcdf
  243. ! Pass macro definitions to command lines, e.g. -Dwith_this_flag (True|False) ?
  244. ! The source code checking tests on '#include "tm5.inc"',
  245. ! so this flag could be set to False:
  246. build.configure.define.D : False
  247. ! * remove files
  248. ! remove some files ?
  249. build.configure.remove :
  250. ! remove if macro's are *not* defined ? Use list of files and/or pattern (i.e. *,?, and range of characters with [])
  251. build.configure.remove.ifndef.MPI : mpi_const.F90 mpi_comm.F90
  252. build.configure.remove.ifndef.with_hdf4 : file_hdf.F90
  253. build.configure.remove.ifndef.with_tmm_tmpp : tmm_mf_tmpp.F90
  254. build.configure.remove.ifndef.with_tmm_tm5 : tmm_mf_tm5_hdf.F90 tmm_mf_tm5_nc.F90
  255. build.configure.remove.ifndef.with_tmm_ecmwf : tmm_mf_ecmwf_tmpp.F90 tmm_mf_ecmwf_tm5.F90 file_grib*.F90 grib_table.F90
  256. build.configure.remove.ifndef.with_tmm_ncep : tmm_mf_ncep_gfs.F90 tmm_mf_ncep_cdc.F90 file_ncb.F90 file_ncg.F90
  257. build.configure.remove.ifndef.with_tmm_msc : tmm_mf_msc.F90
  258. build.configure.remove.ifndef.with_prism : prism_putget.F90 tmm_mf_prism.F90 tm5_prism.F90 appl-tm5.F90
  259. build.configure.remove.ifndef.with_tendencies : tm5_tendency.F90 tm5_tendency_eval.F90
  260. build.configure.remove.ifndef.with_budgets : budget_global.F90
  261. build.configure.remove.ifndef.with_udunits1 : udunits.F90 udunits_inc.F
  262. build.configure.remove.ifndef.with_udunits2 : f_udunits_2.f90 f_udunits_2.inc
  263. 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
  264. build.configure.remove.ifndef.with_aqchem : aqchem.F90
  265. build.configure.remove.ifndef.with_kpp : kpp_aqchem.F90
  266. build.configure.remove.ifndef.with_cariolle : tm5_climat.F90 file_fortkeld.F90 file_cariolle.F90 chemistry_cariolle.F90 chemistry_0d__o3tracer.F90
  267. build.configure.remove.ifndef.with_ecearth_optics : ecearth_optics.F90
  268. build.configure.remove.ifndef.with_gribex : file_grib_gribex.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
  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 : optim
  295. ! PLS-ECE3 : precision and MPI flags (required by pycasso, leave empty)
  296. compiler.flags.real8.fflags :
  297. compiler.flags.real8.ldflags :
  298. compiler.flags.mpi.fflags :
  299. compiler.flags.mpi.ldflags :
  300. ! Reference for developer
  301. ! compiler.flags.optim-strict.fflags : -fp-model strict
  302. ! compiler.flags.optim-strict.ldflags :
  303. ! compiler.flags.check-all.fflags : -check all -check noarg_temp_created -traceback -fpe0 -ftrapuv -implicitnone -fpp -pad -ip
  304. ! compiler.flags.check-all.ldflags :
  305. ! compiler.flags.debug.fflags : -g -debug all
  306. ! compiler.flags.debug.ldflags :
  307. ! include file to be written for Makefile:
  308. build.configure.flags.includefile : Makefile_flags
  309. ! * LIBRARIES
  310. !-------------
  311. ! Libraries to be included are specified with a list of keywords, e.g.:
  312. ! netcdf hdf5 hdf4 z jpeg gribex
  313. ! For each library name, 2 lines should be present that specify
  314. ! the compile and link flags (probably in the host specific rcfile)
  315. !
  316. ! For TotalView with memory debugging, add the 'tv' library.
  317. ! list of all supported (ie in your machine rc) libraries; this defines the linking order !
  318. build.configure.libs.all : oasis3 pnetcdf netcdf4_par netcdf4 netcdf hdf5_par hdf5 hdf4 sz jpeg z gribex grib_api lapack udunits mpi tv
  319. !
  320. ! ~ default libraries:
  321. build.configure.libs : mpi
  322. !
  323. ! ~ libraries to be included if a specific marcro is defined:
  324. build.configure.libs.ifdef.with_pnetcdf : pnetcdf
  325. build.configure.libs.ifdef.with_netcdf4_par : netcdf4_par
  326. build.configure.libs.ifdef.with_netcdf4 : netcdf4
  327. build.configure.libs.ifdef.with_netcdf : netcdf
  328. build.configure.libs.ifdef.with_hdf5_par : hdf5_par sz jpeg z
  329. build.configure.libs.ifdef.with_hdf5 : hdf5 sz jpeg z
  330. build.configure.libs.ifdef.with_hdf4 : hdf4 sz jpeg z
  331. build.configure.libs.ifdef.with_gribex : gribex
  332. build.configure.libs.ifdef.with_grib_api : grib_api
  333. build.configure.libs.ifdef.with_lapack : lapack
  334. build.configure.libs.ifdef.with_mpi : mpi
  335. build.configure.libs.ifdef.with_udunits1 : udunits1
  336. build.configure.libs.ifdef.with_udunits2 : udunits2
  337. build.configure.libs.ifdef.oasis3 : oasis3
  338. ! * user configuration
  339. ! routine 'Build_Configure' in 'pycasso_user_scripts.py' is called now;
  340. ! use this routine to write special include files etc.
  341. ! Apply some source code checks ?
  342. ! Provide a space seperated list with keywords; for each keyword, provide below:
  343. ! o a short message to describe the test;
  344. ! o the filename pattern to select the files on which the test should be applied;
  345. ! o a filename pattern to exclude some files;
  346. ! o a python boolean expression applied to each line of the file;
  347. ! the line itself is stored in a string variable named 'line';
  348. ! o a help text to be displayed in case a warning is issued;
  349. ! include \n for newlines.
  350. ! If for one of the lines in a source file the test evaluates to 'True',
  351. ! a warning is issued.
  352. ! If the test expression starts with 'not', a warning is issued if none
  353. ! of the lines evaluates to 'True' for the test after the 'not'.
  354. ! If the 'error' flag is set to 'True' and any warnings are issued, then
  355. ! the scripting will exit with an error status.
  356. ! list with keywords for checks to be applied:
  357. build.configure.checks : tm5_inc tmm_inc advect_h
  358. ! all TM files should include "tm5.inc"; search files that do not do that:
  359. build.configure.check.tm5_inc.msg : Test on TM5 files that do no not include "tm5.inc" ...
  360. build.configure.check.tm5_inc.files : *.[Ff]* tmm_mf_prism.F90
  361. build.configure.check.tm5_inc.skip : binas* parray* file_hdf* go* num* grid* phys* tmm* mdf* *grib* \
  362. xmlf* udunits* standard_name_table.f90 *.swp .*
  363. build.configure.check.tm5_inc.test : not line.startswith('#include "tm5.inc"')
  364. build.configure.check.tm5_inc.help : \n\
  365. All files TM5 files should include "tm5.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 TM5 files that do not include "tm5.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. ! all TMM files should include "tmm.inc"; search files that do not do that:
  373. build.configure.check.tmm_inc.msg : Test on TMM files that do no not include "tmm.inc" ...
  374. build.configure.check.tmm_inc.files : tmm*.[Ff]* file_grib.F90
  375. build.configure.check.tmm_inc.skip : tmm_mf_prism.F90
  376. build.configure.check.tmm_inc.test : not line.startswith('#include "tmm.inc"')
  377. build.configure.check.tmm_inc.help : \n\
  378. All files TMM files should include "tmm.inc" in the header.\n\
  379. This include file is filled by the scripting with '#define' pre-processing macros.\n\
  380. To compile a source code with TMM files that do not include "tmm.inc",\n\
  381. ensure that marco definitions are passed to the compiler directly by setting:\n\
  382. . build.configure.define.D : True\n\
  383. in the expert.rc file.\n\
  384. .
  385. ! none of the TM files should include "advect.h" anymore:
  386. build.configure.check.advect_h.msg : Test on TM5 files that include "advect.h" ...
  387. build.configure.check.advect_h.files : *.[Ff]*
  388. build.configure.check.advect_h.skip : binas* file_hdf* go* num* grid* phys* tmm*
  389. build.configure.check.advect_h.test : line.startswith('#include "advect.h"')
  390. build.configure.check.advect_h.help : \n\
  391. Including "advect.h" is depricated; include "tm5.inc" instead.\n\
  392. .
  393. ! special: check on unknown macros used in '#if[n]def' lines,
  394. ! but not listed in .all lists above ?
  395. build.configure.check.unknown_macro : True
  396. build.configure.check.unknown_macro.msg : Test for unsupported macros ...
  397. ! in case some strange things are found, leave with error message (True|False)?
  398. build.configure.checks.error : True
  399. ! * makedep
  400. ! create depencencies using the external 'makedep' program (True|False) ?
  401. build.configure.makedep : True
  402. ! include file to be written for Makefile:
  403. build.configure.makedep.includefile : Makefile_deps
  404. ! dependencies are created for files matching the pattern:
  405. build.configure.makedep.files : *.[Ff]*
  406. !
  407. ! Compilation
  408. !
  409. build.make : True
  410. build.make.dir : ${build.prefix}
  411. ! the '--clean' or '-c' flag is provided to the setup script
  412. build.make.clean : False
  413. ! make target
  414. #if "oasis3" in "${my.tm5.define}"
  415. #if "${co2only}" in ["T","True"]
  416. build.make.exec : appl-tm5-co2.x
  417. #else
  418. build.make.exec : appl-tm5.x
  419. #endif
  420. #else
  421. build.make.exec : tm5.x
  422. #endif
  423. ! ------------------------------------------------
  424. ! install executable and scripts
  425. ! ------------------------------------------------
  426. !
  427. ! Copy files into run directory.
  428. ! Specify a space seperated list with source files.
  429. ! If the copy should obtain another name, append it seperated with a ':', e.g.
  430. ! model.x:model-myproject.x
  431. !
  432. ! If 'rundir' key is not empty, then 'install.copy' *must* include the
  433. ! 'submit.script' key value ("submit_tm5" here), and should not be renamed (why?)
  434. !
  435. ! Include the build directory if necessary, e.g. '${build.prefix}/src/model.x' .
  436. !
  437. #if "oasis3" not in "${my.tm5.define}":
  438. install.copy : ${build.prefix}/${build.make.exec}:${job.step.run.exe} \
  439. ${build.prefix}/../bin/submit_tm5
  440. #else
  441. install.copy : ${build.prefix}/../bin/submit_tm5
  442. #endif
  443. ! name of processed rc file to be written (original this file);
  444. ! leave empty for not writing:
  445. install.rc :
  446. ! ------------------------------------------------
  447. ! Post-processing : archive sources
  448. ! ------------------------------------------------
  449. ! Add the name 'sources' to the 'store.tasks' list to enable this!
  450. ! specify how to store source files wiht output:
  451. ! o store from run dictory:
  452. sources.store.from : ..
  453. ! o target file name:
  454. sources.store.files : ${my.basename}__sources.tar
  455. ! o filter for files to be included:
  456. sources.store.tarfilter : build/bin/ \
  457. build/src/Makefile* \
  458. build/src/*.[Ff]* \
  459. build/src/*.inc \
  460. run/${install.rc}
  461. ! ------------------------------------------------
  462. ! job script
  463. ! ------------------------------------------------
  464. ! name of job in queue etc:
  465. job.name : ${my.basename}
  466. ! names used for job steps:
  467. job.steps : init run done
  468. ! executable used by the 'run' step:
  469. job.step.run.exe : ${my.basename}.x
  470. ! ------------------------------------------------
  471. ! submit script
  472. ! ------------------------------------------------
  473. ! name of submit script:
  474. submit.script : submit_tm5
  475. ! full submit command from rundirectory:
  476. submit.command : ./${submit.script} ${job.step.run.exe} ${install.rc}
  477. ! try to use relative paths if possible ?
  478. ! this will facilitate moving the complete build/run/output directory:
  479. submit.relpaths : False
  480. ! 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]
  481. submit.bin.path : ${my.project.dir}
  482. ! submit job to : foreground | background | queue
  483. ! might be replaced given the flags passed to the submit script
  484. submit.to : foreground
  485. ! options passed directly to a submission command (llsubmit, qsub, ...):
  486. submit.options :
  487. ! run in debugger (True|False) ?
  488. submit.debugger : False
  489. ! ------------------------------------------------
  490. ! horizontal grids
  491. ! ------------------------------------------------
  492. !
  493. ! List with model regions (space seperated):
  494. !
  495. ! o at least one
  496. !
  497. ! o the routine 'dims_grid' is automatically re-written if the region list
  498. ! or the number of regions change [should be default];
  499. !
  500. ! o in contrast to the region list in the 'dims_grid.F90' files,
  501. ! do not include the 'globe' and 'glb100x100' regions in the region list
  502. ! but specify them seperately below;
  503. !
  504. ! o the parameter 'nregions' will be set to the number of regions in
  505. ! this list;
  506. !
  507. ! o the macro 'with_zoom' is now automatically defined, and only if
  508. ! more than one region is specified here;
  509. !
  510. ! ~ list of region names for definition via rcfile
  511. regions : ${my.region1}
  512. ! special: single cell global region:
  513. region.globe : globe
  514. ! special: global surface fields (unless region 1 is on the same grid)
  515. #if ("${my.region1}" == "glb100x100") or ("${my.region1}" == "glb050x050") :
  516. region.glbsfc :
  517. #else:
  518. region.glbsfc : glb100x100
  519. #endif
  520. ! parent regions for zoom; Must use 'globe' for the global region:
  521. region.${my.region1}.parent : ${region.globe}
  522. ! 'parent' region for global surface field; used to match surface
  523. ! pressures if necessary:
  524. #if ("${my.region1}" != "glb100x100") and ("${my.region1}" != "glb050x050") :
  525. region.${region.glbsfc}.parent : ${my.region1}
  526. #endif
  527. !=====================================================================!
  528. ! OpenMP keys, which are not an option yet !
  529. !=====================================================================!
  530. par.openmp : F
  531. par.nthread : 1
  532. !=====================================================================!
  533. ! Miscelleaneous (do not modify, unless you know what you're doing!) !
  534. !=====================================================================!
  535. output.types : timing settings
  536. jobstep : 0
  537. jobstep.timerange.start : ${timerange.start}
  538. jobstep.timerange.end : ${timerange.end}
  539. prev.output.dir :
  540. ! code source for levels definition
  541. #if "${my.levs}" == "all"
  542. my.source.levs : levels/${my.eclevs}
  543. #else
  544. my.source.levs : levels/${my.eclevs} levels/${my.eclevs}/${my.levs}
  545. #endif