Ignore:
Timestamp:
Jun 3, 2014, 5:07:16 PM (10 years ago)
Author:
acaubel
Message:

Modifications to run LMDZ in coupled mode with both OASIS-MCT and XIOS.

Location:
LMDZ5/trunk/libf/dyn3dpar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3dpar/mod_const_mpi.F90

    r1965 r2054  
    2121    USE mod_prism
    2222#endif
     23#ifdef CPP_XIOS
     24    USE wxios, only: wxios_init
     25#endif
    2326    IMPLICIT NONE
    2427#ifdef CPP_MPI
     
    4144#ifdef CPP_COUPLE
    4245!$OMP MASTER
    43        CALL prism_init_comp_proto (comp_id, 'lmdz.x', ierr)
     46#ifdef CPP_XIOS
     47      CALL wxios_init("LMDZ", outcom=COMM_LMDZ)
     48#else
     49       CALL prism_init_comp_proto (comp_id, 'LMDZ', ierr)
    4450       CALL prism_get_localcomm_proto(COMM_LMDZ,ierr)
     51#endif
    4552!$OMP END MASTER
    4653#endif
  • LMDZ5/trunk/libf/dyn3dpar/parallel_lmdz.F90

    r1965 r2054  
    255255
    256256      if (type_ocean == 'couple') then
     257#ifdef CPP_XIOS
     258    !Fermeture propre de XIOS
     259      CALL wxios_close()
     260#else
    257261#ifdef CPP_COUPLE
    258262         call prism_terminate_proto(ierr)
     
    261265         endif
    262266#endif
     267#endif
    263268      else
    264269#ifdef CPP_XIOS
Note: See TracChangeset for help on using the changeset viewer.