Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add new entry in Release_Notes.
[simgrid.git] / teshsuite / smpi / mpich3-test / f90 / rma / wingetf90.f90
index 648348e..6e1e779 100644 (file)
@@ -1,5 +1,5 @@
 ! This file created from test/mpi/f77/rma/wingetf.f with f77tof90
-! -*- Mode: Fortran; -*- 
+! -*- Mode: Fortran; -*-
 !
 !  (C) 2003 by Argonne National Laboratory.
 !      See COPYRIGHT in top-level directory.
 ! 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 )
-         
+
          call mpi_comm_size( comm, size, ierr )
          call mpi_comm_rank( comm, rank, ierr )
          left = rank - 1
@@ -39,7 +39,7 @@
             right = MPI_PROC_NULL
          endif
 !
-! Initialize the buffer 
+! Initialize the buffer
          do i=1,nrows
             buf(i,0)       = -1
             buf(i,ncols+1) = -1
             enddo
          enddo
          call mpi_win_fence( MPI_MODE_NOPRECEDE, win, ierr )
-!      
+!
          asize = 1
          call mpi_get( buf(1,ncols+1), nrows, MPI_INTEGER, right, &
       &                 asize, nrows, MPI_INTEGER, win, ierr )
          asize = ncols
          call mpi_get( buf(1,0), nrows, MPI_INTEGER, left,  &
       &                 asize, nrows, MPI_INTEGER, win, ierr )
-!         
+!
          call mpi_win_fence( MPI_MODE_NOSTORE + MPI_MODE_NOPUT +  &
       &                       MPI_MODE_NOSUCCEED, win, ierr )
 !