Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Have some mpich3 tests use the automatic privatization instead of manual one.
[simgrid.git] / teshsuite / smpi / mpich3-test / f77 / util / mtestf.f
index 9bef6e1..81edc25 100644 (file)
@@ -53,7 +53,8 @@ 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/
 
         comm = MPI_COMM_NULL
         if (myindex .eq. 0) then
@@ -72,7 +73,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 )