Changeset 1038 for trunk/MESOSCALE
- Timestamp:
- Sep 13, 2013, 4:01:10 PM (11 years ago)
- Location:
- trunk/MESOSCALE/LMD_MM_MARS
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis1.inc
r315 r1038 6 6 7 7 CALL inifis(ngridmx,nlayer, & 8 #ifdef NEWPHYS 9 nq, & 10 #endif 8 11 wday_ini,wdaysec, & 9 12 wappel_phys, & 10 13 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 11 nqmx,dt, & 14 #ifdef NEWPHYS 15 dt, & 16 #else 17 nq,dt, & 18 #endif 12 19 womeg,wmugaz, & 13 20 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis2.inc
r315 r1038 9 9 CASE(1) 10 10 CALL inifis(ngridmx,nlayer, & 11 #ifdef NEWPHYS 12 nq, & 13 #endif 11 14 wday_ini,wdaysec, & 12 15 wappel_phys, & 13 16 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 14 nqmx,dt, & 17 #ifdef NEWPHYS 18 dt, & 19 #else 20 nq,dt, & 21 #endif 15 22 womeg,wmugaz, & 16 23 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & … … 29 36 CASE(2) 30 37 CALL d2_inifis(ngridmx,nlayer, & 38 #ifdef NEWPHYS 39 nq, & 40 #endif 31 41 wday_ini,wdaysec, & 32 42 wappel_phys, & 33 43 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 34 nqmx,dt, & 44 #ifdef NEWPHYS 45 dt, & 46 #else 47 nq,dt, & 48 #endif 35 49 womeg,wmugaz, & 36 50 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis3.inc
r315 r1038 9 9 CASE(1) 10 10 CALL inifis(ngridmx,nlayer, & 11 #ifdef NEWPHYS 12 nq, & 13 #endif 11 14 wday_ini,wdaysec, & 12 15 wappel_phys, & 13 16 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 14 nqmx,dt, & 17 #ifdef NEWPHYS 18 dt, & 19 #else 20 nq,dt, & 21 #endif 15 22 womeg,wmugaz, & 16 23 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & … … 28 35 CASE(2) 29 36 CALL d2_inifis(ngridmx,nlayer, & 37 #ifdef NEWPHYS 38 nq, & 39 #endif 30 40 wday_ini,wdaysec, & 31 41 wappel_phys, & 32 42 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 33 nqmx,dt, & 43 #ifdef NEWPHYS 44 dt, & 45 #else 46 nq,dt, & 47 #endif 34 48 womeg,wmugaz, & 35 49 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & … … 47 61 CASE(3) 48 62 CALL d3_inifis(ngridmx,nlayer, & 63 #ifdef NEWPHYS 64 nq, & 65 #endif 49 66 wday_ini,wdaysec, & 50 67 wappel_phys, & 51 68 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 52 nqmx,dt, & 69 #ifdef NEWPHYS 70 dt, & 71 #else 72 nq,dt, & 73 #endif 53 74 womeg,wmugaz, & 54 75 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/call_meso_inifis4.inc
r426 r1038 9 9 CASE(1) 10 10 CALL inifis(ngridmx,nlayer, & 11 #ifdef NEWPHYS 12 nq, & 13 #endif 11 14 wday_ini,wdaysec, & 12 15 wappel_phys, & 13 16 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 14 nqmx,dt, & 17 #ifdef NEWPHYS 18 dt, & 19 #else 20 nq,dt, & 21 #endif 15 22 womeg,wmugaz, & 16 23 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & … … 28 35 CASE(2) 29 36 CALL d2_inifis(ngridmx,nlayer, & 37 #ifdef NEWPHYS 38 nq, & 39 #endif 30 40 wday_ini,wdaysec, & 31 41 wappel_phys, & 32 42 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 33 nqmx,dt, & 43 #ifdef NEWPHYS 44 dt, & 45 #else 46 nq,dt, & 47 #endif 34 48 womeg,wmugaz, & 35 49 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & … … 47 61 CASE(3) 48 62 CALL d3_inifis(ngridmx,nlayer, & 63 #ifdef NEWPHYS 64 nq, & 65 #endif 49 66 wday_ini,wdaysec, & 50 67 wappel_phys, & 51 68 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 52 nqmx,dt, & 69 #ifdef NEWPHYS 70 dt, & 71 #else 72 nq,dt, & 73 #endif 53 74 womeg,wmugaz, & 54 75 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & … … 66 87 CASE(4) 67 88 CALL d4_inifis(ngridmx,nlayer, & 89 #ifdef NEWPHYS 90 nq, & 91 #endif 68 92 wday_ini,wdaysec, & 69 93 wappel_phys, & 70 94 lat_vec,lon_vec,aire_vec,1/reradius,g,r_d,cp, & 71 nqmx,dt, & 95 #ifdef NEWPHYS 96 dt, & 97 #else 98 nq,dt, & 99 #endif 72 100 womeg,wmugaz, & 73 101 wyear_day,wperiheli,waphelie,wperi_day,wobliquit, & -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm
r69 r1038 514 514 # Build the appropriate 'dimensions.h' file 515 515 cd dimension 516 makdim $ ntrac $dim516 makdim $dim 517 517 # echo contents of dimensions.h to standard output 518 518 cat $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm.last
r69 r1038 518 518 # Build the appropriate 'dimensions.h' file 519 519 cd dimension 520 makdim $ ntrac $dim520 makdim $dim 521 521 # echo contents of dimensions.h to standard output 522 522 cat $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_g95
r330 r1038 531 531 # Build the appropriate 'dimensions.h' file 532 532 cd dimension 533 ./makdim $ ntrac $dim533 ./makdim $dim 534 534 # echo contents of dimensions.h to standard output 535 535 cat $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_g95.last
r69 r1038 517 517 # Build the appropriate 'dimensions.h' file 518 518 cd dimension 519 makdim $ ntrac $dim519 makdim $dim 520 520 # echo contents of dimensions.h to standard output 521 521 cat $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_ifort
r86 r1038 519 519 # Build the appropriate 'dimensions.h' file 520 520 cd dimension 521 ./makdim $ ntrac $dim521 ./makdim $dim 522 522 # echo contents of dimensions.h to standard output 523 523 cat $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_mpi
r86 r1038 531 531 # Build the appropriate 'dimensions.h' file 532 532 cd dimension 533 makdim $ ntrac $dim533 makdim $dim 534 534 # echo contents of dimensions.h to standard output 535 535 cat $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_mpifort
r772 r1038 519 519 # Build the appropriate 'dimensions.h' file 520 520 cd dimension 521 ./makdim $ ntrac $dim521 ./makdim $dim 522 522 # echo contents of dimensions.h to standard output 523 523 cat $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/mars_lmd_new/makegcm_pgf
r335 r1038 523 523 # Build the appropriate 'dimensions.h' file 524 524 cd dimension 525 makdim $ ntrac $dim525 makdim $dim 526 526 # echo contents of dimensions.h to standard output 527 527 cat $libf/grid/dimensions.h -
trunk/MESOSCALE/LMD_MM_MARS/SRC/WRFV2/phys/module_lmd_driver.F
r802 r1038 192 192 ! *** for LMD physics 193 193 ! ------> inputs: 194 INTEGER :: ngrid,nlayer,nq,nsoil ,nqmx194 INTEGER :: ngrid,nlayer,nq,nsoil 195 195 REAL :: pday,ptime,MY 196 196 REAL :: aire_val,lat_val,lon_val … … 391 391 nlayer = kpe-kps+1 ! number of vertical layers: nlayermx 392 392 nsoil = NUM_SOIL_LAYERS ! number of soil layers: nsoilmx 393 if (num_3d_s > 1) then ! number of advected fields : nqmx393 if (num_3d_s > 1) then ! number of advected fields 394 394 nq = num_3d_s-1 395 nqmx = num_3d_s-1396 395 else 397 396 nq = 1 398 nqmx = 1399 397 endif 400 398 ! **** needed but hardcoded … … 1052 1050 qsurf_val(2)=MARS_WICE(i,j) !! logique avec wtnom(2) = 'h2o_ice' defini ci-dessus 1053 1051 !! ----- retrocompatible ancienne physique 1054 !! ----- [H2O ice is tracer nqmxin qsurf in LMD physics]1052 !! ----- [H2O ice is last tracer in qsurf in LMD physics] 1055 1053 CASE(2) 1056 1054 qsurf_val(1)=0. !! not coupled with lifting for the moment [non remobilise] -
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.