Ignore:
Timestamp:
Nov 29, 2013, 9:40:25 AM (11 years ago)
Author:
Laurent Fairhead
Message:

Merged trunk changes r1860:1909 into testing branch

Location:
LMDZ5/branches/testing
Files:
23 edited
1 copied

Legend:

Unmodified
Added
Removed
  • LMDZ5/branches/testing

  • LMDZ5/branches/testing/libf

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/comcstphy.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/comgeomphy.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/dimphy.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/gr_fi_ecrit.F

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/iniphysiq.F

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/init_phys_lmdz.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/iostart.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/mod_grid_phy_lmdz.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/mod_phys_lmdz_mpi_data.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/mod_phys_lmdz_mpi_transfert.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/mod_phys_lmdz_omp_data.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/mod_phys_lmdz_omp_transfert.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/mod_phys_lmdz_para.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/mod_phys_lmdz_transfert_para.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/phyaqua.F

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/phyetat0.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/phyredem.F

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/phys_state_var_mod.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
  • LMDZ5/branches/testing/libf/phydev/physiq.F90

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
    r1864 r1910  
    2121
    2222#ifdef CPP_XIOS
    23       USE wxios
     23      USE wxios, only: wxios_add_vaxis, wxios_set_timestep, wxios_closedef, &
     24                       wxios_update_calendar, histwrite_phy
    2425#endif
    2526
     
    7980integer,save :: iwrite_phys ! output every iwrite_phys physics step
    8081!$OMP THREADPRIVATE(iwrite_phys)
    81 integer :: iwrite_phys_omp ! intermediate variable to read iwrite_phys
     82integer,save :: iwrite_phys_omp ! intermediate variable to read iwrite_phys
     83                                ! (must be shared by all threads)
    8284real :: t_ops ! frequency of the IOIPSL operations (eg average over...)
    8385real :: t_wrt ! frequency of the IOIPSL outputs
     
    104106  call ymds2ju(1979, 1, 1, 0.0, zjulian)
    105107  dtime=pdtphys
     108#ifndef CPP_NO_IOIPSL
     109  ! Initialize IOIPSL output file
    106110  call histbeg_phy("histins.nc",itau0,zjulian,dtime,nhori,nid_hist)
    107 
    108 
     111#endif
    109112
    110113!$OMP MASTER
    111114
    112 
    113 
     115#ifndef CPP_NO_IOIPSL
     116! IOIPSL
    114117  ! define vertical coordinate
    115118  call histvert(nid_hist,"presnivs","Vertical levels","Pa",klev, &
     
    130133  ! end definition sequence
    131134  call histend(nid_hist)
    132 
     135#endif
     136
     137#ifdef CPP_XIOS
    133138!XIOS
    134 #ifdef CPP_XIOS
    135139    ! Déclaration de l'axe vertical du fichier:   
    136     !CALL wxios_add_vaxis("presnivs", "histins", klev, presnivs)
     140    CALL wxios_add_vaxis("presnivs", "histins", klev, presnivs)
    137141
    138142    !Déclaration du pas de temps:
    139     !CALL wxios_set_timestep(dtime)
     143    CALL wxios_set_timestep(dtime)
    140144
    141145    !Finalisation du contexte:
    142     !CALL wxios_closedef()
     146    CALL wxios_closedef()
    143147#endif
    144148!$OMP END MASTER
    145149endif ! of if (debut)
    146150
    147 ! increment counter itau
     151! increment local time counter itau
    148152itau=itau+1
    149153
     
    166170
    167171
    168 !print*,'PHYDEV: itau=',itau
     172print*,'PHYDEV: itau=',itau
    169173
    170174! write some outputs:
     175! IOIPSL
     176#ifndef CPP_NO_IOIPSL
    171177if (modulo(itau,iwrite_phys)==0) then
    172178  call histwrite_phy(nid_hist,.false.,"temperature",itau,t)
     
    175181  call histwrite_phy(nid_hist,.false.,"ps",itau,paprs(:,1))
    176182endif
     183#endif
    177184
    178185!XIOS
    179186#ifdef CPP_XIOS
    180187!$OMP MASTER
    181     !On incrémente le pas de temps XIOS
    182     !CALL wxios_update_calendar(itau)
    183 
    184     !Et on écrit, avec la routine histwrite dédiée:
    185     !CALL histwrite_phy("temperature",t)
    186     !CALL histwrite_phy("u",u)
    187     !CALL histwrite_phy("v",v)
    188     !CALL histwrite_phy("ps",paprs(:,1))
     188    !Increment XIOS time
     189    CALL wxios_update_calendar(itau)
    189190!$OMP END MASTER
     191!$OMP BARRIER
     192
     193    !Send fields to XIOS:
     194    CALL histwrite_phy("temperature",t)
     195    CALL histwrite_phy("u",u)
     196    CALL histwrite_phy("v",v)
     197    CALL histwrite_phy("ps",paprs(:,1))
    190198#endif
    191199
     
    195203endif
    196204
    197 end
     205end subroutine physiq
  • LMDZ5/branches/testing/libf/phydev/tetalevel.F

    • Property copyright set to
      Name of program: LMDZ
      Creation date: 1984
      Version: LMDZ5
      License: CeCILL version 2
      Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
      See the license file in the root directory
Note: See TracChangeset for help on using the changeset viewer.