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

    r227 r298  
    66       USE comgeomfi_h 
    77       USE tracer_h, only: noms,rho_co2,rho_ice 
     8       use mod_phys_lmdz_para, only : is_master 
    89                   
    910       implicit none 
     
    8687      IF (firstcall) THEN 
    8788 
    88         write(*,*) "Tracers found in aeropacity:" 
     89        if (is_master) write(*,*) "Tracers found in aeropacity:" 
    8990        do iq=1,nq 
    9091          tracername=noms(iq) 
    9192          if (tracername.eq."co2_ice") then 
    9293            i_co2ice=iq 
    93           write(*,*) "i_co2ice=",i_co2ice 
     94          if (is_master) write(*,*) "i_co2ice=",i_co2ice 
    9495 
    9596          endif 
    9697          if (tracername.eq."h2o_ice") then 
    9798            i_h2oice=iq 
    98             write(*,*) "i_h2oice=",i_h2oice 
     99            if (is_master) write(*,*) "i_h2oice=",i_h2oice 
    99100          endif 
    100101        enddo 
    101102 
    102103        if (noaero) then 
    103           print*, "No active aerosols found in aeropacity" 
     104          if (is_master) print*, "No active aerosols found in aeropacity" 
    104105        else 
    105           print*, "If you would like to use aerosols, make sure any old" 
    106           print*, "start files are updated in newstart using the option" 
    107           print*, "q=0" 
    108           write(*,*) "Active aerosols found in aeropacity:" 
     106          if (is_master) print*, "If you would like to use aerosols, make sure any old" 
     107          if (is_master) print*, "start files are updated in newstart using the option" 
     108          if (is_master) print*, "q=0" 
     109          if (is_master) write(*,*) "Active aerosols found in aeropacity:" 
    109110        endif 
    110111 
    111112        if ((iaero_co2.ne.0).and.(.not.noaero)) then 
    112           print*, 'iaero_co2=  ',iaero_co2 
     113          if (is_master) print*, 'iaero_co2=  ',iaero_co2 
    113114        endif 
    114115        if (iaero_h2o.ne.0) then 
    115           print*,'iaero_h2o=  ',iaero_h2o     
     116          if (is_master) print*,'iaero_h2o=  ',iaero_h2o     
    116117        endif 
    117118        if (iaero_dust.ne.0) then 
    118           print*,'iaero_dust= ',iaero_dust 
     119          if (is_master) print*,'iaero_dust= ',iaero_dust 
    119120        endif 
    120121        if (iaero_h2so4.ne.0) then 
    121           print*,'iaero_h2so4= ',iaero_h2so4 
     122          if (is_master) print*,'iaero_h2so4= ',iaero_h2so4 
    122123        endif 
    123124        if (iaero_back2lay.ne.0) then 
    124           print*,'iaero_back2lay= ',iaero_back2lay 
     125          if (is_master) print*,'iaero_back2lay= ',iaero_back2lay 
    125126        endif 
    126127 
Note: See TracChangeset for help on using the changeset viewer.