X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cc309f0bc25802386a5f6d8bf2cfc487139ca1e3..244ffce80a9e2390e24b9788114de037e4ccc0ae:/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py diff --git a/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py b/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py index f6a239f977..a6723fac19 100755 --- a/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py +++ b/teshsuite/smpi/MBI/RMAP2PGlobalConcurrencyGenerator.py @@ -41,7 +41,7 @@ int main(int argc, char **argv) { int nprocs = -1; int rank = -1; MPI_Win win; - int * winbuf = malloc(N * sizeof(int)); // Window buffer + int * winbuf = (int *)malloc(N * sizeof(int)); // Window buffer int buff_size = 1; MPI_Init(&argc, &argv); @@ -113,7 +113,7 @@ for p in gen.put + gen.get: patterns['operation2'] = gen.operation[s]("2") #send patterns['operation3'] = gen.operation[r]("3") #recv - replace = patterns + replace = patterns.copy() replace['shortdesc'] = 'Global Concurrency error.' replace['longdesc'] = 'Global Concurrency error. Concurrent access of variable winbuf by @{p}@ and @{r}@' replace['outcome'] = 'ERROR: GlobalConcurrency'