+ # Replace Put and Get first argument
+ if p2 in gen.put:
+ 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'