Created by: wangxicoding
Cherry-pick from https://github.com/PaddlePaddle/Paddle/pull/24456
- Optimize error message, include dgc_clip_by_norm_op, dgc_op, nccl_op, size_op.
- Repair nccl op test. Move NcclReduce, NcclAllReduce, NcclBcast test to the same test function, for the reason serial execution is required for the same nccl comm.