Changeset 3765 for LMDZ6/branches
- Timestamp:
- Jul 15, 2020, 10:14:37 PM (4 years ago)
- Location:
- LMDZ6/branches/Optimisation_LMDZ/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/conf_phys_m.F90
r3630 r3765 291 291 ! 292 292 !Config Key = ok_all_xml 293 !Config Desc = utiliser les xml pourles d éfinitions des champs pour xios293 !Config Desc = utiliser les xml pourles d�finitions des champs pour xios 294 294 !Config Def = .FALSE. 295 295 !Config Help = … … 836 836 !Config Desc = Flag de fisrtilp 837 837 !Config Def = 0 838 !Config Help = Flag pour la pluie grande- échelle les options suivantes existent :838 !Config Help = Flag pour la pluie grande-�chelle les options suivantes existent : 839 839 !Config >1 nb iterations pour converger dans le calcul de qsat 840 840 iflag_fisrtilp_qsat_omp = 0 … … 844 844 !Config Desc = Flag de fisrtilp 845 845 !Config Def = 0 846 !Config Help = Flag pour la pluie grande- échelle les options suivantes existent :846 !Config Help = Flag pour la pluie grande-�chelle les options suivantes existent : 847 847 !Config 0 pas d effet Bergeron 848 848 !Config 1 effet Bergeron pour T<0 … … 860 860 !Config key = cvl_comp_threshold 861 861 !Config Desc = maximum fraction of convective points enabling compression 862 !Config Def = 1.00862 !Config Def = 0. 863 863 !Config Help = fields are compressed when less than a fraction cvl_comp_threshold 864 864 !Config Help = of the points is convective. 865 cvl_comp_threshold_omp = 1.00865 cvl_comp_threshold_omp = 0. 866 866 CALL getin('cvl_comp_threshold', cvl_comp_threshold_omp) 867 867 -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/cv3a_driver.f90
r3764 r3765 141 141 SUBROUTINE cv3a_driver(len, nd, ndp1, ntra, nloc, k_upper, & 142 142 iflag_con, iflag_mix, iflag_ice_thermo, iflag_clos, ok_conserv_q, & 143 delt, &143 delt, comp_threshold, & 144 144 t1, q1, qs1, t1_wake, q1_wake, qs1_wake, s1_wake, & 145 145 u1, v1, & … … 181 181 REAL, INTENT(IN) :: coefw_cld_cv ! coefficient for updraft velocity in convection 182 182 REAL, INTENT(IN) :: delt ! time step 183 REAL, INTENT (IN) :: comp_threshold 183 184 REAL, DIMENSION(len, nd), INTENT(IN) :: t1 ! temperature (sat draught envt) 184 185 REAL, DIMENSION(len, nd), INTENT(IN) :: q1 ! specific hum (sat draught envt) … … 406 407 ! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 407 408 408 compress = .false. 409 ! Compression has 3 possible modes: 410 ! 1) Compress = true : 411 compress_mode = COMPRESS_MODE_COMPRESS ! 1.1) Copy convective cells in contiguous array 412 !compress_mode = COMPRESS_MODE_COPY ! 1.2) Copy all cells and also compute on non-convective cells 413 ! 2) Compress = false : Don't copy and use original arrays, compute on non-convective cells 414 ! Never compress when comp_threshold = 0, always compress when comp_threshold = 1 415 ! comp_threshold = 0 (default) offers best performance when using many CPUs 416 compress = (comp_threshold == 1) .or. ( get_compress_size(len, (iflag1(:) == 0)) < len*comp_threshold ) 417 409 418 if (compress) then 410 compress_mode = COMPRESS_MODE_COMPRESS411 !compress_mode = COMPRESS_MODE_COPY412 413 419 nloc = get_compress_size(len, (iflag1(:) == 0)) 414 420 -
LMDZ6/branches/Optimisation_LMDZ/libf/phylmd/cva_driver.F90
r3758 r3765 127 127 call cv3a_driver(len, nd, ndp1, ntra, nloc, k_upper, & 128 128 iflag_con, iflag_mix, iflag_ice_thermo, iflag_clos, ok_conserv_q, & 129 delt, &129 delt, comp_threshold, & 130 130 t1, q1, qs1, t1_wake, q1_wake, qs1_wake, s1_wake, & 131 131 u1, v1, &
Note: See TracChangeset
for help on using the changeset viewer.