Ignore:
Timestamp:
Nov 8, 2024, 10:57:14 AM (13 days ago)
Author:
afalco
Message:

Pluto: print only on master process.
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.PLUTO/libf/phypluto/phyetat0_mod.F90

    r3502 r3504  
    2626                     inquire_dimension, inquire_dimension_length
    2727  use callkeys_mod, only: surfalbedo,surfemis, callsoil
     28  use mod_phys_lmdz_para, only : is_master
    2829  implicit none
    2930
     
    100101
    101102  ! possibility to modify tab_cntrl in tabfi
    102   write(*,*)
    103   write(*,*) 'TABFI in phyeta0: Lmodif=',Lmodif," tab0=",tab0
     103  if (is_master) write(*,*)
     104  if (is_master) write(*,*) 'TABFI in phyeta0: Lmodif=',Lmodif," tab0=",tab0
    104105  call tabfi (ngrid,nid_start,Lmodif,tab0,day_ini,lmax,p_rad, &
    105106                   p_omeg,p_g,p_cpp,p_mugaz,p_daysec,time)
     
    119120  phisfi(:)=0.
    120121endif ! of if (startphy_file)
    121 write(*,*) "phyetat0: surface geopotential <phisfi> range:", &
     122if (is_master) write(*,*) "phyetat0: surface geopotential <phisfi> range:", &
    122123               minval(phisfi), maxval(phisfi)
    123124
     
    132133  surfalbedo=0.5
    133134  call getin_p("surfalbedo",surfalbedo)
    134   print*,"surfalbedo",surfalbedo
     135  if (is_master) print*,"surfalbedo",surfalbedo
    135136  albedodat(:)=surfalbedo
    136137endif ! of if (startphy_file)
    137 write(*,*) "phyetat0: Bare ground albedo <albedodat> range:", &
     138if (is_master) write(*,*) "phyetat0: Bare ground albedo <albedodat> range:", &
    138139             minval(albedodat), maxval(albedodat)
    139140
     
    147148  zmea(:)=0.
    148149endif ! of if (startphy_file)
    149 write(*,*) "phyetat0: <ZMEA> range:", &
     150if (is_master) write(*,*) "phyetat0: <ZMEA> range:", &
    150151             minval(zmea), maxval(zmea)
    151152
     
    159160  zstd(:)=0.
    160161endif ! of if (startphy_file)
    161 write(*,*) "phyetat0: <ZSTD> range:", &
     162if (is_master) write(*,*) "phyetat0: <ZSTD> range:", &
    162163             minval(zstd), maxval(zstd)
    163164
     
    171172  zsig(:)=0.
    172173endif ! of if (startphy_file)
    173 write(*,*) "phyetat0: <ZSIG> range:", &
     174if (is_master) write(*,*) "phyetat0: <ZSIG> range:", &
    174175             minval(zsig), maxval(zsig)
    175176
     
    183184  zgam(:)=0.
    184185endif ! of if (startphy_file)
    185 write(*,*) "phyetat0: <ZGAM> range:", &
     186if (is_master) write(*,*) "phyetat0: <ZGAM> range:", &
    186187             minval(zgam), maxval(zgam)
    187188
     
    195196  zthe(:)=0.
    196197endif ! of if (startphy_file)
    197 write(*,*) "phyetat0: <ZTHE> range:", &
     198if (is_master) write(*,*) "phyetat0: <ZTHE> range:", &
    198199             minval(zthe), maxval(zthe)
    199200
     
    207208  tsurf(:)=0. ! will be updated afterwards in physiq !
    208209endif ! of if (startphy_file)
    209 write(*,*) "phyetat0: Surface temperature <tsurf> range:", &
     210if (is_master) write(*,*) "phyetat0: Surface temperature <tsurf> range:", &
    210211             minval(tsurf), maxval(tsurf)
    211212
     
    220221  surfemis=1.0
    221222  call getin_p("surfemis",surfemis)
    222   print*,"surfemis",surfemis
     223  if (is_master) print*,"surfemis",surfemis
    223224  emis(:)=surfemis
    224225endif ! of if (startphy_file)
    225 write(*,*) "phyetat0: Surface emissivity <emis> range:", &
     226if (is_master) write(*,*) "phyetat0: Surface emissivity <emis> range:", &
    226227             minval(emis), maxval(emis)
    227228
     
    237238  q2(:,:)=0.
    238239endif ! of if (startphy_file)
    239 write(*,*) "phyetat0: PBL wind variance <q2> range:", &
     240if (is_master) write(*,*) "phyetat0: PBL wind variance <q2> range:", &
    240241             minval(q2), maxval(q2)
    241242
Note: See TracChangeset for help on using the changeset viewer.