Changeset 1590 for trunk/MESOSCALE/LMD_MM_MARS/makemeso
- Timestamp:
- Aug 30, 2016, 3:04:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/makemeso
r1588 r1590 49 49 e ) from_scratch=1;; ## a fresh start with a completely new folder 50 50 s ) scenario="${OPTARG}";; ## a specific scenario (with precompiling flags) 51 x ) donotcompile=1;phys=" nophys_";donotcompilephys=1;; ## a case with no LMD physics included51 x ) donotcompile=1;phys="void_lmd_new";donotcompilephys=1;; ## a case with no LMD physics included 52 52 h ) echo " 53 53 # Use: … … 130 130 esac 131 131 # number of processors 132 if [[ "${phys}" == *"new"* ]] || [[ "${phys}" == "nophys_" ]]132 if [[ "${phys}" == *"new"* ]] #|| [[ "${phys}" == "nophys_" ]] 133 133 then 134 134 numproc=999 … … 183 183 \rm what_folder 2> /dev/null 184 184 echo ${conf_wrf} > what_folder 185 if [ ${donotcompile} -eq 1]185 if [ ${donotcompile} -eq 0 ] 186 186 then 187 # \rm what_folder 2> /dev/null188 # echo '**********************'189 # echo '*** Your folder is ...'190 # echo '**********************'191 # echo ${conf_wrf} | tee what_folder192 # cat what_folder193 # echo ${conf_wrf} > what_folder194 # echo ${reply} > what_compilo195 # echo ${numproc} > what_numproc196 if [[ "${phys}" != "nophys_" ]]197 then198 exit199 fi200 else187 ##\rm what_folder 2> /dev/null 188 ##echo '**********************' 189 ##echo '*** Your folder is ...' 190 ##echo '**********************' 191 ##echo ${conf_wrf} | tee what_folder 192 ##cat what_folder 193 ##echo ${conf_wrf} > what_folder 194 ##echo ${reply} > what_compilo 195 ##echo ${numproc} > what_numproc 196 #if [[ "${phys}" != "nophys_" ]] 197 #then 198 # exit 199 #fi 200 #else 201 201 # tracers: now dynamically set in newphys 09/2013 202 202 if [[ "${phys}" == *"new"* ]] … … 602 602 603 603 ################ 604 if [[ "${phys}" == "nophys_" ]]605 then606 if [[ "${config}" == "les" ]] ### LES is different because of WRFV3607 then608 sed s+"ARCH_LOCAL = "+"ARCH_LOCAL = -DNOPHYS "+g configure.wrf > yeah ; mv -f yeah configure.wrf609 sed s+"-L../$phys/libo -llmd"+""+g configure.wrf > yeah ; mv -f yeah configure.wrf610 else611 ### not tested yet but should be working612 echo CAUTION CAUTION CAUTION NOT FULLY TESTED613 sed s+"ARCHFLAGS = "+"ARCHFLAGS = -DNOPHYS "+g configure.wrf > yeah ; mv -f yeah configure.wrf614 sed s+"-L../$phys/libo -llmd"+""+g configure.wrf > yeah ; mv -f yeah configure.wrf615 fi616 fi604 #if [[ "${phys}" == "nophys_" ]] 605 #then 606 # if [[ "${config}" == "les" ]] ### LES is different because of WRFV3 607 # then 608 # sed s+"ARCH_LOCAL = "+"ARCH_LOCAL = -DNOPHYS "+g configure.wrf > yeah ; mv -f yeah configure.wrf 609 # sed s+"-L../$phys/libo -llmd"+""+g configure.wrf > yeah ; mv -f yeah configure.wrf 610 # else 611 # ### not tested yet but should be working 612 # echo CAUTION CAUTION CAUTION NOT FULLY TESTED 613 # sed s+"ARCHFLAGS = "+"ARCHFLAGS = -DNOPHYS "+g configure.wrf > yeah ; mv -f yeah configure.wrf 614 # sed s+"-L../$phys/libo -llmd"+""+g configure.wrf > yeah ; mv -f yeah configure.wrf 615 # fi 616 #fi 617 617 ################ 618 618 … … 792 792 echo 2. compiling WRF dynamical core ... 793 793 794 if [[ "${phys}" == "nophys_" ]]795 then796 echo 'NO LMD PHYSICS included'797 else798 if [[ ! ( -f "call_meso_physiq.inc" ) ]]799 then800 echo 'did you compile the physics ? no call_meso_physiq.inc !'801 exit802 fi803 fi794 #if [[ "${phys}" == "nophys_" ]] 795 #then 796 # echo 'NO LMD PHYSICS included' 797 #else 798 # if [[ ! ( -f "call_meso_physiq.inc" ) ]] 799 # then 800 # echo 'did you compile the physics ? no call_meso_physiq.inc !' 801 # exit 802 # fi 803 #fi 804 804 805 805 # be sure to compile with the most recent physics
Note: See TracChangeset
for help on using the changeset viewer.