Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove useless (?) common block in fortran code as flang7 has problems compiling...
[simgrid.git] / teshsuite / smpi / mpich3-test / f77 / util / mtestf.f
index 9bef6e158de3e27e508f65f62f7274ac26bba911..e3fd42f98d77033634b4f76f17d4994d9b5c2e0e 100644 (file)
@@ -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 )