Changeset 1795 for LMDZ5/branches/testing/libf/phylmd/carbon_cycle_mod.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/carbon_cycle_mod.F90
r1454 r1795 19 19 !$OMP THREADPRIVATE(carbon_cycle_cpl) 20 20 21 LOGICAL :: carbon_cycle_emis_comp_omp=.FALSE. 21 22 LOGICAL :: carbon_cycle_emis_comp=.FALSE. ! Calculation of emission compatible 22 23 !$OMP THREADPRIVATE(carbon_cycle_emis_comp) 23 24 25 LOGICAL :: RCO2_inter_omp 24 26 LOGICAL :: RCO2_inter ! RCO2 interactive : if true calculate new value RCO2 for the radiation scheme 25 27 !$OMP THREADPRIVATE(RCO2_inter) 26 28 27 29 ! Scalare values when no transport, from physiq.def 30 REAL :: fos_fuel_s_omp 28 31 REAL :: fos_fuel_s ! carbon_cycle_fos_fuel dans physiq.def 29 32 !$OMP THREADPRIVATE(fos_fuel_s) … … 112 115 ! Read fosil fuel value if no transport 113 116 IF (.NOT. carbon_cycle_tr) THEN 114 fos_fuel_s = 0. 115 CALL getin ('carbon_cycle_fos_fuel',fos_fuel_s) 117 !$OMP MASTER 118 fos_fuel_s_omp = 0. 119 CALL getin ('carbon_cycle_fos_fuel',fos_fuel_s_omp) 120 !$OMP END MASTER 121 !$OMP BARRIER 122 fos_fuel_s=fos_fuel_s_omp 116 123 WRITE(lunout,*) 'carbon_cycle_fos_fuel = ', fos_fuel_s 117 124 END IF … … 120 127 ! Read parmeter for calculation compatible emission 121 128 IF (.NOT. carbon_cycle_tr) THEN 122 carbon_cycle_emis_comp=.FALSE. 123 CALL getin('carbon_cycle_emis_comp',carbon_cycle_emis_comp) 129 !$OMP MASTER 130 carbon_cycle_emis_comp_omp=.FALSE. 131 CALL getin('carbon_cycle_emis_comp',carbon_cycle_emis_comp_omp) 132 !$OMP END MASTER 133 !$OMP BARRIER 134 carbon_cycle_emis_comp=carbon_cycle_emis_comp_omp 124 135 WRITE(lunout,*) 'carbon_cycle_emis_comp = ',carbon_cycle_emis_comp 125 136 IF (carbon_cycle_emis_comp) THEN … … 129 140 130 141 ! Read parameter for interactive calculation of the CO2 value for the radiation scheme 131 RCO2_inter=.FALSE. 132 CALL getin('RCO2_inter',RCO2_inter) 142 !$OMP MASTER 143 RCO2_inter_omp=.FALSE. 144 CALL getin('RCO2_inter',RCO2_inter_omp) 145 !$OMP END MASTER 146 !$OMP BARRIER 147 RCO2_inter=RCO2_inter_omp 133 148 WRITE(lunout,*) 'RCO2_inter = ', RCO2_inter 134 149 IF (RCO2_inter) THEN … … 294 309 USE phys_cal_mod, ONLY : day_cur 295 310 USE comgeomphy 311 USE indice_sol_mod 296 312 297 313 IMPLICIT NONE 298 314 299 315 INCLUDE "clesphys.h" 300 INCLUDE "indicesol.h"301 316 INCLUDE "iniprint.h" 302 317 INCLUDE "YOMCST.h"
Note: See TracChangeset
for help on using the changeset viewer.