Ignore:
Timestamp:
Sep 29, 2016, 11:26:46 PM (8 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r2593:2640 into testing branch

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/dyn3dmem/gcm.F90

    r2488 r2641  
    2121  USE iniphysiq_mod, ONLY: iniphysiq
    2222#endif
     23  USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, r, rad
     24  USE logic_mod ! all of it, because of copyin clause when calling leapfrog
     25  USE temps_mod, ONLY: calend,start_time,annee_ref,day_ref, &
     26                       itau_dyn,itau_phy,day_ini,jD_ref,jH_ref,day_end, &
     27                       dt,hour_ini,itaufin
     28
    2329  IMPLICIT NONE
    2430
     
    5460  include "dimensions.h"
    5561  include "paramet.h"
    56   include "comconst.h"
    5762  include "comdissnew.h"
    58   include "comvert.h"
    5963  include "comgeom.h"
    60   include "logic.h"
    61   include "temps.h"
    62   include "ener.h"
    6364  include "description.h"
    64   include "serre.h"
    65   !include "com_io_dyn.h"
    6665  include "iniprint.h"
    6766  include "tracstoke.h"
     
    452451  !       write(78,*) 'q',q
    453452
    454   !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/)
     453  !!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/,/logici/,/logicl/)
     454  !$OMP PARALLEL DEFAULT(SHARED) &
     455  !     Copy all threadprivate variables in temps_mod
     456  !$OMP COPYIN(dt,jD_ref,jH_ref,start_time,hour_ini,day_ini,day_end) &
     457  !$OMP COPYIN(annee_ref,day_ref,itau_dyn,itau_phy,itaufin,calend) &
     458  !     Copy all threadprivate variables from logic_mod
     459  !$OMP COPYIN(purmats,forward,leapf,apphys,statcl,conser,apdiss,apdelq) &
     460  !$OMP COPYIN(saison,ecripar,fxyhypb,ysinus,read_start,ok_guide) &
     461  !$OMP COPYIN(ok_strato,ok_gradsfile,ok_limit,ok_etat0) &
     462  !$OMP COPYIN(iflag_phys,iflag_trac)
    455463  CALL leapfrog_loc(ucov,vcov,teta,ps,masse,phis,q,time_0)
    456464  !$OMP END PARALLEL
Note: See TracChangeset for help on using the changeset viewer.