Ignore:
Timestamp:
Jun 7, 2007, 12:01:52 PM (17 years ago)
Author:
Laurent Fairhead
Message:

Suite du merge entre la version et la HEAD: quelques modifications
de Yann sur le

LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/phylmd/soil.F

    r766 r776  
    44      SUBROUTINE soil(ptimestep, indice, knon, snow, ptsrf, ptsoil,
    55     s          pcapcal, pfluxgrd)
    6       use dimphy
     6      USE dimphy
     7      USE mod_phys_lmdz_para
    78      IMPLICIT NONE
    89
     
    7374      REAL zdz2(nsoilmx),z1(klon,nbsrf)
    7475      REAL,SAVE :: min_period,dalph_soil
     76c$OMP THREADPRIVATE( min_period,dalph_soil)     
    7577      REAL ztherm_i(klon)
    7678
     
    151153         dalph_soil=2.    ! rapport entre les epaisseurs de 2 couches succ.
    152154c$OMP MASTER
     155         IF (is_mpi_root) THEN
    153156         OPEN(99,file='soil.def',status='old',form='formatted',err=9999)
    154157         READ(99,*) min_period
     
    159162         CLOSE(99)
    1601639999     CONTINUE
     164         ENDIF  ! is_mpi_root
    161165c$OMP END MASTER
    162 c$OMP BARRIER
     166         CALL bcast(min_period)
     167         CALL bcast(dalph_soil)
    163168
    164169c   la premiere couche represente un dixieme de cycle diurne
Note: See TracChangeset for help on using the changeset viewer.