Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Initialize common variable.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 15 Nov 2013 10:45:57 +0000 (11:45 +0100)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 15 Nov 2013 10:47:13 +0000 (11:47 +0100)
teshsuite/smpi/mpich3-test/f77/util/mtestf.f

index 9bef6e1..f1a137c 100644 (file)
@@ -15,6 +15,8 @@ C       about out-of-order statements
         logical dbgflag
         integer wrank
         common /mtest/ dbgflag, wrank
         logical dbgflag
         integer wrank
         common /mtest/ dbgflag, wrank
+        integer myindex
+        common /grr/ myindex
 
         call MPI_Initialized( flag, ierr )
         if (.not. flag) then
 
         call MPI_Initialized( flag, ierr )
         if (.not. flag) then
@@ -22,6 +24,7 @@ C       about out-of-order statements
         endif
 
         dbgflag = .false.
         endif
 
         dbgflag = .false.
+        myindex = 0
         call MPI_Comm_rank( MPI_COMM_WORLD, wrank, ierr )
         end
 C
         call MPI_Comm_rank( MPI_COMM_WORLD, wrank, ierr )
         end
 C