Ignore:
Timestamp:
Jan 27, 2017, 9:30:01 AM (7 years ago)
Author:
Laurent Fairhead
Message:

Printing the current time and date when entering the physics (information is needed when
extracting crashing points). Date is printed out by mpi/omp master process every 5 physics
steps or at each physics timestep if prt_level > 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/physiq_mod.F90

    r2774 r2783  
    2121    USE geometry_mod, ONLY: cell_area, latitude_deg, longitude_deg
    2222    USE phys_cal_mod, only: year_len, mth_len, days_elapsed, jh_1jan, &
    23          year_cur, mth_cur,jD_cur, jH_cur, jD_ref
     23         year_cur, mth_cur,jD_cur, jH_cur, jD_ref, day_cur, hour
    2424    USE write_field_phy
    2525    USE dimphy
     
    3030    USE print_control_mod, ONLY: mydebug=>debug , lunout, prt_level
    3131    USE phystokenc_mod, ONLY: offline, phystokenc
    32     USE time_phylmdz_mod, only: raz_date, day_step_phy, update_time
     32    USE time_phylmdz_mod, only: raz_date, day_step_phy, update_time,current_time
    3333    USE vampir
    3434    USE pbl_surface_mod, ONLY : pbl_surface
     
    17361736    !
    17371737    itap   = itap + 1
     1738    IF (is_mpi_root .AND. is_omp_root) THEN
     1739      IF (prt_level > 5 .or. MOD(itap,5) == 0) THEN
     1740         WRITE(LUNOUT,*)'Entering physics current time = ', current_time
     1741         WRITE(LUNOUT,*)'Date = ',year_cur,'/',mth_cur,'/',day_cur,':',hour/3600
     1742      ENDIF
     1743    ENDIF
    17381744    !
    17391745    !
Note: See TracChangeset for help on using the changeset viewer.