source: LMDZ4/trunk/libf/dyn3dpar/mod_const_para.F90 @ 808

Last change on this file since 808 was 806, checked in by lsce, 17 years ago

ACo + YM : correction bug communicateur pour le couple

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 469 bytes
RevLine 
[774]1MODULE mod_const_mpi
2
3  INTEGER :: COMM_LMDZ
4  INTEGER :: MPI_REAL_LMDZ
5 
6
7CONTAINS
8
9  SUBROUTINE Init_const_mpi
10  IMPLICIT NONE
11    INCLUDE 'mpif.h'
[806]12    INTEGER :: ierr
[774]13 
[806]14#ifdef CPP_COUPLE
15       call prism_init_comp_proto (comp_id, 'lmdz.x', ierr)
16       call prism_get_localcomm_proto(COMM_LMDZ,ierr)
17#else     
18      call MPI_INIT(ierr)
19      COMM_LMDZ=MPI_COMM_WORLD
20#endif
21
[774]22    MPI_REAL_LMDZ=MPI_REAL8
23  END SUBROUTINE Init_const_mpi
24
25END MODULE mod_const_mpi
Note: See TracBrowser for help on using the repository browser.