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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/aeronomars/moldiff_red.F90

    r2467 r2611  
    66use geometry_mod, only: cell_area
    77use planetwide_mod, only: planetwide_sumval
     8USE mod_phys_lmdz_para, only: is_master,bcast
    89
    910implicit none
     
    8384      integer,save :: il0 
    8485
     86!$OMP THREADPRIVATE(qq,qnew,qint,FacMass,rhoK,rhokinit,wi,Wad,Uthermal,Lambdaexo,Hspecie,Mtot1,Mtot2,Mraf1,Mraf2,i_h2,i_h,i_d,il0)
     87
    8588! Tracer indexes in the GCM:
    8689!      integer,save :: g_co2=0
     
    114117      real,save :: step
    115118
     119!$OMP THREADPRIVATE(ncompdiff,gcmind,firstcall,dij,step)
    116120
    117121! Initializations at first call
     
    176180
    177181! find vertical index above which diffusion is computed
    178 
     182      if(is_master) then
    179183        do l=1,nlayer
    180184        if (pplay(1,l) .gt. Pdiff) then
     
    183187        enddo
    184188        il0=il0+1
     189      endif !(is_master)
     190      CALL bcast(il0)
    185191        print*,'vertical index for diffusion',il0,pplay(1,il0)
    186192
Note: See TracChangeset for help on using the changeset viewer.