X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c57842fe897f53b46f0be3da87f7c996674be7d6..fa33c62c831c17237ac38960b24596560ad3804d:/teshsuite/smpi/mpich3-test/f90/rma/winscale2f90.f90 diff --git a/teshsuite/smpi/mpich3-test/f90/rma/winscale2f90.f90 b/teshsuite/smpi/mpich3-test/f90/rma/winscale2f90.f90 index b9c7812082..4566678d02 100644 --- a/teshsuite/smpi/mpich3-test/f90/rma/winscale2f90.f90 +++ b/teshsuite/smpi/mpich3-test/f90/rma/winscale2f90.f90 @@ -1,5 +1,5 @@ ! This file created from test/mpi/f77/rma/winscale2f.f with f77tof90 -! -*- Mode: Fortran; -*- +! -*- Mode: Fortran; -*- ! ! (C) 2003 by Argonne National Laboratory. ! See COPYRIGHT in top-level directory. @@ -19,16 +19,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 ) @@ -51,7 +51,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 @@ -63,14 +63,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 ) flag = .false. do while (.not. flag)