Ignore:
Timestamp:
09/05/16 14:59:46 (8 years ago)
Author:
ymipsl
Message:

Repairing openMP :
physic_column and physic_dcmip2016 seems OK. Only for thread assigned to domain.

YM

File:
1 edited

Legend:

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

    r435 r472  
    66!$OMP THREADPRIVATE(testcase) 
    77 
    8   TYPE(t_field),POINTER :: f_out_i(:) 
    9   REAL(rstd),POINTER :: out_i(:,:) 
    10  
    11   TYPE(t_field),POINTER  :: f_precl(:) 
    12   REAL(rstd),ALLOCATABLE :: precl_packed(:) 
    13  
    14   TYPE(t_field),POINTER  :: f_Q1(:) 
    15   TYPE(t_field),POINTER  :: f_Q2(:) 
    16   TYPE(t_field),POINTER  :: f_PS(:) 
    17   TYPE(t_field),POINTER  :: f_rhodz(:) 
    18   TYPE(t_field),POINTER  :: f_Q1_col_int(:) 
    19   TYPE(t_field),POINTER  :: f_Q2_col_int(:) 
     8  TYPE(t_field),SAVE,POINTER :: f_out_i(:) 
     9  REAL(rstd),SAVE,POINTER :: out_i(:,:) 
     10 
     11  TYPE(t_field),SAVE,POINTER  :: f_precl(:) 
     12  REAL(rstd),SAVE,ALLOCATABLE :: precl_packed(:) 
     13!$OMP THREADPRIVATE(precl_packed)   
     14 
     15  TYPE(t_field),SAVE,POINTER  :: f_Q1(:) 
     16  TYPE(t_field),SAVE,POINTER  :: f_Q2(:) 
     17  TYPE(t_field),SAVE,POINTER  :: f_PS(:) 
     18  TYPE(t_field),SAVE,POINTER  :: f_rhodz(:) 
     19  TYPE(t_field),SAVE,POINTER  :: f_Q1_col_int(:) 
     20  TYPE(t_field),SAVE,POINTER  :: f_Q2_col_int(:) 
    2021  PUBLIC :: init_physics, full_physics, write_physics 
    2122 
Note: See TracChangeset for help on using the changeset viewer.