Changeset 1588 for trunk/MESOSCALE/LMD_MM_MARS/SRC
- Timestamp:
- Aug 28, 2016, 11:28:26 PM (8 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS/SRC
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/SCRIPTS/copy_model
r1582 r1588 1 1 #! /bin/bash 2 2 3 ### this will become an argument 4 laphysiq="mars_lmd_new" 5 ### 3 ########################################################## 4 laphysiq="mars_lmd" ## default value 5 config="" ## default value 6 while getopts "p:c:" options; do 7 case $options in 8 p ) laphysiq="${OPTARG}";; ## choose physics 9 c ) config="${OPTARG}";; ## choose config 10 esac 11 done 12 ########################################################## 13 echo '*** copying physics: '$laphysiq 14 ########################################################## 6 15 7 16 echo '*** linking sources from ...' 8 17 WRFSRC=$PWD/SRC/ 18 if [[ "${config}" == "les" ]] 19 then 20 WRFSRC=$PWD/SRC/LES/ 21 fi 9 22 echo $WRFSRC 10 23 echo '*** to ...' … … 29 42 ln -sf $WRFSRC/WRFV2/configure . 30 43 ln -sf $WRFSRC/WRFV2/Makefile . 31 ln -sf $WRFSRC/WRFV2/mars.sed* .44 #ln -sf $WRFSRC/WRFV2/mars.sed* . 32 45 ln -sf $WRFSRC/WRFV2/*.h . 33 46 ln -sf $WRFSRC/WRFV2/configure.defaults.* . 34 47 ln -sf $WRFSRC/WRFV2/call_meso_inifis?.inc . 35 48 ln -sf $WRFSRC/WRFV2/call_meso_physiq?.inc . 49 50 sed s+"YORGLYORGL"+"$laphysiq"+g $WRFSRC/WRFV2/physics.sed > physics.sed 36 51 37 52 #\rm meso_dimphys.h … … 124 139 mkdir external/io_mcel 125 140 ln -sf $WRFSRC/WRFV2/external/io_mcel/* external/io_mcel/ 126 mkdir mars_lmd127 mkdir mars_lmd/libf128 ln -sf $WRFSRC/WRFV2/ mars_lmd/makegcm* mars_lmd/129 ln -sf $WRFSRC/WRFV2/ mars_lmd/meso_dimphys.h* mars_lmd/130 ln -sf $WRFSRC/WRFV2/ mars_lmd/create_make_gcm mars_lmd/131 #ln -sf $WRFSRC/WRFV2/ mars_lmd/makefile mars_lmd/132 ln -sf $WRFSRC/WRFV2/ mars_lmd/libf/duplicate* mars_lmd/libf/133 ln -sf $WRFSRC/WRFV2/ mars_lmd/libf/generate* mars_lmd/libf/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/ 134 149 135 mkdir mars_lmd/libf/grid136 ln -sf $WRFSRC/WRFV2/ mars_lmd/libf/grid/* mars_lmd/libf/grid/137 mkdir mars_lmd/libf/phymars138 ln -sf $WRFSRC/WRFV2/ mars_lmd/libf/phymars/* mars_lmd/libf/phymars/139 ln -sf $WRFSRC/WRFV2/ mars_lmd/libf/phy_common/* mars_lmd/libf/phymars/140 mkdir mars_lmd/libf/dyn3d141 ln -sf $WRFSRC/WRFV2/ mars_lmd/libf/dyn3d/* mars_lmd/libf/dyn3d/142 mkdir mars_lmd/libf/aeronomars143 ln -sf $WRFSRC/WRFV2/ mars_lmd/libf/aeronomars/* mars_lmd/libf/aeronomars/144 mkdir mars_lmd/libf/bibio145 ln -sf $WRFSRC/WRFV2/ mars_lmd/libf/bibio/* mars_lmd/libf/bibio/146 mkdir mars_lmd/libo147 #touch mars_lmd/makefile150 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 148 163 149 164 mkdir test … … 152 167 ln -sf $WRFSRC/WRFV2/test/em_real/* test/em_real/ 153 168 154 cd mars_lmd/libf/phymars/169 cd $laphysiq/libf/phymars/ 155 170 \rm dimphys.h 156 171 #ln -sf ../../../meso_dimphys.h dimphys.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/physics.sed
r1587 r1588 1 s+ *../frame/module_internal_header_util.o ../frame/pack_utils.o -L../external/esmf_time_f90 -lesmf_time+& -L../ mars_lmd/libo -llmd+g1 s+ *../frame/module_internal_header_util.o ../frame/pack_utils.o -L../external/esmf_time_f90 -lesmf_time+& -L../YORGLYORGL/libo -llmd+g 2 2
Note: See TracChangeset
for help on using the changeset viewer.