main-base.rc.tmpl 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. !=====================================================================!
  2. ! Run main specifications
  3. !=====================================================================!
  4. ! [id] basename for executable, runtime rcfile, job script (hence logfiles too), ${my.basename}__sources.tar
  5. my.basename : tm5mp
  6. ! timing
  7. timerange.start : 2006-01-01 00:00:00
  8. timerange.end : 2006-02-01 00:00:00
  9. jobstep.length : month
  10. ! autorun
  11. submit.auto : False
  12. ! main directories (compilation, run, meteo)
  13. my.project.dir : ${my.scratch}/TM5/benchmark_base
  14. my.run.dir : ${my.project.dir}/rundir
  15. my.meteo.dir : ${my.scratch}/TM5_METEO/
  16. ! dir of standard input files (read in model init)
  17. inputdir : ${my.data.dir}
  18. !=====================================================================!
  19. ! Environment (compiler, libraries, job manager, //, ...)
  20. !=====================================================================!
  21. #include rc/machine-<machine-name>.rc
  22. ! ADD HERE ANY KEYS REQUIRED BY YOUR JOB MANAGER AND DEFINED IN YOUR MACHINE.RC FILE
  23. my.queue.account :
  24. my.build.configure.flags : optim-strict
  25. par.mpi : T
  26. par.nx : 1
  27. par.ny : 45
  28. !=====================================================================!
  29. ! Grids & Levels
  30. !=====================================================================!
  31. my.levs : tropo34
  32. ! regions name
  33. my.region1 : glb300x200
  34. ! grid names for meteo input (allows on the flight regridding):
  35. my.region1m : glb100x100
  36. ! Do not use default region file for 1x1 runs, the reduced grid is too agressive for the chemistry.
  37. #if "${my.region1}" == "glb100x100"
  38. #include rc/regions-glb100x100-chem.rc
  39. #else
  40. #include rc/regions-${my.region1}.rc
  41. #endif
  42. !=====================================================================!
  43. ! Source code (list of proj)
  44. !=====================================================================!
  45. my.source.proj :
  46. !=====================================================================!
  47. ! C-preprocessors: DF, TMM, TM5
  48. !=====================================================================!
  49. #if "${par.mpi}" in ["T","True"] :
  50. my.df.define : with_hdf4 with_hdf5_par with_netcdf4_par
  51. #else
  52. my.df.define : with_hdf4 with_hdf5 with_netcdf4
  53. #endif
  54. ! macro's for meteo input:
  55. my.tmm.define : with_tmm_tm5
  56. my.without :
  57. !standard chemistry uses:
  58. my.def_advec : slopes
  59. my.defs_misc : with_budgets
  60. my.tm5.define : ${my.without} ${my.def_advec} ${my.defs_misc}
  61. !=====================================================================!
  62. ! Model tuning
  63. !=====================================================================!
  64. ! model timestep
  65. time.ntimestep : 3600
  66. time.ndyn_max : 3600
  67. ! processes
  68. proces.advection.reduced : T
  69. proces.wet_removal.cp_scale : 0.5
  70. ! read diffusion coefficients (instead of calculate) (also: write if doesnot exist)
  71. diffusion.write : F
  72. diffusion.dir : ${my.run.dir}/output
  73. !(diffusion dir is parent dir of diffusion files. Must be specified if diffusion.write is T
  74. ! sub-dir/fname are: <my.levs>/<grid>/yyyy/mm/dd/dkg_yyyymmddhhmm.hdf
  75. !=====================================================================!
  76. ! Restart files
  77. !=====================================================================!
  78. ! initial fields
  79. istart : 2
  80. ! Directory (case of istart=33)
  81. restart.read.dir : /PATH/TO/RESTART/DIR
  82. ! File (case of istart=4, 30, 31, 5)
  83. start.31.glb300x200 : /PATH/TO/SAVEFILE
  84. start.31.glb100x100 : /PATH/TO/SAVEFILE
  85. restart.write : T
  86. ! extra restart files
  87. restart.write.extra : F
  88. restart.write.extra.hour : 00
  89. restart.write.extra.dhour : 24
  90. ! where to write restart files:
  91. restart.write.dir : ${my.run.dir}/restart
  92. ! ensure creation of directory;
  93. restart.install.dir : ${restart.write.dir}
  94. !=====================================================================!
  95. ! METEO SETTINGS
  96. !=====================================================================!
  97. my.meteo.class : ei
  98. my.meteo.resol : glb100x100
  99. my.meteo.format : tm5-nc
  100. time.fc : F
  101. time.fc.day0 :
  102. my.tmm.setup.apply : T
  103. convective.fluxes.tiedtke : F
  104. #include rc/meteo-tm5-default.rc
  105. !=====================================================================!
  106. ! Extra ressources
  107. !=====================================================================!
  108. #include rc/expert-default.rc
  109. !=====================================================================!
  110. ! Log & output dir
  111. !=====================================================================!
  112. ! Log
  113. okdebug : F
  114. go.print.all : F
  115. go.print.prompt.pe : F
  116. go.print.trace : F
  117. go.print.file : F
  118. go.print.file.base : log.ctm
  119. output.dir : ${my.run.dir}/output
  120. output.overwrite : T
  121. ! alternative output dir
  122. output.dir.base :
  123. output.dir.extensions :
  124. output.types : timing settings
  125. !=====================================================================!
  126. ! Optional output from 'BASE' code
  127. !=====================================================================!
  128. ! mean mixing ratio
  129. output.mmix : T
  130. ! budget fluxes through boundaries
  131. apply.budget.global.flux : F
  132. budget.global.flux.lon_in : -12
  133. budget.global.flux.lon_out : 36
  134. budget.global.flux.lat_in : 34
  135. budget.global.flux.lat_out : 62
  136. ! profiling
  137. timing.output : T
  138. timing.output.subdir : profile
  139. !output.after.step :
  140. !=====================================================================!
  141. ! Optional output from 'PROJ/USER_OUTPUT' code
  142. !=====================================================================!
  143. ! Grids setting
  144. settings.output : T
  145. settings.output.subdir :
  146. ! Station output
  147. output.station : F
  148. inputdir.station : ${my.scratch}/TM5/TM5-input/
  149. input.station.filename : station.emep.list
  150. input.station.filename2 :
  151. input.station.fileformat : 1
  152. station.speclist : SO2 NOy CH4 OH
  153. output.station.filename : tm5_emep.hdf
  154. ! Flight tracks
  155. output.flight : F
  156. ! All fields on root processor
  157. output.mix : F
  158. output.mix.dhour : 3
  159. ! NOAA output
  160. output.noaa : F
  161. !=====================================================================!
  162. ! PRE-Processing
  163. !=====================================================================!
  164. ! I - Installation of input files ("install" keys)
  165. install.tasks : ${my.install.tasks} restart
  166. ! II - User scripts to setup run
  167. input.user.scripts : <bindir>/tm5-tmm-setup <rcfile>
  168. !=====================================================================!
  169. ! POST-Processing
  170. !=====================================================================!
  171. ! I - Archive output ("store" keys)
  172. default.store.zipper :
  173. default.store.arch : ${my.project.dir}/ARCHIVE
  174. default.store.renew : True
  175. !----------------------------------------------------------
  176. store.condition : False
  177. store.tasks :
  178. sources.store.extra.command :
  179. ! II - Touch files
  180. output.touch : False
  181. ! III - Run user scripts
  182. output.user.scripts.condition : False
  183. output.user.scripts :
  184. ! IV - DIADEM
  185. !#include tools/diadem/rc/diadem.rc
  186. !=====================================================================!
  187. ! Miscelleaneous (do not modify!) !
  188. !=====================================================================!
  189. par.ntask : 1 ! dummy value, this is set by the pycasso user script