Ignore:
Timestamp:
Nov 28, 2014, 4:36:29 PM (10 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes -r2070:2158 into testing branch. Compilation problems introduced by revision r2155 have been corrected by hand

Location:
LMDZ5/branches/testing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf/cosp/phys_cosp.F90

    r1999 r2160  
    66  subroutine phys_cosp( itap,dtime,freq_cosp, &
    77                        ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, &
    8                         ecrit_mth,ecrit_day,ecrit_hf, &
     8                        ecrit_mth,ecrit_day,ecrit_hf, ok_all_xml, &
    99                        Nptslmdz,Nlevlmdz,lon,lat, presnivs,overlaplmdz,sunlit, &
    1010                        ref_liq,ref_ice,fracTerLic,u_wind,v_wind,phis,phi,ph,p,skt,t, &
     
    8484  character(len=64),PARAMETER  :: cosp_input_nl='cosp_input_nl.txt'
    8585  character(len=64),PARAMETER  :: cosp_output_nl='cosp_output_nl.txt'
    86   character(len=512), save :: finput ! Input file name
    87   character(len=512), save :: cmor_nl
    8886  integer, save :: isccp_topheight,isccp_topheight_direction,overlap
    8987  integer,save  :: Ncolumns     ! Number of subcolumns in SCOPS
     
    121119  integer :: ii
    122120  real    :: ecrit_day,ecrit_hf,ecrit_mth
    123   logical :: ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP
     121  logical :: ok_mensuelCOSP,ok_journeCOSP,ok_hfCOSP, ok_all_xml
    124122
    125123  logical, save :: debut_cosp=.true.
     
    140138 
    141139!
    142    namelist/COSP_INPUT/cmor_nl,overlap,isccp_topheight,isccp_topheight_direction, &
    143               npoints_it,ncolumns,nlevels,use_vgrid,nlr,csat_vgrid,finput, &
     140   namelist/COSP_INPUT/overlap,isccp_topheight,isccp_topheight_direction, &
     141              npoints_it,ncolumns,use_vgrid,nlr,csat_vgrid, &
    144142              radar_freq,surface_radar,use_mie_tables, &
    145143              use_gas_abs,do_ray,melt_lay,k2,Nprmts_max_hydro,Naero,Nprmts_max_aero, &
     
    297295     if (debut_cosp) then
    298296
     297      !$OMP MASTER
    299298        print *, ' Open outpts files and define axis'
    300299        call cosp_output_open(Nlevlmdz, Ncolumns, presnivs, dtime, freq_cosp, &
    301                               ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP, &
     300                              ok_mensuelCOSP, ok_journeCOSP, ok_hfCOSP, ok_all_xml, &
    302301                              ecrit_mth, ecrit_day, ecrit_hf, use_vgrid, vgrid)
    303 
     302      !$OMP END MASTER
     303      !$OMP BARRIER
    304304        debut_cosp=.false.
    305305      endif ! debut_cosp
     
    313313!!!!!!!!!!!!!!!!!! Ecreture des sorties Cosp !!!!!!!!!!!!!!r!!!!!!:!!!!!
    314314       print *, 'Calling write output'
    315         call cosp_output_write(Nlevlmdz, Npoints, Ncolumns, itap, dtime, freq_COSP, cfg, gbx, sglidar, stlidar, isccp)
     315        call cosp_output_write(Nlevlmdz, Npoints, Ncolumns, itap, dtime, freq_COSP, &
     316                               cfg, gbx, vgrid, sglidar, stlidar, isccp)
    316317
    317318!+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
     
    343344      CLOSE(10)
    344345    ENDIF
    345     CALL bcast(cmor_nl)
    346346    CALL bcast(overlap)
    347347    CALL bcast(isccp_topheight)
     
    349349    CALL bcast(npoints_it)
    350350    CALL bcast(ncolumns)
    351     CALL bcast(nlevels)
    352351    CALL bcast(use_vgrid)
    353352    CALL bcast(nlr)
    354353    CALL bcast(csat_vgrid)
    355     CALL bcast(finput)
    356354    CALL bcast(radar_freq)
    357355    CALL bcast(surface_radar)
Note: See TracChangeset for help on using the changeset viewer.