PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
main_ice_adjust.F90
Go to the documentation of this file.
2
5USE compute_diff, ONLY: diff
6USE modi_ice_adjust, ONLY: ice_adjust
8USE modd_phyex, ONLY: phyex_t
10USE stack_mod, ONLY: stack
12USE omp_lib, ONLY: omp_get_wtime, omp_get_max_threads, omp_get_thread_num
13USE yomhook, ONLY : lhook, dr_hook, jphook
14#ifdef _OPENACC
15USE modd_util_phyex_t, ONLY: copy_phyex_t, wipe_phyex_t
16#endif
17
18IMPLICIT NONE
19
20INTEGER :: klev
21INTEGER :: krr
22
23REAL, ALLOCATABLE :: prhodj (:,:,:)
24REAL, ALLOCATABLE :: pexnref (:,:,:)
25REAL, ALLOCATABLE :: prhodref (:,:,:)
26REAL, ALLOCATABLE :: ppabsm (:,:,:)
27REAL, ALLOCATABLE :: ptht (:,:,:)
28REAL, ALLOCATABLE :: psigs (:,:,:)
29REAL, ALLOCATABLE :: pmfconv (:,:,:)
30REAL, ALLOCATABLE :: prc_mf (:,:,:)
31REAL, ALLOCATABLE :: pri_mf (:,:,:)
32REAL, ALLOCATABLE :: pcf_mf (:,:,:)
33REAL, ALLOCATABLE :: pths (:,:,:)
34REAL, ALLOCATABLE :: prs (:,:,:,:)
35REAL, ALLOCATABLE :: psrcs (:,:,:)
36REAL, ALLOCATABLE :: pcldfr (:,:,:)
37REAL, ALLOCATABLE :: phlc_hrc (:,:,:)
38REAL, ALLOCATABLE :: phlc_hcf (:,:,:)
39REAL, ALLOCATABLE :: phli_hri (:,:,:)
40REAL, ALLOCATABLE :: phli_hcf (:,:,:)
41REAL, ALLOCATABLE :: zrs (:,:,:,:)
42REAL, ALLOCATABLE :: zzz (:,:,:)
43REAL, ALLOCATABLE :: zsigqsat (:,:)
44REAL, ALLOCATABLE :: zice_cld_wgt (:,:)
45REAL, ALLOCATABLE :: pweight_mf_cloud(:,:,:)
46REAL, ALLOCATABLE :: zdum1 (:,:,:)
47REAL, ALLOCATABLE :: zdum2 (:,:,:)
48REAL, ALLOCATABLE :: zdum3 (:,:,:)
49REAL, ALLOCATABLE :: zdum4 (:,:,:)
50REAL, ALLOCATABLE :: zdum5 (:,:,:)
51REAL, ALLOCATABLE :: zdum6 (:,:,:)
52REAL, ALLOCATABLE :: zdum7 (:,:,:)
53REAL, ALLOCATABLE :: zdum8 (:,:,:)
54REAL, ALLOCATABLE :: zdum9 (:,:,:)
55
56REAL, ALLOCATABLE :: prs_out (:,:,:,:)
57REAL, ALLOCATABLE :: psrcs_out (:,:,:)
58REAL, ALLOCATABLE :: pcldfr_out (:,:,:)
59REAL, ALLOCATABLE :: phlc_hrc_out (:,:,:)
60REAL, ALLOCATABLE :: phlc_hcf_out (:,:,:)
61REAL, ALLOCATABLE :: phli_hri_out (:,:,:)
62REAL, ALLOCATABLE :: phli_hcf_out (:,:,:)
63
64INTEGER :: nproma, ngpblks, nflevg
65INTEGER :: jlon
66INTEGER, TARGET :: ibl
67
68TYPE(dimphyex_t) :: d, d0
69TYPE(phyex_t), TARGET :: phyex
70TYPE(misc_offline_t) :: misc
71LOGICAL :: llcheck
72LOGICAL :: llcheckdiff
73LOGICAL :: lldiff
74INTEGER :: iblock1, iblock2
75INTEGER :: istsz(2), jblk1, jblk2
76INTEGER :: ntid, itid
77
78REAL, ALLOCATABLE, TARGET :: pstack8(:,:)
79REAL(kind=4), allocatable, TARGET :: pstack4(:,:)
80TYPE(stack), TARGET :: ylstack
81
82REAL(kind=8) :: ts,te
83REAL(kind=8) :: tsc, tec, tsd, ted, ztc, ztd
84INTEGER :: itime, ntime
85INTEGER :: irank, isize
86LOGICAL :: llverbose, llstat, llbind
87real(kind=jphook) :: zhook_handle
88
89CALL initoptions ()
90ngpblks = 296
91CALL getoption ("--blocks", ngpblks)
92nproma = 32
93CALL getoption ("--nproma", nproma)
94nflevg = -1
95CALL getoption ("--nflevg", nflevg)
96CALL getoption ("--check", llcheck)
97CALL getoption ("--checkdiff", llcheckdiff)
98iblock1 = 1
99CALL getoption ("--check-block-1", iblock1)
100iblock2 = ngpblks
101CALL getoption ("--check-block-2", iblock2)
102CALL getoption ("--stat", llstat)
103ntime = 1
104CALL getoption ("--times", ntime)
105CALL getoption ("--verbose", llverbose)
106CALL getoption ("--bind", llbind)
107CALL checkoptions ()
108
109lldiff = .false.
110
111irank = 0
112isize = 1
113IF (llbind) THEN
114 CALL linux_bind (irank, isize)
115 CALL linux_bind_dump (irank, isize)
116ENDIF
117
118CALL getdata_ice_adjust (nproma, ngpblks, nflevg, prhodj, pexnref, prhodref, ppabsm, ptht, zice_cld_wgt, &
119& zsigqsat, psigs, pmfconv, prc_mf, pri_mf, pcf_mf, pweight_mf_cloud, zdum1, zdum2, zdum3, zdum4, zdum5, &
120& zdum6, zdum7, zdum8, zdum9, pths, prs, psrcs, pcldfr, phlc_hrc, phlc_hcf, &
121& phli_hri, phli_hcf, zrs, zzz, prs_out, psrcs_out, pcldfr_out, phlc_hrc_out, phlc_hcf_out, &
122& phli_hri_out, phli_hcf_out, llverbose)
123
124klev = SIZE (prs, 2)
125krr = SIZE (prs, 3)
126
127IF (llverbose) print *, " KLEV = ", klev, " KRR = ", krr
128
129print *, " NPROMA = ", nproma, " KLEV = ", klev, " NGPBLKS = ", ngpblks
130
131CALL init_phyex(krr, phyex, misc)
132
133d0%NIT = nproma
134d0%NIB = 1
135d0%NIE = nproma
136d0%NJT = 1
137d0%NJB = 1
138d0%NJE = 1
139d0%NIJT = d0%NIT * d0%NJT
140d0%NIJB = 1
141d0%NIJE = nproma
142d0%NKL = -1
143d0%NKT = klev
144d0%NKA = klev
145d0%NKU = 1
146d0%NKB = klev
147d0%NKE = 1
148d0%NKTB = 1
149d0%NKTE = klev
150
151istsz=0
152istsz(kind(klev)/4) = nproma * klev
153istsz(kind(prhodj)/4) = istsz(kind(prhodj)/4) + nproma * 80 * klev
154#ifndef USE_STACK
155istsz(2) = istsz(2) + ceiling(istsz(1) / 2.)
156istsz(1) = 0
157#endif
158ALLOCATE (pstack4(istsz(1), ngpblks))
159ALLOCATE (pstack8(istsz(2), ngpblks))
160zmnh_stack => pstack8
161
162ts = omp_get_wtime()
163
164ztd = 0.
165ztc = 0.
166
167IF (lhook) CALL dr_hook ('MAIN',0,zhook_handle)
168
169DO itime = 1, ntime
170
171 tsd = omp_get_wtime()
172
173#ifdef _OPENACC
174 CALL copy_phyex_t(phyex)
175#endif
176
177!$acc data &
178!$acc & copyin (D0, &
179!$acc & ZSIGQSAT, PRHODJ, PEXNREF, PRHODREF, PSIGS, PMFCONV, PPABSM, ZZZ, PCF_MF, PRC_MF, PRI_MF, &
180!$acc & PWEIGHT_MF_CLOUD, ZDUM1, ZDUM2, ZDUM3, ZDUM4, ZDUM5, ZDUM6, ZDUM7, ZDUM8, ZDUM9, ZRS, ZICE_CLD_WGT) &
181!$acc & copy (PRS, PTHS) &
182!$acc & copyout (PSRCS, PCLDFR, PHLC_HRC, PHLC_HCF, PHLI_HRI, PHLI_HCF) &
183!$acc & create (PSTACK4, PSTACK8)
184
185 tsc = omp_get_wtime()
186
187#ifdef USE_OPENMP
188!$OMP PARALLEL PRIVATE (D, YLSTACK, ITID, JBLK1, JBLK2)
189
190 ntid = omp_get_max_threads()
191 itid = omp_get_thread_num()
192 jblk1 = 1 + (ngpblks * (itid+0)) / ntid
193 jblk2 = (ngpblks * (itid+1)) / ntid
194#else
195 jblk1 = 1
196 jblk2 = ngpblks
197#endif
198
199 d = d0
200
201!$acc parallel loop gang vector present (PHYEX) private (YLSTACK, IBL, JLON, D) collapse (2)
202
203 DO ibl = jblk1, jblk2
204
205#ifdef USE_COLCALL
206 DO jlon = 1, nproma
207 d = d0
208 d%NIB = jlon
209 d%NIE = jlon
210 d%NIJB = jlon
211 d%NIJE = jlon
212#endif
213
214#ifdef USE_STACK
215 !Using cray pointers, AROME mechanism
216 ylstack%L(1) = loc(pstack4(1, ibl))
217 ylstack%U(1) = ylstack%L(1) + istsz(1) * kind(pstack4)
218 ylstack%L(2) = loc(pstack8(1, ibl))
219 ylstack%U(2) = ylstack%L(2) + istsz(2) * kind(pstack8)
220#else
221 !Using fortran indexing, Meso-NH mechanism
222 ylstack%L(2) = 1
223 ylstack%U(2) = istsz(2)
224 imnh_block => ibl
225 ymnh_stack => ylstack
226 inumpin = 0
227#endif
228
229 !Workaround for NEC: PHLC_HRC_MF, PHLC_HCF_MF, PHLI_HRI_MF, PHLI_HCF_MF must be provided to prevent
230 ! crash during execution, even if they are unused
231 CALL ice_adjust (d, phyex%CST, phyex%RAIN_ICE_PARAMN, phyex%NEBN, phyex%TURBN, phyex%PARAM_ICEN, &
232 & misc%TBUCONF, misc%KRR, misc%HBUNAME, &
233 & misc%PTSTEP, zsigqsat(:, ibl), prhodj=prhodj(:, :, ibl), &
234 & pexnref=pexnref(:, :, ibl), &
235 & prhodref=prhodref(:, :, ibl), psigs=psigs(:, :, ibl), lmfconv=misc%LMFCONV, pmfconv=pmfconv(:, :, ibl), &
236 & ppabst=ppabsm(:, :, ibl), pzz=zzz(:, :, ibl), pexn=pexnref(:, :, ibl), pcf_mf=pcf_mf(:, :, ibl), &
237 & prc_mf=prc_mf(:, :, ibl), pri_mf=pri_mf(:, :, ibl), pweight_mf_cloud=pweight_mf_cloud(:, :, ibl), &
238 & picldfr=zdum1(:, :, ibl), pwcldfr=zdum2(:, :, ibl), pssio=zdum3(:, :, ibl), &
239 & pssiu=zdum4(:, :, ibl), pifr=zdum5(:, :, ibl), &
240 & prv=zrs(:, :, 1, ibl), prc=zrs(:, :, 2, ibl), &
241 & prvs=prs(:, :, 1, ibl), prcs=prs(:, :, 2, ibl), pth=zrs(:, :, 0, ibl), pths=pths(:, :, ibl), &
242 & ocompute_src=misc%OCOMPUTE_SRC, &
243 & psrcs=psrcs(:, :, ibl), pcldfr=pcldfr(:, :, ibl), prr=zrs(:, :, 3, ibl), pri=zrs(:, :, 4, ibl), &
244 & pris=prs(:, :, 4, ibl), prs=zrs(:, :, 5, ibl), prg=zrs(:, :, 6, ibl), &
245 & tbudgets=misc%YLBUDGET, kbudgets=misc%NBUDGET, &
246 & pice_cld_wgt=zice_cld_wgt(:, ibl), &
247 & phlc_hrc=phlc_hrc(:, :, ibl), phlc_hcf=phlc_hcf(:, :, ibl), &
248 & phli_hri=phli_hri(:, :, ibl), phli_hcf=phli_hcf(:, :, ibl), &
249 & phlc_hrc_mf=zdum6(:, :, ibl), phlc_hcf_mf=zdum7(:, :, ibl), &
250 & phli_hri_mf=zdum8(:, :, ibl), phli_hcf_mf=zdum9(:, :, ibl) &
251#ifdef USE_STACK
252 & , ydstack=ylstack &
253#endif
254 & )
255
256#ifdef USE_COLCALL
257 ENDDO
258#endif
259
260 ENDDO
261
262#ifdef USE_OPENMP
263!$OMP END PARALLEL
264#endif
265
266!$acc end parallel loop
267
268 tec = omp_get_wtime()
269
270!$acc end data
271
272#ifdef _OPENACC
273 CALL wipe_phyex_t(phyex)
274#endif
275
276 ted = omp_get_wtime()
277
278 ztc = ztc + (tec - tsc)
279 ztd = ztd + (ted - tsd)
280
281ENDDO
282
283IF (lhook) CALL dr_hook ('MAIN',1,zhook_handle)
284
285te = omp_get_wtime()
286
287WRITE (*,'(A,F8.2,A)') 'elapsed time : ',te-ts,' s'
288WRITE (*,'(A,F8.4,A)') ' i.e. ',1000.*(te-ts)/(nproma*ngpblks)/ntime,' ms/gp'
289
290print *, " ZTD = ", ztd, ztd / real(nproma*ngpblks*ntime)
291print *, " ZTC = ", ztc, ztc / real(nproma*ngpblks*ntime)
292
293IF (llcheck .OR. llstat .OR. llcheckdiff) THEN
294 DO ibl = iblock1, iblock2
295 print *, " IBL = ", ibl
296 CALL diff ("PSRCS", psrcs_out(:,:,ibl), psrcs(:,:,ibl), llstat, llcheck, nproma, llcheckdiff, lldiff)
297 CALL diff ("PCLDFR", pcldfr_out(:,:,ibl), pcldfr(:,:,ibl), llstat, llcheck, nproma, llcheckdiff, lldiff)
298 CALL diff ("PHLC_HRC", phlc_hrc_out(:,:,ibl), phlc_hrc(:,:,ibl), llstat, llcheck, nproma, llcheckdiff, lldiff)
299 CALL diff ("PHLC_HCF", phlc_hcf_out(:,:,ibl), phlc_hcf(:,:,ibl), llstat, llcheck, nproma, llcheckdiff, lldiff)
300 CALL diff ("PHLI_HRI", phli_hri_out(:,:,ibl), phli_hri(:,:,ibl), llstat, llcheck, nproma, llcheckdiff, lldiff)
301 CALL diff ("PHLI_HCF", phli_hcf_out(:,:,ibl), phli_hcf(:,:,ibl), llstat, llcheck, nproma, llcheckdiff, lldiff)
302 ENDDO
303ENDIF
304
305IF (llcheckdiff) THEN
306 IF (lldiff) THEN
307 print*, "THERE ARE DIFF SOMEWHERE"
308 ELSE
309 print*, "THERE IS NO DIFF AT ALL"
310 ENDIF
311ENDIF
312
313stop
314
315CONTAINS
316
317SUBROUTINE init_phyex(KRR, PHYEX, MISC)
318
322USE modd_phyex, ONLY: phyex_t
324USE modi_ini_phyex, ONLY: ini_phyex
325USE modd_dimphyex, ONLY: dimphyex_t
326
327IMPLICIT NONE
328
329! -----------------------------------------------------------------------
330! DUMMY VARIABLES
331INTEGER, INTENT(IN) :: krr
332TYPE(phyex_t), TARGET, INTENT(OUT) :: PHYEX
333TYPE(misc_offline_t), INTENT(OUT), TARGET :: MISC
334
335!-----------------------------------------------------------------------
336! LOCAL VARIABLES
337INTEGER :: IULOUT, JRR
338REAL :: ZDZMIN
339CHARACTER(LEN=6) :: CPROGRAM
340CHARACTER(LEN=4) :: CMICRO, CSCONV, CTURB
341REAL :: PTSTEP
342TYPE(tbudgetdata_offline), DIMENSION(NBUDGET_RI), TARGET :: OFFBUD
343TYPE(dimphyex_t) :: DINIT
344! -----------------------------------------------------------------------
345
346iulout=20
347cprogram='AROME'
348zdzmin=20.
349cmicro='ICE3'
350csconv='NONE'
351cturb='TKEL'
352ptstep = 50.000000000000000
353misc%TPFILE%NLU=0
354
355!Init dimensions (only used for the initialization)
356dinit%NIT = nproma
357dinit%NIB = 1
358dinit%NIE = nproma
359dinit%NJT = 1
360dinit%NJB = 1
361dinit%NJE = 1
362dinit%NIJT = nproma
363dinit%NIJB = 1
364dinit%NIJE = nproma
365dinit%NKL = -1
366dinit%NKT = klev
367dinit%NKA = klev
368dinit%NKU = 1
369dinit%NKB = klev
370dinit%NKE = 1
371dinit%NKTB = 1
372dinit%NKTE = klev
373
374!Default values
375CALL ini_phyex(dinit, cprogram, misc%TPFILE, .true., iulout, 0, 1, &
376 &ptstep, zdzmin, &
377 &cmicro, csconv, cturb, &
378 &lddefaultval=.true., ldreadnam=.false., ldcheck=.false., kprint=0, ldinit=.false., &
379 &phyex_out=phyex)
380
381!Control parameters
382misc%PTSTEP = ptstep
383misc%HBUNAME = 'DEPI'
384misc%LMFCONV = .true.
385misc%KRR = krr
386misc%OCOMPUTE_SRC = .true.
387
388!Emulate the namelist reading
389phyex%PARAM_ICEN%LCRIAUTI=.true.
390phyex%PARAM_ICEN%XCRIAUTI_NAM=0.2e-3
391phyex%PARAM_ICEN%XT0CRIAUTI_NAM=-5.
392phyex%PARAM_ICEN%XCRIAUTC_NAM=0.1e-2
393phyex%PARAM_ICEN%LOCND2=.false.
394phyex%PARAM_ICEN%CSEDIM='STAT'
395phyex%PARAM_ICEN%LWARM=.true.
396phyex%PARAM_ICEN%LSEDIC=.true.
397phyex%PARAM_ICEN%CSNOWRIMING='M90 '
398phyex%PARAM_ICEN%XFRACM90=0.1 ! Fraction used for the Murakami 1990 formulation
399phyex%PARAM_ICEN%LCONVHG=.true. ! TRUE to allow the conversion from hail to graupel
400phyex%PARAM_ICEN%LCRFLIMIT=.true. !True to limit rain contact freezing to possible heat exchange
401phyex%PARAM_ICEN%LFEEDBACKT=.true. ! When .TRUE. feed back on temperature is taken into account
402phyex%PARAM_ICEN%LEVLIMIT=.true. ! When .TRUE. water vapour pressure is limited by saturation
403phyex%PARAM_ICEN%LNULLWETG=.true. ! When .TRUE. graupel wet growth is activated with null rate (to allow water shedding)
404phyex%PARAM_ICEN%LWETGPOST=.true. ! When .TRUE. graupel wet growth is activated with positive temperature (to allow water shedding)
405phyex%PARAM_ICEN%LNULLWETH=.true. ! Same as LNULLWETG but for hail
406phyex%PARAM_ICEN%LWETHPOST=.true. ! Same as LWETGPOST but for hail
407phyex%PARAM_ICEN%LSEDIM_AFTER=.false. ! Sedimentation done after microphysics
408phyex%PARAM_ICEN%XSPLIT_MAXCFL=0.8
409phyex%PARAM_ICEN%LDEPOSC=.false. ! water deposition on vegetation
410phyex%PARAM_ICEN%XVDEPOSC=0.02 ! deposition speed (2 cm.s-1)
411phyex%PARAM_ICEN%CSUBG_RC_RR_ACCR='NONE'
412phyex%PARAM_ICEN%CSUBG_RR_EVAP='NONE'
413phyex%PARAM_ICEN%CSUBG_PR_PDF='SIGM'
414phyex%NEBN%LSUBG_COND = .true.
415phyex%NEBN%LSIGMAS = .true.
416phyex%NEBN%CFRAC_ICE_ADJUST='S' ! Ice/liquid partition rule to use in adjustment
417phyex%NEBN%CFRAC_ICE_SHALLOW_MF='S' ! Ice/liquid partition rule to use in shallow_mf
418
419!Param initialisation
420CALL ini_phyex(dinit, cprogram, misc%TPFILE, .true., iulout, 0, 1, &
421 &ptstep, zdzmin, &
422 &cmicro, csconv, cturb, &
423 &lddefaultval=.false., ldreadnam=.false., ldcheck=.true., kprint=2, ldinit=.true., &
424 &phyex_in=phyex, phyex_out=phyex)
425
426!Budgets
428misc%NBUDGET=nbudget_ri
429DO jrr=1, misc%NBUDGET
430 misc%YLBUDGET(jrr)%PTR => offbud(jrr)
431 misc%YLBUDGET(jrr)%PTR%NBUDGET = jrr
432ENDDO
433lbu_enable=.false.
434lbudget_u=.false.
435lbudget_v=.false.
436lbudget_w=.false.
437lbudget_th=.false.
438lbudget_tke=.false.
439lbudget_rv=.false.
440lbudget_rc=.false.
441lbudget_rr=.false.
442lbudget_ri=.false.
443lbudget_rs=.false.
444lbudget_rg=.false.
445lbudget_rh=.false.
446lbudget_sv=.false.
447misc%TBUCONF=tbuconf
448
449END SUBROUTINE init_phyex
450
451END PROGRAM
452
subroutine ice_adjust(d, cst, icep, nebn, turbn, parami, buconf, krr, hbuname, ptstep, psigqsat, prhodj, pexnref, prhodref, psigs, lmfconv, pmfconv, ppabst, pzz, pexn, pcf_mf, prc_mf, pri_mf, pweight_mf_cloud, picldfr, pwcldfr, pssio, pssiu, pifr, prv, prc, prvs, prcs, pth, pths, ocompute_src, psrcs, pcldfr, prr, pri, pris, prs, prg, tbudgets, kbudgets, pice_cld_wgt, prh, prcriauti, prcriautc, pout_rv, pout_rc, pout_ri, pout_th, phlc_hrc, phlc_hcf, phli_hri, phli_hcf, phlc_hrc_mf, phlc_hcf_mf, phli_hri_mf, phli_hcf_mf)
subroutine ini_phyex(d, hprogram, tpfile, ldneednam, kluout, kfrom, kto, ptstep, pdzmin, cmicro, csconv, cturb, phyaero, ldchangemodel, lddefaultval, ldreadnam, ldcheck, kprint, ldinit, phyex_in, phyex_out)
Definition ini_phyex.F90:8
subroutine init_phyex(krr, phyex, misc)
program main_ice_adjust
subroutine getdata_ice_adjust(nproma, ngpblks, nflevg, prhodj_b, pexnref_b, prhodref_b, ppabsm_b, ptht_b, zice_cld_wgt_b, zsigqsat_b, psigs_b, pmfconv_b, prc_mf_b, pri_mf_b, pcf_mf_b, pweight_mf_cloud_b, zdum1_b, zdum2_b, zdum3_b, zdum4_b, zdum5_b, zdum6_b, zdum7_b, zdum8_b, zdum9_b, pths_b, prs_b, psrcs_b, pcldfr_b, phlc_hrc_b, phlc_hcf_b, phli_hri_b, phli_hcf_b, zrs_b, zzz_b, prs_out_b, psrcs_out_b, pcldfr_out_b, phlc_hrc_out_b, phlc_hcf_out_b, phli_hri_out_b, phli_hcf_out_b, ldverbose)
logical, pointer lbudget_rh
logical, pointer lbudget_sv
integer, parameter nbudget_ri
logical, pointer lbudget_ri
logical, pointer lbudget_th
logical, pointer lbudget_v
logical, pointer lbudget_rc
logical, pointer lbudget_tke
type(tbudgetconf_t), target tbuconf
logical, pointer lbudget_w
logical, pointer lbudget_rv
logical, pointer lbudget_rr
logical, pointer lbudget_u
logical, pointer lbudget_rg
logical, pointer lbudget_rs
logical, pointer lbu_enable
subroutine tbuconf_associate()
real, dimension(:,:), pointer, save zmnh_stack
integer, pointer imnh_block
type(stack), pointer ymnh_stack
subroutine, public initoptions(cdmessage, koptmin, koptmax, cdargs)
subroutine, public checkoptions()