Changeset 1315 for trunk/LMDZ.COMMON


Ignore:
Timestamp:
Jul 11, 2014, 4:15:06 PM (10 years ago)
Author:
milmd
Message:

LMDZ.GENERIC. OpenMP directives added in generic physic. When running in pure OpenMP or hybrid OpenMP/MPI, may have some bugs with condense_cloud and wstats routines.

Location:
trunk/LMDZ.COMMON/libf
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/dyn3d_common/cpdet_mod.F90

    r1300 r1315  
    142142! Parallel version of t2tpot, for an arbitrary number of columns
    143143      USE control_mod, only : planet_type
     144      USE parallel_lmdz, only : OMP_CHUNK
    144145      IMPLICIT none
    145146
     
    179180! Parallel version of t2tpot, over the full dynamics (scalar) grid
    180181! (more efficient than multiple calls to t2tpot_p() with slices of data)
    181       USE parallel_lmdz, only : jj_begin,jj_end
     182      USE parallel_lmdz, only : jj_begin,jj_end,OMP_CHUNK
    182183      USE control_mod, only : planet_type
    183184      IMPLICIT none
     
    223224! Parallel version of tpot2t, for an arbitrary number of columns
    224225      USE control_mod, only : planet_type
     226      USE parallel_lmdz, only : OMP_CHUNK
    225227      IMPLICIT none
    226228! for cpp, nu_venus and t0_venus:
     
    259261! Parallel version of tpot2t, over the full dynamics (scalar) grid
    260262! (more efficient than multiple calls to tpot2t_p() with slices of data)
    261       USE parallel_lmdz, only : jj_begin,jj_end
     263      USE parallel_lmdz, only : jj_begin,jj_end,OMP_CHUNK
    262264      USE control_mod, only : planet_type
    263265      IMPLICIT none
  • trunk/LMDZ.COMMON/libf/dyn3dpar/gcm.F

    r1302 r1315  
    599599c       write(78,*) 'q',q
    600600
    601 c$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/)
     601!c$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/)
     602!variable temps no longer exists
     603c$OMP PARALLEL DEFAULT(SHARED)
     604c$OMP1 COPYIN(/temps_r/,/temps_i/,/temps_c/,/logici/,/logicl/)
    602605      CALL leapfrog_p(ucov,vcov,teta,ps,masse,phis,q,
    603606     .              time_0)
  • trunk/LMDZ.COMMON/libf/dyn3dpar/sponge_mod_p.F90

    r1019 r1315  
    3131
    3232      USE Write_Field_p
    33       use parallel_lmdz, only: pole_sud,pole_nord,jj_begin,jj_end
     33      use parallel_lmdz, only: pole_sud,pole_nord,jj_begin,jj_end,OMP_CHUNK
    3434      implicit none
    3535#include "dimensions.h"
Note: See TracChangeset for help on using the changeset viewer.