The standard says it may differ a bit internally.. Or not.
get(result_addr, result_count, result_datatype, target_rank,
target_disp, target_count, target_datatype);
get(result_addr, result_count, result_datatype, target_rank,
target_disp, target_count, target_datatype);
- accumulate(origin_addr, origin_count, origin_datatype, target_rank,
+ if(op!=MPI_NO_OP)
+ accumulate(origin_addr, origin_count, origin_datatype, target_rank,
target_disp, target_count, target_datatype, op);
return MPI_SUCCESS;
target_disp, target_count, target_datatype, op);
return MPI_SUCCESS;