Changeset 806 for LMDZ4/trunk


Ignore:
Timestamp:
Jul 5, 2007, 2:10:47 PM (17 years ago)
Author:
lsce
Message:

ACo + YM : correction bug communicateur pour le couple

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

Legend:

Unmodified
Added
Removed
  • LMDZ4/trunk/libf/dyn3dpar/mod_const_para.F90

    r774 r806  
    1010  IMPLICIT NONE
    1111    INCLUDE 'mpif.h'
     12    INTEGER :: ierr
    1213 
    13     COMM_LMDZ=MPI_COMM_WORLD
     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
    1422    MPI_REAL_LMDZ=MPI_REAL8
    1523  END SUBROUTINE Init_const_mpi
  • LMDZ4/trunk/libf/dyn3dpar/parallel.F90

    r792 r806  
    11  module parallel
    2  
     2  USE mod_const_mpi
     3   
    34    integer, save :: mpi_size
    45    integer, save :: mpi_rank
    5     integer, save :: COMM_LMDZ
    66    integer, save :: jj_begin
    77    integer, save :: jj_end
     
    3737#include "paramet.h"
    3838
    39 #ifdef CPP_COUPLE
    40        call prism_init_comp_proto (comp_id, 'lmdz.x', ierr)
    41        call prism_get_localcomm_proto(COMM_LMDZ,ierr)
    42 #else     
    43       call MPI_INIT(ierr)
    44       COMM_LMDZ=MPI_COMM_WORLD
    45 #endif
    4639      call InitVampir
    4740      call MPI_COMM_SIZE(COMM_LMDZ,mpi_size,ierr)
Note: See TracChangeset for help on using the changeset viewer.