Ignore:
Timestamp:
12/02/14 19:21:00 (10 years ago)
Author:
milmd
Message:

Less output messages are written. On 20000 cores it is better. In LMDZ, only master of MPI and OpenMP can write.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/branches/SATURN_DYNAMICO/LMDZ.COMMON/libf/phystd/callcorrk.F90

    r240 r298  
    1818      use aerosol_mod, only : iaero_co2,iaero_h2o,iaero_dust,iaero_h2so4, iaero_back2lay 
    1919      USE tracer_h 
     20      USE mod_phys_lmdz_para, only : is_master 
    2021 
    2122      implicit none 
     
    218219!-------------------------------------------------- 
    219220!     set up correlated k 
    220          print*, "callcorrk: Correlated-k data base folder:",trim(datadir) 
     221         if (is_master) print*, "callcorrk: Correlated-k data base folder:",trim(datadir) 
    221222         call getin_p("corrkdir",corrkdir) 
    222          print*, "corrkdir = ",corrkdir 
     223         if (is_master) print*, "corrkdir = ",corrkdir 
    223224         write( tmp1, '(i3)' ) L_NSPECTI 
    224225         write( tmp2, '(i3)' ) L_NSPECTV 
     
    272273         if ((iaer.eq.iaero_co2).and.tracer.and.(igcm_co2_ice.gt.0)) then ! treat condensed co2 particles. 
    273274            call co2_reffrad(ngrid,nlayer,nq,pq,reffrad(1,1,iaero_co2)) 
    274             print*,'Max. CO2 ice particle size = ',maxval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 
    275             print*,'Min. CO2 ice particle size = ',minval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 
     275            if (is_master) print*,'Max. CO2 ice particle size = ',maxval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 
     276            if (is_master) print*,'Min. CO2 ice particle size = ',minval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 
    276277         end if 
    277278         if ((iaer.eq.iaero_h2o).and.water) then ! treat condensed water particles. to be generalized for other aerosols 
    278279            call h2o_reffrad(ngrid,nlayer,pq(1,1,igcm_h2o_ice),pt, & 
    279280                             reffrad(1,1,iaero_h2o),nueffrad(1,1,iaero_h2o)) 
    280             print*,'Max. H2O cloud particle size = ',maxval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 
    281             print*,'Min. H2O cloud particle size = ',minval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 
     281            if (is_master) print*,'Max. H2O cloud particle size = ',maxval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 
     282            if (is_master) print*,'Min. H2O cloud particle size = ',minval(reffrad(1:ngrid,1:nlayer,iaer))/1.e-6,' um' 
    282283         endif 
    283284         if(iaer.eq.iaero_dust)then 
    284285            call dust_reffrad(ngrid,nlayer,reffrad(1,1,iaero_dust)) 
    285             print*,'Dust particle size = ',reffrad(1,1,iaer)/1.e-6,' um' 
     286            if (is_master) print*,'Dust particle size = ',reffrad(1,1,iaer)/1.e-6,' um' 
    286287         endif 
    287288         if(iaer.eq.iaero_h2so4)then 
    288289            call h2so4_reffrad(ngrid,nlayer,reffrad(1,1,iaero_h2so4)) 
    289             print*,'H2SO4 particle size =',reffrad(1,1,iaer)/1.e-6,' um' 
     290            if (is_master) print*,'H2SO4 particle size =',reffrad(1,1,iaer)/1.e-6,' um' 
    290291         endif 
    291292          if(iaer.eq.iaero_back2lay)then 
     
    548549            muvarrad(2*nlayer+1)=muvar(ig,1) 
    549550 
    550             print*,'Recalculating qvar with VARIABLE epsi for kastprof' 
    551             print*,'Assumes that the variable gas is H2O!!!' 
    552             print*,'Assumes that there is only one tracer' 
     551            if (is_master) print*,'Recalculating qvar with VARIABLE epsi for kastprof' 
     552            if (is_master) print*,'Assumes that the variable gas is H2O!!!' 
     553            if (is_master) print*,'Assumes that there is only one tracer' 
    553554            !i_var=igcm_h2o_vap 
    554555            i_var=1 
Note: See TracChangeset for help on using the changeset viewer.