Changeset 806 for LMDZ4/trunk
- Timestamp:
- Jul 5, 2007, 2:10:47 PM (17 years ago)
- Location:
- LMDZ4/trunk/libf/dyn3dpar
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/dyn3dpar/mod_const_para.F90
r774 r806 10 10 IMPLICIT NONE 11 11 INCLUDE 'mpif.h' 12 INTEGER :: ierr 12 13 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 14 22 MPI_REAL_LMDZ=MPI_REAL8 15 23 END SUBROUTINE Init_const_mpi -
LMDZ4/trunk/libf/dyn3dpar/parallel.F90
r792 r806 1 1 module parallel 2 2 USE mod_const_mpi 3 3 4 integer, save :: mpi_size 4 5 integer, save :: mpi_rank 5 integer, save :: COMM_LMDZ6 6 integer, save :: jj_begin 7 7 integer, save :: jj_end … … 37 37 #include "paramet.h" 38 38 39 #ifdef CPP_COUPLE40 call prism_init_comp_proto (comp_id, 'lmdz.x', ierr)41 call prism_get_localcomm_proto(COMM_LMDZ,ierr)42 #else43 call MPI_INIT(ierr)44 COMM_LMDZ=MPI_COMM_WORLD45 #endif46 39 call InitVampir 47 40 call MPI_COMM_SIZE(COMM_LMDZ,mpi_size,ierr)
Note: See TracChangeset
for help on using the changeset viewer.