Ignore:
Timestamp:
May 25, 2012, 8:06:39 PM (13 years ago)
Author:
acolaitis
Message:

LES RESTART
===========

Several corrections for LES restart. Added a number of save variables from physiq to restart netcdf, so that continuity between runs can truly be achieved.
Added some lines in makemeso so that debug option "-g" also works for WRF (in addtion to the GCM physics) when compiling with ifort

===============================
WARNING WARNING WARNING WARNING
===============================

  • FROM THIS REVISION, YOU MUST MODIFY MANUALLY SOME FILES AS FOLLOW, BEFORE YOU CAN RE COMPILE THE LES :

simply copy the call_meso_physiq*.inc files in $MMM/SRC/WRFV2/ into $MMM/SRC/LES/WRFV2/.
=>> this is usually done during LES installation by $MMM/SRC/LES/LMD_LES_MARS_install

  • IF YOU WANT TO MAKE A RUN WITH RESTART FILES, YOU MUST MAKE A CLEAN RECOMPILATION OF THE MODEL WITH THE UPDATED REGISTRY AND UPDATED GCM FILES

=>> it is advised to remove your working directory (ex: lesnewphys_mpifort64) and start again with makemeso

  • IF YOU WANT TO MAKE A RUN AND GENERATE RESTART FILES, YOU MUST RECOMPILE THE IDEAL.EXE STEP AND PERFORM IT

=>> current wrfinput will not work, as it does not contain the new variables
===============================
WARNING WARNING WARNING WARNING
===============================

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r666 r674  
    3535phys=""
    3636scenario=""
    37 while getopts "drc:njhgpfs:x" options; do
     37while getopts "drc:njhgbpfs:x" options; do
    3838  case $options in
    3939   d ) donotcompile=1;;       ## just to check the compile folder
     
    380380                       sed s+"O3"+"O3 -mcmodel=large -shared-intel"+g configure.wrf > yeah ; mv -f yeah configure.wrf
    381381                       sed s+"-llmd"+"-llmd $NETCDF/lib/libnetcdf.a"+g     configure.wrf > yeah ; mv -f yeah configure.wrf
     382                       if [ ${debug} -ne 0 ]   # not working for xlf!
     383                             then
     384                             echo 'DEBUG DEBUG DEBUG DEBUG'
     385                             sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah
     386                             mv -f yeah configure.wrf
     387                       fi
    382388                       \rm conf > /dev/null ;;
    383389
     
    422428     ifort_64_single)  echo 5 | configure > log_compile 2> log_error
    423429                       sed s+"-DIFORT_KLUDGE"+" "+g configure.wrf > yeah ; mv -f yeah configure.wrf
     430                       if [ ${debug} -ne 0 ]   # not working for xlf!
     431                             then
     432                             echo 'DEBUG DEBUG DEBUG DEBUG'
     433                             sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah
     434                             mv -f yeah configure.wrf
     435                       fi
    424436                         ## !!! NETCDF must be defined
    425437                         sed s+"lio_grib_share"+"lio_grib_share -L../mars_lmd/libo -llmd $NETCDF/lib/libnetcdf.a"+g configure.wrf > yeah
     
    431443                       sed s+"-cc=icc"+" "+g configure.wrf > yeah ; mv -f yeah configure.wrf
    432444                       sed s+"-DIFORT_KLUDGE"+" "+g configure.wrf > yeah ; mv -f yeah configure.wrf
     445                       if [ ${debug} -ne 0 ]   # not working for xlf!
     446                             then
     447                             echo 'DEBUG DEBUG DEBUG DEBUG'
     448                             sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah
     449                             mv -f yeah configure.wrf
     450                       fi
    433451                       sed s+"O3"+"O2"+g configure.wrf > yeah ; mv -f yeah configure.wrf
    434452                                        #sed s+"O3"+"O0"+g configure.wrf > yeah ; mv -f yeah configure.wrf  ### pour compilation rapide
     
    535553  then
    536554    echo 'DEBUG DEBUG DEBUG DEBUG'
    537     sed s+"#-g"+"-g -Ktrap=fp -Mbounds"+g configure.wrf > yeah
     555    sed s+"#-g"+" -g -no-ftz -traceback -ftrapuv -fp-stack-check -check"+g configure.wrf > yeah
    538556    #sed s+"#-g"+"-g"+g configure.wrf > yeah
    539557    mv -f yeah configure.wrf
Note: See TracChangeset for help on using the changeset viewer.