Changeset 2613


Ignore:
Timestamp:
Jan 18, 2022, 3:56:18 PM (3 years ago)
Author:
romain.vande
Message:

LMDZ_MARS RV : Open_MP; Reading files in parallel for PHOTOCHEMISTRY parametrisation
(photochem = .true.)

Location:
trunk/LMDZ.MARS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/README

    r2612 r2613  
    35873587== 18/01/2022 == RV
    35883588Open_MP : Put all the "COMMON" of *.h file as "$OMP THREADPRIVATE"
     3589
     3590== 18/01/2022 == RV
     3591Open_MP files reading for PHOTOCHEMISTRY : photochem = .true.
  • trunk/LMDZ.MARS/libf/aeronomars/calchim_mod.F90

    r2578 r2613  
    118118      integer :: foundswitch, lswitch
    119119      integer,save :: chemthermod
     120
     121!$OMP THREADPRIVATE(nbq,niq,chemthermod)
    120122
    121123      integer,save :: i_co2  = 0
     
    159161      integer,save :: i_hdo2=0
    160162
     163!$OMP THREADPRIVATE(i_co2,i_co,i_o,i_o1d,i_o2,i_o3,i_h,i_h2,i_oh,i_ho2,i_h2o2,i_ch4)
     164!$OMP THREADPRIVATE(i_n2,i_h2o,i_n,i_no,i_no2,i_n2d,i_co2plus,i_oplus,i_o2plus,i_coplus,i_cplus,i_nplus)
     165!$OMP THREADPRIVATE(i_noplus,i_n2plus,i_hplus,i_hco2plus,i_hcoplus,i_h2oplus,i_h3oplus,i_ohplus,i_elec,i_hdo,i_od,i_d,i_hd,i_do2,i_hdo2)
     166
    161167      integer :: ig_vl1
    162168
     
    187193                                   ! layers (default), or upper atmospheric
    188194                                   ! scheme in the thermosphere
     195
     196!$OMP THREADPRIVATE(firstcall,depos,ionchem,deutchem,jonline,unichim)
    189197
    190198!     for each column of atmosphere:
     
    217225      real :: iter_3d(ngrid,nlayer) ! Number of chemical iterations
    218226                                    !  within one physical timestep
     227
     228!$OMP THREADPRIVATE(output)
    219229
    220230!=======================================================================
Note: See TracChangeset for help on using the changeset viewer.