Changeset 1005 for LMDZ4/trunk
- Timestamp:
- Oct 7, 2008, 10:58:33 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/phylmd/mod_surf_para.F90
r987 r1005 50 50 SUBROUTINE Init_surf_para(knon) 51 51 USE mod_phys_lmdz_para, mpi_rank_root=>mpi_root 52 #ifdef CPP_ PARA52 #ifdef CPP_MPI 53 53 INCLUDE 'mpif.h' 54 54 #endif … … 87 87 ALLOCATE(knon_glo_end_para(0:mpi_size*omp_size-1)) 88 88 89 IF (is_ ok_mpi) THEN90 #ifdef CPP_ PARA89 IF (is_using_mpi) THEN 90 #ifdef CPP_MPI 91 91 CALL MPI_ALLGather(knon_mpi,1,MPI_INTEGER,knon_mpi_para,1,MPI_INTEGER,COMM_LMDZ_PHY,ierr) 92 92 CALL MPI_ALLGather(knon_omp_para,omp_size,MPI_INTEGER,knon_glo_para,omp_size,MPI_INTEGER,COMM_LMDZ_PHY,ierr) … … 169 169 SUBROUTINE gather_surf_mpi_i(FieldIn,FieldOut) 170 170 USE mod_phys_lmdz_para, mpi_rank_root => mpi_root 171 #ifdef CPP_ PARA171 #ifdef CPP_MPI 172 172 INCLUDE 'mpif.h' 173 173 #endif … … 176 176 INTEGER :: ierr 177 177 178 IF (is_ ok_mpi) THEN179 #ifdef CPP_ PARA178 IF (is_using_mpi) THEN 179 #ifdef CPP_MPI 180 180 CALL MPI_Gatherv(FieldIn,knon_mpi,MPI_INTEGER, & 181 181 FieldOut,knon_mpi_para,knon_mpi_begin_para(:)-1,MPI_INTEGER, & … … 224 224 SUBROUTINE gather_surf_mpi_r(FieldIn,FieldOut) 225 225 USE mod_phys_lmdz_para, mpi_rank_root => mpi_root 226 #ifdef CPP_ PARA226 #ifdef CPP_MPI 227 227 INCLUDE 'mpif.h' 228 228 #endif … … 231 231 REAL :: ierr 232 232 233 IF (is_ ok_mpi) THEN234 #ifdef CPP_ PARA233 IF (is_using_mpi) THEN 234 #ifdef CPP_MPI 235 235 CALL MPI_Gatherv(FieldIn,knon_mpi,MPI_REAL_LMDZ, & 236 236 FieldOut,knon_mpi_para,knon_mpi_begin_para(:)-1,MPI_REAL_LMDZ, & … … 277 277 SUBROUTINE scatter_surf_mpi_i(FieldIn,FieldOut) 278 278 USE mod_phys_lmdz_para, mpi_rank_root => mpi_root 279 #ifdef CPP_ PARA279 #ifdef CPP_MPI 280 280 INCLUDE 'mpif.h' 281 281 #endif … … 284 284 INTEGER :: ierr 285 285 286 IF (is_ ok_mpi) THEN287 #ifdef CPP_ PARA286 IF (is_using_mpi) THEN 287 #ifdef CPP_MPI 288 288 CALL MPI_Scatterv(FieldIn,knon_mpi_para,knon_mpi_begin_para(:)-1,MPI_INTEGER, & 289 289 FieldOut,knon_mpi,MPI_INTEGER, & … … 329 329 SUBROUTINE scatter_surf_mpi_r(FieldIn,FieldOut) 330 330 USE mod_phys_lmdz_para, mpi_rank_root => mpi_root 331 #ifdef CPP_ PARA331 #ifdef CPP_MPI 332 332 INCLUDE 'mpif.h' 333 333 #endif … … 336 336 INTEGER :: ierr 337 337 338 IF (is_ ok_mpi) THEN339 #ifdef CPP_ PARA338 IF (is_using_mpi) THEN 339 #ifdef CPP_MPI 340 340 CALL MPI_Scatterv(FieldIn,knon_mpi_para,knon_mpi_begin_para(:)-1,MPI_INTEGER, & 341 341 FieldOut,knon_mpi,MPI_INTEGER, &
Note: See TracChangeset
for help on using the changeset viewer.