main-base.rc.tmpl 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  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/hdf
  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. #if "${my.meteo.format}" == "tm5-nc"
  56. my.tmm.define : with_tmm_tm5 with_udunits2
  57. #else
  58. my.tmm.define : with_tmm_tm5
  59. #endif
  60. my.without :
  61. !standard chemistry uses:
  62. my.def_advec : slopes
  63. my.defs_misc : with_budgets
  64. my.tm5.define : ${my.without} ${my.def_advec} ${my.defs_misc}
  65. !=====================================================================!
  66. ! Model tuning
  67. !=====================================================================!
  68. ! model timestep
  69. time.ntimestep : 3600
  70. time.ndyn_max : 3600
  71. ! processes
  72. proces.advection.reduced : T
  73. proces.wet_removal.cp_scale : 0.5
  74. ! read diffusion coefficients (instead of calculate) (also: write if doesnot exist)
  75. diffusion.write : F
  76. diffusion.dir : ${my.run.dir}/output
  77. !(diffusion dir is parent dir of diffusion files. Must be specified if diffusion.write is T
  78. ! sub-dir/fname are: /yyyy/mm/dkg/dd/dkg_<grid>_z<nlevels>_yyyymmddhhmmss.hdf
  79. !=====================================================================!
  80. ! Restart files
  81. !=====================================================================!
  82. ! initial fields
  83. istart : 2
  84. ! Directory (case of istart=33)
  85. restart.read.dir : /PATH/TO/RESTART/DIR
  86. ! File (case of istart=4, 30, 31, 5)
  87. start.31.glb300x200 : /PATH/TO/SAVEFILE
  88. start.31.glb100x100 : /PATH/TO/SAVEFILE
  89. restart.write : T
  90. ! extra restart files
  91. restart.write.extra : F
  92. restart.write.extra.hour : 00
  93. restart.write.extra.dhour : 24
  94. ! where to write restart files:
  95. restart.write.dir : ${my.run.dir}/restart
  96. ! ensure creation of directory;
  97. restart.install.dir : ${restart.write.dir}
  98. !=====================================================================!
  99. ! METEO SETTINGS
  100. !=====================================================================!
  101. my.meteo.class : ei
  102. my.meteo.resol : glb100x100
  103. my.meteo.format : tm5-hdf
  104. time.fc : F
  105. time.fc.day0 :
  106. my.tmm.setup.apply : T
  107. convective.fluxes.tiedtke : F
  108. #include rc/meteo-tm5-default.rc
  109. !=====================================================================!
  110. ! Extra ressources
  111. !=====================================================================!
  112. #include rc/expert-default.rc
  113. !=====================================================================!
  114. ! Log & output dir
  115. !=====================================================================!
  116. ! Log
  117. okdebug : F
  118. go.print.all : F
  119. go.print.prompt.pe : F
  120. go.print.trace : F
  121. go.print.file : F
  122. go.print.file.base : log.ctm
  123. output.dir : ${my.run.dir}/output
  124. output.overwrite : T
  125. ! alternative output dir
  126. output.dir.base :
  127. output.dir.extensions :
  128. output.types : timing settings
  129. !=====================================================================!
  130. ! Optional output from 'BASE' code
  131. !=====================================================================!
  132. ! mean mixing ratio
  133. output.mmix : T
  134. ! budget fluxes through boundaries
  135. apply.budget.global.flux : F
  136. budget.global.flux.lon_in : -12
  137. budget.global.flux.lon_out : 36
  138. budget.global.flux.lat_in : 34
  139. budget.global.flux.lat_out : 62
  140. ! profiling
  141. timing.output : T
  142. timing.output.subdir : profile
  143. !output.after.step :
  144. !=====================================================================!
  145. ! Optional output from 'PROJ/USER_OUTPUT' code
  146. !=====================================================================!
  147. ! Grids setting
  148. settings.output : T
  149. settings.output.subdir :
  150. ! Station output
  151. output.station : F
  152. inputdir.station : ${my.scratch}/TM5/TM5-input/
  153. input.station.filename : station.emep.list
  154. input.station.filename2 :
  155. input.station.fileformat : 1
  156. station.speclist : SO2 NOy CH4 OH
  157. output.station.filename : tm5_emep.hdf
  158. ! Flight tracks
  159. output.flight : F
  160. ! All fields on root processor
  161. output.mix : F
  162. output.mix.dhour : 3
  163. ! NOAA output
  164. output.noaa : F
  165. !=====================================================================!
  166. ! PRE-Processing
  167. !=====================================================================!
  168. ! I - Installation of input files ("install" keys)
  169. install.tasks : ${my.install.tasks} restart
  170. ! II - User scripts to setup run
  171. input.user.scripts : <bindir>/tm5-tmm-setup <rcfile>
  172. !=====================================================================!
  173. ! POST-Processing
  174. !=====================================================================!
  175. ! I - Archive output ("store" keys)
  176. default.store.zipper :
  177. default.store.arch : ${my.project.dir}/ARCHIVE
  178. default.store.renew : True
  179. !----------------------------------------------------------
  180. store.condition : False
  181. store.tasks :
  182. sources.store.extra.command :
  183. ! II - Touch files
  184. output.touch : False
  185. ! III - Run user scripts
  186. output.user.scripts.condition : False
  187. output.user.scripts :
  188. ! IV - DIADEM
  189. !#include tools/diadem/rc/diadem.rc
  190. !=====================================================================!
  191. ! Miscelleaneous (do not modify!) !
  192. !=====================================================================!
  193. par.ntask : 1 ! dummy value, this is set by the pycasso user script