Ignore:
Timestamp:
Jul 4, 2025, 10:42:17 AM (4 days ago)
Author:
emillour
Message:

Common physics routines:
Some minor reorganization of the print_control module, in line
with what is done in the Earth GCM and likely healthier with
respect to OpenMP.
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/phy_common/init_print_control_mod.F90

    r1791 r3829  
    44! not included there because of circular dependecy issues
    55
     6IMPLICIT NONE
     7 
    68CONTAINS
    79
    810  SUBROUTINE init_print_control
    9   USE print_control_mod, ONLY : set_print_control, &
    10                                 prt_level, lunout, debug
     11  USE print_control_mod, ONLY : set_print_control
    1112  USE ioipsl_getin_p_mod, ONLY : getin_p
    1213  USE mod_phys_lmdz_para, ONLY: is_omp_root, is_master
    1314  IMPLICIT NONE
    1415
    15 !    INTEGER :: lunout ! default output file identifier (6==screen)
    16 !    INTEGER :: prt_level ! Output level
    17 !    LOGICAL :: debug ! flag to specify if in "debug mode"
     16    INTEGER :: lunout ! default output file identifier (6==screen)
     17    INTEGER :: prt_level ! Output level (0: none)
     18    LOGICAL :: debug ! flag to specify if in "debug mode" (i.e. extra outputs)
    1819    LOGICAL :: opened
    1920    INTEGER :: number
    2021   
    21     !Config  Key  = prt_level
    22     !Config  Desc = niveau d'impressions de débogage
    23     !Config  Def  = 0
    24     !Config  Help = Niveau d'impression pour le débogage
    25     !Config         (0 = minimum d'impression)
    26 !    prt_level = 0 ! default set in  print_control_mod)
     22    prt_level = 0 ! default (0: minimum verbosity)
    2723    CALL getin_p('prt_level',prt_level)
    2824
    29     !Config  Key  = lunout
    30     !Config  Desc = unite de fichier pour les impressions
    31     !Config  Def  = 6
    32     !Config  Help = unite de fichier pour les impressions
    33     !Config         (defaut sortie standard = 6)
    34 !    lunout=6 ! default set in  print_control_mod)
     25    lunout=6 ! default (i.e. standard output = 6)
    3526    CALL getin_p('lunout', lunout)
    3627
     
    4738    ENDIF
    4839
    49     !Config  Key  = debug
    50     !Config  Desc = mode debogage
    51     !Config  Def  = false
    52     !Config  Help = positionne le mode debogage
    53 
    54 !    debug = .FALSE. ! default set in  print_control_mod)
     40    debug = .FALSE. ! default
    5541    CALL getin_p('debug',debug)
    5642   
Note: See TracChangeset for help on using the changeset viewer.