source: trunk/LMDZ.TITAN/libf/phytitan/callkeys_mod.F90 @ 1644

Last change on this file since 1644 was 1520, checked in by emillour, 9 years ago

Generic GCM:

  • Some fixes/adjustments to run using OpenMP (in the physics, best practice is to always have "save" variables, this of course includes all module variables, as "threadprivate").

EM

File size: 4.0 KB
Line 
1MODULE callkeys_mod
2IMPLICIT NONE 
3
4      logical,save :: callrad,corrk,calldifv,UseTurbDiff
5!$OMP THREADPRIVATE(callrad,corrk,calldifv,UseTurbDiff)
6      logical,save :: calladj,co2cond,callsoil
7!$OMP THREADPRIVATE(calladj,co2cond,callsoil)
8      logical,save :: season,diurnal,tlocked,rings_shadow,lwrite
9!$OMP THREADPRIVATE(season,diurnal,tlocked,rings_shadow,lwrite)
10      logical,save :: callstats,calleofdump
11!$OMP THREADPRIVATE(callstats,calleofdump)
12      logical,save :: callgasvis,continuum,H2Ocont_simple,graybody
13!$OMP THREADPRIVATE(callgasvis,continuum,H2Ocont_simple,graybody)
14      logical,save :: strictboundcorrk                                     
15!$OMP THREADPRIVATE(strictboundcorrk)
16
17      logical,save :: enertest
18      logical,save :: nonideal
19      logical,save :: meanOLR
20      logical,save :: specOLR
21      logical,save :: kastprof
22!$OMP THREADPRIVATE(enertest,nonideal,meanOLR,kastprof)
23      logical,save :: newtonian
24      logical,save :: check_cpp_match
25      logical,save :: force_cpp
26      logical,save :: testradtimes
27      logical,save :: rayleigh
28!$OMP THREADPRIVATE(newtonian,check_cpp_match,force_cpp,testradtimes,rayleigh)
29      logical,save :: stelbbody
30      logical,save :: ozone
31      logical,save :: nearco2cond
32      logical,save :: tracer
33      logical,save :: mass_redistrib
34!$OMP THREADPRIVATE(stelbbody,ozone,nearco2cond,tracer,mass_redistrib)
35      logical,save :: varactive
36      logical,save :: varfixed
37      logical,save :: radfixed
38      logical,save :: sedimentation
39!$OMP THREADPRIVATE(varactive,varfixed,radfixed,sedimentation)
40      logical,save :: water,watercond,waterrain
41!$OMP THREADPRIVATE(water,watercond,waterrain)
42      logical,save :: aeroco2,aeroh2o,aeroh2so4,aeroback2lay
43!$OMP THREADPRIVATE(aeroco2,aeroh2o,aeroh2so4,aeroback2lay)
44      logical,save :: aerofixco2,aerofixh2o
45!$OMP THREADPRIVATE(aerofixco2,aerofixh2o)
46      logical,save :: hydrology
47      logical,save :: sourceevol
48      logical,save :: CLFvarying
49      logical,save :: nosurf
50      logical,save :: oblate
51!$OMP THREADPRIVATE(hydrology,sourceevol,CLFvarying,nosurf,oblate)
52      logical,save :: ok_slab_ocean
53      logical,save :: ok_slab_sic
54      logical,save :: ok_slab_heat_transp
55      logical,save :: albedo_spectral_mode
56!$OMP THREADPRIVATE(ok_slab_ocean,ok_slab_sic,ok_slab_heat_transp,albedo_spectral_mode)
57
58      integer,save :: iddist
59      integer,save :: iaervar
60      integer,save :: iradia
61      integer,save :: startype
62!$OMP THREADPRIVATE(iddist,iaervar,iradia,startype)
63
64      real,save :: topdustref
65      real,save :: Nmix_co2
66      real,save :: dusttau
67      real,save :: Fat1AU
68      real,save :: stelTbb
69!$OMP THREADPRIVATE(topdustref,Nmix_co2,dusttau,Fat1AU,stelTbb)
70      real,save :: Tstrat
71      real,save :: tplanet
72      real,save :: obs_tau_col_tropo
73      real,save :: obs_tau_col_strato
74!$OMP THREADPRIVATE(Tstrat,tplanet,obs_tau_col_tropo,obs_tau_col_strato)
75      real,save :: pres_bottom_tropo
76      real,save :: pres_top_tropo
77      real,save :: pres_bottom_strato
78      real,save :: pres_top_strato
79!$OMP THREADPRIVATE(pres_bottom_tropo,pres_top_tropo,pres_bottom_strato,pres_top_strato)
80      real,save :: size_tropo
81      real,save :: size_strato
82      real,save :: satval
83      real,save :: CLFfixval
84      real,save :: n2mixratio
85!$OMP THREADPRIVATE(size_tropo,size_strato,satval,CLFfixval,n2mixratio)
86      real,save :: co2supsat
87      real,save :: pceil
88      real,save :: albedosnow
89      real,save :: albedoco2ice
90      real,save :: maxicethick
91!$OMP THREADPRIVATE(co2supsat,pceil,albedosnow,albedoco2ice,maxicethick)
92      real,save :: Tsaldiff
93      real,save :: tau_relax
94      real,save :: cloudlvl
95      real,save :: icetstep
96      real,save :: intheat
97!$OMP THREADPRIVATE(Tsaldiff,tau_relax,cloudlvl,icetstep,intheat)
98      real,save :: flatten
99      real,save :: Rmean
100      real,save :: J2
101      real,save :: MassPlanet
102!$OMP THREADPRIVATE(flatten,Rmean,J2,MassPlanet)
103
104      logical,save :: iscallphys=.false.!existence of callphys.def
105!$OMP THREADPRIVATE(iscallphys)
106
107END MODULE callkeys_mod
Note: See TracBrowser for help on using the repository browser.