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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/nlte_setup.F

    r1918 r2606  
    1818
    1919      use datafile_mod, only: datadir
     20      USE mod_phys_lmdz_para, ONLY: is_master
     21      USE mod_phys_lmdz_transfert_para, ONLY: bcast
    2022     
    2123      implicit none
     
    4648      lun1 = 1
    4749      lun2 = 2
     50
     51      if(is_master) then
    4852
    4953      do k=1,nisot
     
    6367      end do
    6468
     69      endif !      if(is_master)
     70
     71      call bcast(elow)
     72      call bcast(deltanu)
     73
    6574      a1_010_000 = 1.3546d00
    6675      a2_010_000 = 1.3452d00
     
    7180
    7281c     *** Old LeeESCTVCISO_dlvr11 ***
     82
     83      if(is_master) then
    7384
    7485      open( 11, file=trim(datadir)//
     
    8899      enddo
    89100      close (12)
     101
     102
     103      endif !is_master
     104
     105      call bcast(lnpnbtab)
     106      call bcast(tstar11tab)
     107      call bcast(tstar21tab)
     108      call bcast(tstar31tab)
     109      call bcast(tstar41tab)
     110      call bcast(xx)
     111      call bcast(vc210tab)
     112      call bcast(vc310tab)
     113      call bcast(vc410tab)
     114
    90115      xx=xx
    91116
Note: See TracChangeset for help on using the changeset viewer.