Ignore:
Timestamp:
Aug 30, 2016, 3:04:29 PM (8 years ago)
Author:
aslmd
Message:

moved interface for outputs from module_lmd_driver to update_outputs_physiq_mod. updated the nophysics case by adding a case dynphy_wrf_void_lmd_new which will serve as a template for a physiq interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SRC/SCRIPTS/copy_model

    r1588 r1590  
    4747ln -sf $WRFSRC/WRFV2/call_meso_inifis?.inc .
    4848ln -sf $WRFSRC/WRFV2/call_meso_physiq?.inc .
    49 
    50 sed s+"YORGLYORGL"+"$laphysiq"+g $WRFSRC/WRFV2/physics.sed > physics.sed
    5149
    5250#\rm meso_dimphys.h
     
    139137mkdir external/io_mcel
    140138ln -sf $WRFSRC/WRFV2/external/io_mcel/* external/io_mcel/
    141 mkdir $laphysiq
    142 mkdir $laphysiq/libf
    143 ln -sf $WRFSRC/WRFV2/$laphysiq/makegcm* $laphysiq/
    144 ln -sf $WRFSRC/WRFV2/$laphysiq/meso_dimphys.h* $laphysiq/
    145 ln -sf $WRFSRC/WRFV2/$laphysiq/create_make_gcm $laphysiq/
    146 #ln -sf $WRFSRC/WRFV2/$laphysiq/makefile $laphysiq/
    147 ln -sf $WRFSRC/WRFV2/$laphysiq/libf/duplicate* $laphysiq/libf/
    148 ln -sf $WRFSRC/WRFV2/$laphysiq/libf/generate* $laphysiq/libf/
    149139
    150 mkdir $laphysiq/libf/grid
    151 ln -sf $WRFSRC/WRFV2/$laphysiq/libf/grid/* $laphysiq/libf/grid/
    152 mkdir $laphysiq/libf/phymars
    153 ln -sf $WRFSRC/WRFV2/$laphysiq/libf/phymars/* $laphysiq/libf/phymars/
    154 ln -sf $WRFSRC/WRFV2/$laphysiq/libf/phy_common/* $laphysiq/libf/phymars/
    155 mkdir $laphysiq/libf/dyn3d
    156 ln -sf $WRFSRC/WRFV2/$laphysiq/libf/dyn3d/* $laphysiq/libf/dyn3d/
    157 mkdir $laphysiq/libf/aeronomars
    158 ln -sf $WRFSRC/WRFV2/$laphysiq/libf/aeronomars/* $laphysiq/libf/aeronomars/
    159 mkdir $laphysiq/libf/bibio
    160 ln -sf $WRFSRC/WRFV2/$laphysiq/libf/bibio/* $laphysiq/libf/bibio/
    161 mkdir $laphysiq/libo
    162 #touch $laphysiq/makefile
     140if [[ "${laphysiq}" == *"void"* ]]
     141then
     142
     143  ## case with no physics
     144  rm -f physics.sed
     145  touch physics.sed
     146
     147else
     148
     149  ## case with physics
     150  mkdir $laphysiq
     151  mkdir $laphysiq/libf
     152  ln -sf $WRFSRC/WRFV2/$laphysiq/makegcm* $laphysiq/
     153  ln -sf $WRFSRC/WRFV2/$laphysiq/meso_dimphys.h* $laphysiq/
     154  ln -sf $WRFSRC/WRFV2/$laphysiq/create_make_gcm $laphysiq/
     155  #ln -sf $WRFSRC/WRFV2/$laphysiq/makefile $laphysiq/
     156  ln -sf $WRFSRC/WRFV2/$laphysiq/libf/duplicate* $laphysiq/libf/
     157  ln -sf $WRFSRC/WRFV2/$laphysiq/libf/generate* $laphysiq/libf/
     158
     159  mkdir $laphysiq/libf/grid
     160  ln -sf $WRFSRC/WRFV2/$laphysiq/libf/grid/* $laphysiq/libf/grid/
     161  mkdir $laphysiq/libf/phymars
     162  ln -sf $WRFSRC/WRFV2/$laphysiq/libf/phymars/* $laphysiq/libf/phymars/
     163  ln -sf $WRFSRC/WRFV2/$laphysiq/libf/phy_common/* $laphysiq/libf/phymars/
     164  mkdir $laphysiq/libf/dyn3d
     165  ln -sf $WRFSRC/WRFV2/$laphysiq/libf/dyn3d/* $laphysiq/libf/dyn3d/
     166  mkdir $laphysiq/libf/aeronomars
     167  ln -sf $WRFSRC/WRFV2/$laphysiq/libf/aeronomars/* $laphysiq/libf/aeronomars/
     168  mkdir $laphysiq/libf/bibio
     169  ln -sf $WRFSRC/WRFV2/$laphysiq/libf/bibio/* $laphysiq/libf/bibio/
     170  mkdir $laphysiq/libo
     171  #touch $laphysiq/makefile
     172
     173  \rm $laphysiq/libf/phymars/dimphys.h
     174
     175  sed s+"YORGLYORGL"+"$laphysiq"+g $WRFSRC/WRFV2/physics.sed > physics.sed
     176fi
    163177
    164178mkdir test
     
    167181ln -sf $WRFSRC/WRFV2/test/em_real/* test/em_real/
    168182
    169 cd $laphysiq/libf/phymars/
    170 \rm dimphys.h
    171 #ln -sf ../../../meso_dimphys.h dimphys.h
    172 cd ../../..
    173 
    174183echo '*** end'
    175184
Note: See TracChangeset for help on using the changeset viewer.