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/calc_rayleigh.F90

    r222 r298  
    2828      use radcommon_h, only: WAVEV, BWNV, DWNV, tstellar, tauray, taurayvar, scalep 
    2929      use gases_h 
     30      use mod_phys_lmdz_para, only : is_master 
    3031 
    3132      implicit none 
     
    5556      do igas=1,ngasmx 
    5657         if(igas.eq.vgas)then 
    57             print*,'variable gas is ',trim(gnom(igas)),' in Rayleigh scattering ' 
     58            if (is_master) print*,'variable gas is ',trim(gnom(igas)),' in Rayleigh scattering ' 
    5859         endif 
    5960         if((igas/=vgas).and.(gfrac(igas).lt.5.e-2))then 
    60             print*,'Ignoring ',trim(gnom(igas)),' in Rayleigh scattering '// & 
     61            if (is_master) print*,'Ignoring ',trim(gnom(igas)),' in Rayleigh scattering '// & 
    6162            'as its mixing ratio is less than 0.05.'  
    6263            ! ignore variable gas in Rayleigh calculation 
     
    8485 
    8586            if((gfrac(igas).eq.1.0).and.(vgas.eq.0))then 
    86                print*,'Rayleigh scattering is for a pure ',trim(gnom(igas)),' atmosphere.' 
     87               if (is_master) print*,'Rayleigh scattering is for a pure ',trim(gnom(igas)),' atmosphere.' 
    8788               typeknown=.true. 
    8889            endif 
     
    9293 
    9394      if(.not.typeknown)then 
    94          print*,'Rayleigh scattering is for a mixed gas atmosphere.' 
     95         if (is_master) print*,'Rayleigh scattering is for a mixed gas atmosphere.' 
    9596         typeknown=.true. 
    9697      endif 
     
    159160      IF (L_NSPECTV > 6) THEN 
    160161        icantbewrong = L_NSPECTV-6 
    161         print*,'At 1 atm and lambda = ',WAVEV(icantbewrong),' um' 
    162         print*,'tau_R = ',TAURAY(icantbewrong)*1013.25 
    163         print*,'sig_R = ',TAURAY(icantbewrong)*g*mugaz*1.67e-27*100, & 
     162        if (is_master) print*,'At 1 atm and lambda = ',WAVEV(icantbewrong),' um' 
     163        if (is_master) print*,'tau_R = ',TAURAY(icantbewrong)*1013.25 
     164        if (is_master) print*,'sig_R = ',TAURAY(icantbewrong)*g*mugaz*1.67e-27*100, & 
    164165               'cm^2 molecule^-1' 
    165166      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.