A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Have some mpich3 tests use the automatic privatization instead of manual one.
[simgrid.git]
/
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
f1a137c
..
81edc25
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/f77/util/mtestf.f
+++ b/
teshsuite/smpi/mpich3-test/f77/util/mtestf.f
@@
-15,8
+15,6
@@
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
@@
-24,7
+22,6
@@
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
@@
-56,7
+53,8
@@
C A simple get intracomm for now
integer comm, min_size, size, rank
logical qsmaller
integer myindex
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
comm = MPI_COMM_NULL
if (myindex .eq. 0) then
@@
-75,7
+73,6
@@
C A simple get intracomm for now
endif
myindex = mod( myindex, 4 ) + 1
MTestGetIntracomm = comm .ne. MPI_COMM_NULL
endif
myindex = mod( myindex, 4 ) + 1
MTestGetIntracomm = comm .ne. MPI_COMM_NULL
- qsmaller=.true.
end
C
subroutine MTestFreeComm( comm )
end
C
subroutine MTestFreeComm( comm )