X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d0ffc37686edcc803601f76ab51fdfed5fc2f241..3ea760af6a8cb65c3a2250ecc65f47386b10f286:/teshsuite/smpi/mpich3-test/f77/util/mtestf.f diff --git a/teshsuite/smpi/mpich3-test/f77/util/mtestf.f b/teshsuite/smpi/mpich3-test/f77/util/mtestf.f index 9bef6e158d..e3fd42f98d 100644 --- a/teshsuite/smpi/mpich3-test/f77/util/mtestf.f +++ b/teshsuite/smpi/mpich3-test/f77/util/mtestf.f @@ -14,7 +14,6 @@ C about out-of-order statements logical flag logical dbgflag integer wrank - common /mtest/ dbgflag, wrank call MPI_Initialized( flag, ierr ) if (.not. flag) then @@ -53,8 +52,12 @@ C A simple get intracomm for now integer comm, min_size, size, rank logical qsmaller integer myindex - common /grr/ myindex + save myindex + data myindex /0/ + if (.false.) then + qsmaller = qsmaller + endif comm = MPI_COMM_NULL if (myindex .eq. 0) then comm = MPI_COMM_WORLD @@ -72,7 +75,6 @@ C A simple get intracomm for now endif myindex = mod( myindex, 4 ) + 1 MTestGetIntracomm = comm .ne. MPI_COMM_NULL - qsmaller=.true. end C subroutine MTestFreeComm( comm )