E3SM-Project / v3atm

Fork of E3SM for testing v3 atm changes
Other
0 stars 5 forks source link

Add additional timer for NGD new features #30

Closed keziming closed 1 year ago

keziming commented 1 year ago

The indentations show the level of subroutines. If two calls in the same level are separated between a blank line, it means the calls are sequential. Otherwise, only one call is chosen at a time in the code. The calls with parenthesis means it is not a V2 default call but added by new features.

Currently, only calls separate default and new feature are chosen in those two subroutines. We can add more later, but current setting is to figure out which parts cost most resources with simplicity.

Timer at modal_aero_amicphys.F90

modal_aero_amicphys_intr

call mam_amicphys_1gridcell

   call mam_amicphys_1subarea_cloudy
   call mam_amicphys_1subarea_clear

                 call mosaic_gasaerexch_1subarea_intr (mosaic)
                       call mosaic_box_aerchemistry
                       call mam_soaexch_vbs_1subarea 
                 call mam_gasaerexch_1subarea 
                       call mam_soaexch_vbs_1subarea (vbs SOA)
                       call mam_soaexch_1subarea

                 call mam_rename_1subarea_strat (MAM5)
                 call mam_rename_1subarea (MAM4)

                 call mam_newnuc_1subarea

                 call mam_coag_1subarea

                 call mam_pcarbon_aging_1subarea

modal_aero_wateruptake.F90

 call modal_aero_wateruptake_dr
          call modal_aero_wateruptake_strat_sub (MAM5)
          call modal_aero_wateruptake_sub
keziming commented 1 year ago

I would suggest add a timer for mam_soaexch_vbs_1subarea within mosaic_gasaerexch_1subarea_intr

Just add it. Thanks!