Ignore:
Timestamp:
07/16/14 18:05:01 (10 years ago)
Author:
milmd
Message:

Last LMDZ version (1315) with OpenMP directives and other stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/branches/SATURN_DYNAMICO/LMDZ.COMMON/libf/phystd/iostart.F90

    r222 r227  
    55    INTEGER,SAVE :: nid_start ! NetCDF file identifier for startfi.nc file 
    66    INTEGER,SAVE :: nid_restart ! NetCDF file identifier for restartfi.nc file 
     7!$OMP THREADPRIVATE(nid_start,nid_restart) 
    78     
    89    ! restartfi.nc file dimension identifiers: (see open_restartphy()) 
     
    1617    INTEGER,SAVE :: idim8 ! "ocean_layers" dimension 
    1718    INTEGER,SAVE :: timeindex ! current time index (for time-dependent fields) 
     19!$OMP THREADPRIVATE(idim1,idim2,idim3,idim4,idim5,idim6,idim7,timeindex) 
    1820    INTEGER,PARAMETER :: length=100 ! size of tab_cntrl array 
    1921     
     
    473475    INTEGER                     :: ierr 
    474476    LOGICAL,SAVE :: already_created=.false. 
     477!$OMP THREADPRIVATE(already_created) 
    475478     
    476479    IF (is_master) THEN 
     
    956959     INTEGER :: idim1d 
    957960     logical,save :: firsttime=.true. 
     961!$OMP THREADPRIVATE(firsttime) 
    958962          
    959963    IF (is_master) THEN 
Note: See TracChangeset for help on using the changeset viewer.