X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/68c6eb0af03e4284f8bb2f4a4f847c253e37ea16..fa33c62c831c17237ac38960b24596560ad3804d:/teshsuite/smpi/mpich3-test/f90/rma/winscale1f90.f90 diff --git a/teshsuite/smpi/mpich3-test/f90/rma/winscale1f90.f90 b/teshsuite/smpi/mpich3-test/f90/rma/winscale1f90.f90 index fcf0e021c9..9a3663269d 100644 --- a/teshsuite/smpi/mpich3-test/f90/rma/winscale1f90.f90 +++ b/teshsuite/smpi/mpich3-test/f90/rma/winscale1f90.f90 @@ -1,5 +1,5 @@ ! This file created from test/mpi/f77/rma/winscale1f.f with f77tof90 -! -*- Mode: Fortran; -*- +! -*- Mode: Fortran; -*- ! ! (C) 2003 by Argonne National Laboratory. ! See COPYRIGHT in top-level directory. @@ -18,16 +18,16 @@ ! Include addsize defines asize as an address-sized integer integer (kind=MPI_ADDRESS_KIND) asize - + errs = 0 call mtest_init( ierr ) call mpi_type_size( MPI_INTEGER, intsize, ierr ) - do while( mtestGetIntraComm( comm, 2, .false. ) ) + do while( mtestGetIntraComm( comm, 2, .false. ) ) asize = nrows * (ncols + 2) * intsize call mpi_win_create( buf, asize, intsize * nrows, & & MPI_INFO_NULL, comm, win, ierr ) - + ! Create the group for the neighbors call mpi_comm_size( comm, size, ierr ) call mpi_comm_rank( comm, rank, ierr ) @@ -50,7 +50,7 @@ call mpi_group_incl( group, nneighbors, nbrs, group2, ierr ) call mpi_group_free( group, ierr ) ! -! Initialize the buffer +! Initialize the buffer do i=1,nrows buf(i,0) = -1 buf(i,ncols+1) = -1 @@ -62,14 +62,14 @@ enddo call mpi_win_post( group2, 0, win, ierr ) call mpi_win_start( group2, 0, win, ierr ) -! +! asize = ncols+1 call mpi_put( buf(1,1), nrows, MPI_INTEGER, left, asize, & & nrows, MPI_INTEGER, win, ierr ) asize = 0 call mpi_put( buf(1,ncols), nrows, MPI_INTEGER, right, asize, & & nrows, MPI_INTEGER, win, ierr ) -! +! call mpi_win_complete( win, ierr ) call mpi_win_wait( win, ierr ) !