Ignore:
Timestamp:
Apr 28, 2017, 2:17:30 AM (8 years ago)
Author:
aslmd
Message:

MESOSCALE. update manual to mention meso_install.sh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/MANUAL/SRC/advance.tex

    r1272 r1707  
    146146\item in \ttt{namelist.input}, the 6th order small scale diffusion must be set to 0 (i.e. \ttt{diff\_6th\_opt = 0}) if the resolution is small ($<10$~km)
    147147\item additional \ttt{mars} modes can be accessed (e.g. for interactive dust or the radiative effect of clouds)
    148 \item if \ttt{init\_TI} is modified, \ttt{real.exe} must be run again (because of subsurface modeling)
     148%\item if \ttt{init\_TI} is modified, \ttt{real.exe} must be run again (because of subsurface modeling)
    149149\item a varying map for surface roughness~$z_0$ can be used -- or a constant value can be set with \ttt{init\_Z0} in \ttt{namelist.input} (if there is a problem, the old reference of 1cm is chosen)
    150150\item (starting from version \ttt{r1038}) the model does not need to be recompiled if the number of tracers is changed
     
    160160%% run.def different if callphys different for nests
    161161
     162%%% Here is how to output near-surface diagnostics
     163%- Look for n_out in physiq.F this will lead you to a few lines of codes that will allow you to output near-surface diagnostics
     164%- Change n_out to a value of 2
     165%- A few lines below change z_out and make it equal to [1.6,0.5]
     166%Now this is OK for physics, but you have to make this available in the dynamical outputs of WRF
     167%Go to the mesoscale sources, then in Registry find Registry.EM
     168%then following the example of this kind of line
     169%state  real  ALBBARE   ij   misc  1  -  rhd   "ALBBARE"   "SOIL ALBEDO"                     ""        #SAVEMARS2 albedodat
     170%add this
     171%state  real  TVIK   ij   misc  1  -  rhd   "TVIK"   "temperature at 1.6m"     "K"       #SAVEMARS2 T_out1
     172%Then proceed through a full recompile of the mesoscale model from scratch Here is how to output near-surface diagnostics
     173%- Look for n_out in physiq.F this will lead you to a few lines of codes that will allow you to output near-surface diagnostics
     174%- Change n_out to a value of 2
     175%- A few lines below change z_out and make it equal to [1.6,0.5]
     176%Now this is OK for physics, but you have to make this available in the dynamical outputs of WRF
     177%Go to the mesoscale sources, then in Registry find Registry.EM
     178%then following the example of this kind of line
     179%state  real  ALBBARE   ij   misc  1  -  rhd   "ALBBARE"   "SOIL ALBEDO"                     ""        #SAVEMARS2 albedodat
     180%add this
     181%state  real  TVIK   ij   misc  1  -  rhd   "TVIK"   "temperature at 1.6m"     "K"       #SAVEMARS2 T_out1
     182%Then proceed through a full recompile of the mesoscale model from scratch
     183
     184\sk
     185A fully functional modeling architecture with \ttt{LMD\_MM\_MARS} and the new physical parameterizations (as well as the \ttt{LMDZ\_MARS} Global Climate Model used to initialize the mesoscale simulations) can be downloaded and compiled using the \ttt{meso\_install.sh} script: \url{http://svn.lmd.jussieu.fr/Planeto/trunk/MESOSCALE/LMD_MM_MARS/SIMU/meso_install.sh}. The \ttt{NETCDF} environment variable shall be positioned. The \ttt{meso\_install.sh} script only works on the IPSL \ttt{ciclad} computing cluster with compiler ifort; it shall be used as a template for other environments (or manually installing the architecture step-by-step). Options in the \ttt{meso\_install.sh} script can be displayed with the \ttt{-h} option.
     186
     187%I think the main point is to change CICLAD for a name representative of your local cluster, and then creates a arch file analogous to what is done for arch_CICLADifort, but adapted to your local cluster
     188
     189%declare -x WHERE_MPI=/usr/lib64/openmpi/1.6.5-ifort/bin/
     190%declare -x NETCDF=/opt/netcdf3/ifort
     191%declare -x NCDFLIB=$NETCDF/lib
     192%declare -x NCDFINC=$NETCDF/include
     193%### pour fcm nouvelle version du GCM
     194%declare -x PATH=~millour/FCM_V1.2/bin/:$PATH
     195%## + mettre ./ dans PATH
     196
     197%r1613 (or slightly before) use of -p mars_lmd_new
     198
     199
    162200
    163201\clearemptydoublepage
Note: See TracChangeset for help on using the changeset viewer.