Ignore:
Timestamp:
Jan 14, 2026, 8:30:16 PM (12 days ago)
Author:
aslmd
Message:

MESOSCALE: use precompiling flags to hide instructions related to parallel computations (we consider physics as being like a 1D model without any attached dynamical core when we compile).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/nirdata.F90

    r3006 r4008  
    2323
    2424    use datafile_mod, only: datadir
     25#ifndef MESOSCALE
    2526    USE mod_phys_lmdz_para, ONLY: is_master
    2627    USE mod_phys_lmdz_transfert_para, ONLY: bcast
    27 
     28#endif
    2829    implicit none
    2930
     
    3132
    3233    integer :: ind
    33 
     34#ifndef MESOSCALE
    3435    if (is_master) then
     36#endif
    3537      open(43,file=trim(datadir)//'/NIRcorrection_feb2011.dat', &
    3638             status='old')
     
    4648      enddo
    4749      close(43)
    48 
     50#ifndef MESOSCALE
    4951    endif !  if(is_master) then
    50 
    5152    call bcast(pres1d)
    5253    call bcast(corgcm)
     
    5455    call bcast(p1999)
    5556    call bcast(alfa)
    56 
     57#endif
    5758  end subroutine NIR_leedat
    5859
Note: See TracChangeset for help on using the changeset viewer.