Finally resoved the memory release problem under MPI at the end of program