Changeset 622 for palm/trunk/SOURCE/transpose.f90
- Timestamp:
- Dec 10, 2010 8:08:13 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/transpose.f90
r484 r622 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! optional barriers included in order to speed up collective operations 7 7 ! 8 8 ! Former revisions: … … 69 69 !-- Transpose array 70 70 CALL cpu_log( log_point_s(32), 'mpi_alltoall', 'start' ) 71 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 71 72 CALL MPI_ALLTOALL( f_inv(nys_x,nzb_x,0), sendrecvcount_xy, MPI_REAL, & 72 73 work(1), sendrecvcount_xy, MPI_REAL, & … … 143 144 !-- Transpose array 144 145 CALL cpu_log( log_point_s(32), 'mpi_alltoall', 'start' ) 146 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 145 147 CALL MPI_ALLTOALL( work(1), sendrecvcount_zx, MPI_REAL, & 146 148 f_inv(nys,nxl,1), sendrecvcount_zx, MPI_REAL, & … … 229 231 !-- Transpose array 230 232 CALL cpu_log( log_point_s(32), 'mpi_alltoall', 'start' ) 233 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 231 234 CALL MPI_ALLTOALL( work(1), sendrecvcount_xy, MPI_REAL, & 232 235 f_inv(nys_x,nzb_x,0), sendrecvcount_xy, MPI_REAL, & … … 291 294 !-- Transpose array 292 295 CALL cpu_log( log_point_s(32), 'mpi_alltoall', 'start' ) 296 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 293 297 CALL MPI_ALLTOALL( f_inv(nxl,1,nys), sendrecvcount_xy, MPI_REAL, & 294 298 work(1), sendrecvcount_xy, MPI_REAL, & … … 373 377 !-- Transpose array 374 378 CALL cpu_log( log_point_s(32), 'mpi_alltoall', 'start' ) 379 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 375 380 CALL MPI_ALLTOALL( f_inv(nxl_y,nzb_y,0), sendrecvcount_yz, MPI_REAL, & 376 381 work(1), sendrecvcount_yz, MPI_REAL, & … … 454 459 !-- Transpose array 455 460 CALL cpu_log( log_point_s(32), 'mpi_alltoall', 'start' ) 461 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 456 462 CALL MPI_ALLTOALL( f_inv(nys,nxl,1), sendrecvcount_zx, MPI_REAL, & 457 463 work(1), sendrecvcount_zx, MPI_REAL, & … … 528 534 !-- Transpose array 529 535 CALL cpu_log( log_point_s(32), 'mpi_alltoall', 'start' ) 536 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 530 537 CALL MPI_ALLTOALL( work(1), sendrecvcount_yz, MPI_REAL, & 531 538 f_inv(nxl_y,nzb_y,0), sendrecvcount_yz, MPI_REAL, & … … 627 634 !-- Transpose array 628 635 CALL cpu_log( log_point_s(32), 'mpi_alltoall', 'start' ) 636 IF ( collective_wait ) CALL MPI_BARRIER( comm2d, ierr ) 629 637 CALL MPI_ALLTOALL( f_inv(nys,nxl,1), sendrecvcount_zyd, MPI_REAL, & 630 638 work(1), sendrecvcount_zyd, MPI_REAL, &
Note: See TracChangeset
for help on using the changeset viewer.