Changeset 1795 for LMDZ5/branches/testing/libf/phylmd/phytrac.F90
- Timestamp:
- Jul 18, 2013, 10:20:28 AM (11 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1747-1749,1751,1753-1767,1769,1771-1772,1774-1776,1778-1794
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/phytrac.F90
r1750 r1795 45 45 USE tracreprobus_mod 46 46 USE control_mod 47 USE indice_sol_mod 47 48 48 49 IMPLICIT NONE … … 50 51 INCLUDE "YOMCST.h" 51 52 INCLUDE "dimensions.h" 52 INCLUDE "indicesol.h"53 53 INCLUDE "clesphys.h" 54 54 INCLUDE "temps.h" … … 203 203 INTEGER :: itau_w ! pas de temps ecriture = nstep + itau_phy 204 204 LOGICAL,PARAMETER :: ok_sync=.TRUE. 205 CHARACTER(len=20) :: chtratimestep206 205 CHARACTER(len=20),save :: chtratimestep,chtratimestep_omp 206 !$OMP THREADPRIVATE(chtratimestep) 207 207 ! 208 208 ! Nature du traceur … … 264 264 CHARACTER(len=8),DIMENSION(nbtr) :: solsym 265 265 !RomP >>> 266 INTEGER,SAVE :: iflag_lscav 267 LOGICAL,SAVE :: convscav 266 INTEGER,SAVE :: iflag_lscav_omp,iflag_lscav 267 LOGICAL,SAVE :: convscav_omp,convscav 268 268 !$OMP THREADPRIVATE(iflag_lscav,convscav) 269 269 !RomP <<< … … 309 309 IF (debutphy) THEN 310 310 !!jyg 311 chtratimestep='DefFreq' 312 CALL getin('tra_time_step',chtratimestep) 311 !$OMP MASTER 312 chtratimestep_omp='DefFreq' 313 CALL getin('tra_time_step',chtratimestep_omp) 314 !$OMP END MASTER 315 !$OMP BARRIER 316 chtratimestep=chtratimestep_omp 313 317 IF (chtratimestep .NE. 'DefFreq') THEN 314 318 call convers_timesteps(chtratimestep,pdtphys,ecrit_tra) … … 321 325 !Config Help = 322 326 ! 323 convscav=.false. 324 call getin('convscav', convscav) 327 !$OMP MASTER 328 convscav_omp=.false. 329 call getin('convscav', convscav_omp) 330 !$OMP END MASTER 331 !$OMP BARRIER 332 convscav=convscav_omp 325 333 print*,'phytrac passage dans routine conv avec lessivage', convscav 326 334 ! … … 331 339 !Config Help = 332 340 ! 333 iflag_lscav=1 334 call getin('iflag_lscav', iflag_lscav) 341 !$OMP MASTER 342 iflag_lscav_omp=1 343 call getin('iflag_lscav', iflag_lscav_omp) 344 !$OMP END MASTER 345 !$OMP BARRIER 346 iflag_lscav=iflag_lscav_omp 335 347 ! 336 348 SELECT CASE(iflag_lscav) … … 371 383 INCLUDE "ini_histrac.h" 372 384 #endif 373 END IF 385 END IF ! of IF (debutphy) 374 386 !############################################ END INITIALIZATION ####### 375 387
Note: See TracChangeset
for help on using the changeset viewer.