Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Kill trailing whitespaces in teshsuite/smpi/{isp,mpich3-test}.
[simgrid.git] / teshsuite / smpi / mpich3-test / f77 / rma / winaccf.f
index 24eaf9dacf97763a5bb7bdcdef77f5e5c87a27bc..fb185d6b8332d015af7f905bf4716c2fad9a0f33 100644 (file)
@@ -1,4 +1,4 @@
-C -*- Mode: Fortran; -*- 
+C -*- Mode: Fortran; -*-
 C
 C  (C) 2003 by Argonne National Laboratory.
 C      See COPYRIGHT in top-level directory.
@@ -17,16 +17,16 @@ C
       logical mtestGetIntraComm
 C Include addsize defines asize as an address-sized integer
       include 'addsize.h'
-      
+
       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, 
+         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
@@ -38,7 +38,7 @@ C Include addsize defines asize as an address-sized integer
             right = MPI_PROC_NULL
          endif
 C
-C Initialize the buffer 
+C Initialize the buffer
          do i=1,nrows
             buf(i,0)       = -1
             buf(i,ncols+1) = -1
@@ -49,16 +49,16 @@ C Initialize the buffer
             enddo
          enddo
          call mpi_win_fence( MPI_MODE_NOPRECEDE, win, ierr )
-C         
+C
          asize = ncols + 1
-         call mpi_accumulate( buf(1,1), nrows, MPI_INTEGER, 
-     &                 left, asize, 
+         call mpi_accumulate( buf(1,1), nrows, MPI_INTEGER,
+     &                 left, asize,
      &                 nrows, MPI_INTEGER, MPI_SUM, win, ierr )
          asize = 0
          call mpi_accumulate( buf(1,ncols), nrows, MPI_INTEGER, right,
      &                 asize, nrows, MPI_INTEGER, MPI_SUM, win, ierr )
-C         
-         call mpi_win_fence( MPI_MODE_NOSTORE + MPI_MODE_NOPUT + 
+C
+         call mpi_win_fence( MPI_MODE_NOSTORE + MPI_MODE_NOPUT +
      &                       MPI_MODE_NOSUCCEED, win, ierr )
 C
 C Check the results
@@ -79,7 +79,7 @@ C Check the results
                if (buf(i,ncols+1) .ne. ans) then
                   errs = errs + 1
                   if (errs .le. 10) then
-                     print *, ' buf(',i,',',ncols+1,') = ', 
+                     print *, ' buf(',i,',',ncols+1,') = ',
      &                         buf(i,ncols+1)
                   endif
                endif