Ignore:
Timestamp:
Oct 25, 2013, 10:12:38 AM (11 years ago)
Author:
Ehouarn Millour
Message:

Getting XIOS to work in MPI, OpenMP and mixed MPI/OpenMP modes. Use "-io xios" option with makelmdz or makelmdz_fcm to enable XIOS (this doesn't deactivate IOIPSL outputs; to suppress IOIPSL outputs, add cpp flag CPP_NO_IOIPSL).
EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phydev/physiq.F90

    r1882 r1897  
    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
     
    168169
    169170
    170 !print*,'PHYDEV: itau=',itau
     171print*,'PHYDEV: itau=',itau
    171172
    172173! write some outputs:
     
    186187    !Increment XIOS time
    187188    CALL wxios_update_calendar(itau)
     189!$OMP END MASTER
     190!$OMP BARRIER
    188191
    189192    !Send fields to XIOS:
     
    192195    CALL histwrite_phy("v",v)
    193196    CALL histwrite_phy("ps",paprs(:,1))
    194 !$OMP END MASTER
    195197#endif
    196198
     
    200202endif
    201203
    202 end
     204end subroutine physiq
Note: See TracChangeset for help on using the changeset viewer.