- replace['operation2'] = 'MPI_Put(&winbuf[20], N, MPI_INT, target, 0, N, type, win);'
- if p2 in gen.get:
- replace['operation2'] = 'MPI_Get(&winbuf[20], N, MPI_INT, target, 0, N, type, win);'
+ replace['operation2'] = 'MPI_Put(&winbuf[5], N, MPI_INT, target, 0, N, type, win);'
+ replace['outcome'] = 'OK'
+ replace['errormsg'] = 'OK'
+ elif p2 in gen.get:
+ replace['operation2'] = 'MPI_Get(&winbuf[5], N, MPI_INT, target, 0, N, type, win);'
+ elif p2 in gen.rload:
+ replace['outcome'] = 'OK'
+ replace['errormsg'] = 'OK'