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);
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'