Changeset 1038 for trunk/MESOSCALE/LMD_MM_MARS/makemeso
- Timestamp:
- Sep 13, 2013, 4:01:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/makemeso
r856 r1038 35 35 phys="" 36 36 scenario="" 37 while getopts "drc:njhgpfs:x" options; do 37 from_scratch=0 38 while getopts "drc:njhgpfs:xe" options; do 38 39 case $options in 39 40 d ) donotcompile=1;; ## just to check the compile folder … … 45 46 p ) phys="newphys_";; ## with new physics 46 47 f ) fresh_start=1;; ## a fresh start 48 e ) from_scratch=1;; ## a fresh start with a completely new folder 47 49 s ) scenario="${OPTARG}";; ## a specific scenario, you need a corresponding "mars_lmd_..." 48 50 x ) donotcompile=1;phys="nophys_";donotcompilephys=1;; ## a case with no LMD physics included … … 72 74 # 73 75 # makemeso -f ## fresh start [clean -a] 76 # 77 # makemeso -e ## a completely new recompile with erasing ALL compiling folder 74 78 # 75 79 # makemeso -s storm ## a specific scenario, you need a corresponding mars_lmd_... (only for newphys) … … 169 173 fi 170 174 else 171 echo Number of tracers ? ; read tra 172 if [ ${tra} -eq 0 ] 173 then 174 tra=1 175 echo Number of tracers ? ; read tra 176 # tracers: no dynamically set in newphys 09/2013 177 if [[ "${phys}" == "newphys_" ]] 178 then 179 tra=999 180 else 181 if [ ${tra} -eq 0 ] 182 then 183 tra=1 184 fi 175 185 fi 186 # scatterers: a specific stuff for newphys 176 187 if [[ "${phys}" == "newphys_" ]] 177 188 then … … 181 192 fi 182 193 fi 194 # 'from scratch' case 195 if [ ${from_scratch} -eq 1 ] 196 then 197 echo "***** I ERASE THE FOLDER "${conf_wrf} 198 \rm -rf ${conf_wrf} 199 fi 183 200 # folder 184 201 mkdir ${conf_wrf} 2> /dev/null … … 684 701 mkdir temp 685 702 #cp -f LINUXfastI._${physz}_t${tra}_reg/*.a temp 686 cp -f LINUX*/*.a temp 703 cp -f LINUX*/*.a temp/ 687 704 cd temp 688 705 ar x libbibio.a
Note: See TracChangeset
for help on using the changeset viewer.