Ignore:
Timestamp:
08/06/15 10:48:45 (9 years ago)
Author:
dubos
Message:

OpenMP fixes for DCMIP

File:
1 edited

Legend:

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

    r340 r353  
    2222 
    2323  INTEGER, SAVE :: dcmip5_testcase 
     24!$OMP THREADPRIVATE(dcmip5_testcase) 
    2425 
    2526  PUBLIC getin_etat0, compute_etat0 
     
    4142  SUBROUTINE compute_etat0(ngrid,lon,lat, phis, ps, Temp, ulon, ulat, q) 
    4243    USE disvert_mod 
     44    USE omp_para 
    4345    INTEGER, INTENT(IN)    :: ngrid 
    4446    REAL(rstd),INTENT(IN)  :: lon(ngrid) 
     
    6163    END DO 
    6264 
    63     DO l=1,llm 
     65    DO l=ll_begin,ll_end 
    6466       aa=.5*(ap(l)+ap(l+1)) 
    6567       bb=.5*(bp(l)+bp(l+1)) 
Note: See TracChangeset for help on using the changeset viewer.