Ignore:
Timestamp:
Jul 24, 2016, 11:51:55 AM (8 years ago)
Author:
Ehouarn Millour
Message:

Cleanup in the dynamics: turn temps.h into module temps_mod.F90
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dynphy_lonlat/phylmd/iniphysiq_mod.F90

    r2600 r2601  
    3232  USE inifis_mod, ONLY: inifis
    3333  USE time_phylmdz_mod, ONLY: init_time
     34  USE temps_mod, ONLY: annee_ref, day_ini, day_ref, start_time
    3435  USE infotrac_phy, ONLY: init_infotrac_phy
    3536  USE phystokenc_mod, ONLY: init_phystokenc
     
    5253  include "dimensions.h"
    5354  include "iniprint.h"
    54   include "temps.h"
    5555  include "tracstoke.h"
    5656
     
    9898  ! --> now initialize things specific to the phylmd physics package
    9999 
    100 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
     100!!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
     101!$OMP PARALLEL DEFAULT(SHARED) &
     102!       Copy all threadprivate variables in temps_mod
     103!$OMP COPYIN(annee_ref, day_ini, day_ref, start_time)
    101104
    102105  ! copy over preff , ap(), bp(), etc
     
    144147#endif
    145148  END IF
    146 !$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
    147149
     150!!$OMP PARALLEL DEFAULT(SHARED) COPYIN(/temps/)
     151!$OMP PARALLEL DEFAULT(SHARED)
    148152  ! Additional initializations for aquaplanets
    149153  IF (iflag_phys>=100) THEN
Note: See TracChangeset for help on using the changeset viewer.