Ignore:
Timestamp:
02/08/13 12:09:35 (11 years ago)
Author:
ymipsl
Message:

Some operations must be only done by the mpi master task.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/disvert_ncarl30.f90

    r66 r131  
    99  SUBROUTINE init_disvert 
    1010  USE icosa 
     11  USE mpipara 
    1112  IMPLICIT NONE 
    1213   
     
    2324  SUBROUTINE disvert(ap,bp,presnivs) 
    2425  USE icosa 
     26  USE mpipara 
    2527  IMPLICIT NONE 
    2628  REAL(rstd),INTENT(OUT) :: ap(:) 
     
    9799      presnivs(l) = 0.5 *( ap(l)+bp(l)*preff + ap(l+1)+bp(l+1)*preff ) 
    98100   
    99       PRINT*, 'PRESNIVS(',l,')=',presnivs(l),'  Z ~ ',log(preff/presnivs(l))*8.,       & 
    100               ' DZ ~ ',8.*log((ap(l)+bp(l)*preff)/ max(ap(l+1)+bp(l+1)*preff,1.e-10)) 
     101     IF (is_mpi_root) PRINT*, 'PRESNIVS(',l,')=',presnivs(l),'  Z ~ ',log(preff/presnivs(l))*8.,       & 
     102                               ' DZ ~ ',8.*log((ap(l)+bp(l)*preff)/ max(ap(l+1)+bp(l+1)*preff,1.e-10)) 
    101103    ENDDO 
    102104   
Note: See TracChangeset for help on using the changeset viewer.