Hi, Volkan,
What version are you looking at? If there is no specific reason, we would recommend you to use the newest mpich-3.0.4 which can be downloaded from
http://www.mpich.org/downloads/
The following are some documents to help you understand the function MPIR_Err_create_code. Basically what this function does is to return a error code when you do something wrong in MPI_ calls.
To help you improve your code reading skills to solve future problems like this one. I would like to share with you one of my favorite books: Code Reading: The Open Source Perspective.
http://www.spinellis.gr/codereading/