Changeset 236


Ignore:
Timestamp:
Jul 20, 2011, 3:40:58 PM (14 years ago)
Author:
aslmd
Message:

MESOSCALE: a commit to allow one to easily work on several clusters with a minimum amount of changes to the script files or includes. basically one has just to edit MESOSCALE/LMD_MM_MARS/SRC/WRFV2/meso_datafile.h for runs with old physics, and add a link to the GCM start database (if not done, there is now a warning in launch_gcm anyway

Location:
trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE

    • Property svn:ignore set to
      TMPDIR
      LMDZ.MARS/libo
      LMDZ.MARS/gcm.e
      LMDZ.MARS/newstart.e
      LMDZ.MARS/liste_des_sources_f90
      LMDZ.MARS/tmp
      LMDZ.MARS/liste_des_sources_f77
      LMDZ.MARS/tmp90
      LMDZ.MARS/makefile
      LMDZ.MARS/tmp77
      LMDZ.MARS/myGCM/restart.nc
      LMDZ.MARS/myGCM/start.nc
      LMDZ.MARS/myGCM/restartfi.nc
      LMDZ.MARS/myGCM/log_gcm
      LMDZ.MARS/myGCM/startfi.nc
      LMD_MM_MARS/lesnewphys_mpi_64
      LMD_MM_MARS/last
      LMD_MM_MARS/newphys_mpifort_64
      LMD_MM_MARS/idealmpifort_64
      LMD_MM_MARS/mpifort_64
      LMD_MM_MARS/lesnewphys_mpifort_64
      LMD_MM_MARS/stormnewphys_mpifort_64
      LMD_MM_MARS/SRC/LES/in_reality_this_is_WRFV3_but_is_named_WRFV2_for_continuity
      LMD_MM_MARS/SRC/LES/WRFV2
      LMD_MM_MARS/WPS_GEOG/albedo_TES
      LMD_MM_MARS/WPS_GEOG/mola_topo64
      LMD_MM_MARS/WPS_GEOG/thermal_TES
      LMD_MM_MARS/WPS_GEOG/mola_topo32
  • trunk/MESOSCALE/LMDZ.MARS.new/in_lmdz_mars_newphys/myGCM/launch_gcm

    r117 r236  
    11#! /bin/bash
    22
    3 ##############################
    4 # use: - launch_gcm          #
    5 #      - echo 2 | launch_gcm #
    6 ##############################
     3###############################
     4# use: - launch_gcm           #
     5#      - echo 22 | launch_gcm #
     6###############################
    77
    8 # Author : A. Spiga - Spring/Winter 2008
     8# Author : A. Spiga - Spring/Winter 2008
     9# added link trick in 2011
    910
    10 ################## penser a recompiler si on change ceci
    11 #startbase='/d5/aslmd/LMD_MM_MARS_DATA/STARTBASE_64_48_32_t2'
    12 #startbase='/d5/aslmd/LMD_MM_MARS_DATA/old_STARTBASE_64_48_25'
    13 #startbase='/d5/aslmd/LMD_MM_MARS_DATA/STARTBASE_64_48_25'
    14 #startbase='/tmp7/emlmd/run_LMDZ.MARS.BETA.fit.widor/RUN/'
     11        if [[ ! -d startbase ]]
     12        then
     13          echo "please create in $PWD a symbolic link: startbase"
     14          echo "for instance: ln -sf /san/home/spiga/DATAFILE/STARTBASE_64_48_32_t2 $PWD/startbase"
     15          echo "(and compile the GCM with the correct dimensions)"
     16          exit
     17        fi
     18##################
    1519#startbase='../../STARTS/'
    1620#startbase='/d2/emlmd/run_LMDZ.MARS.BETA.TASI/tau1/'
     
    2529#
    2630echo '>>>' choose start sol ? ; read daygcm
    27 if [[ "$daygcm" == 0 ]]
    28 then
    29 daygcm=669
    30 fi
     31  #if [[ "$daygcm" == 0 ]]
     32  #then
     33  #daygcm=669
     34  #fi
    3135daygcm=$(expr ${daygcm} - 1)
    3236
  • trunk/MESOSCALE/LMDZ.MARS/in_lmdz_mars/myGCM/launch_gcm

    r226 r236  
    66###############################
    77
    8 # Author : A. Spiga - Spring/Winter 2008
     8# Author : A. Spiga - Spring/Winter 2008
     9# added link trick in 2011
    910
    10 ################## penser a recompiler si on change ceci
    11 #startbase='/d5/aslmd/LMD_MM_MARS_DATA/STARTBASE_64_48_32_t2'
    12 #startbase='/d5/aslmd/LMD_MM_MARS_DATA/old_STARTBASE_64_48_25'
    13 #startbase='/d5/aslmd/LMD_MM_MARS_DATA/STARTBASE_64_48_25'
    14 startbase='/d5/aslmd/LMD_MM_MARS_DATA/STARTBASE_64_48_32_t2'
    15 ##################
     11        if [[ ! -d startbase ]]
     12        then
     13          echo "please create in $PWD a symbolic link: startbase"
     14          echo "for instance: ln -sf /san/home/spiga/DATAFILE/STARTBASE_64_48_32_t2 $PWD/startbase"
     15          echo "(and compile the GCM with the correct dimensions)"
     16          exit
     17        fi
    1618
    1719#
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/runmeso

    r235 r236  
    466466        cd myGCM
    467467        echo ${daygcm} | ./launch_gcm
     468        if [[ ! -d startbase ]]
     469        then
     470          echo "I guess I should stop here."
     471          exit
     472        fi
    468473        #
    469474        # prepare files for WPS
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/SCRIPTS/copy_model

    r216 r236  
    3838mkdir Registry
    3939ln -sf $WRFSRC/WRFV2/Registry/* Registry/
     40  ### this is to allow one to change Registry somewhere without it being changed everywhere !
     41  rm Registry/Registry.EM
     42  cp $WRFSRC/WRFV2/Registry/Registry.EM Registry/
    4043mkdir arch
    4144ln -sf $WRFSRC/WRFV2/arch/* arch/
  • trunk/MESOSCALE_DEV

    • Property svn:ignore set to
      PLOT/PYTHON/mylib/logc
      PLOT/PYTHON/mylib/timestuff.so
      PLOT/PYTHON/mylib/loge
      PLOT/PYTHON/mylib/api.so
      PLOT/PYTHON/mylib/mymath.pyc
      PLOT/PYTHON/mylib/api_wrapper.pyc
      PLOT/PYTHON/mylib/myplot.pyc
Note: See TracChangeset for help on using the changeset viewer.