Got rid of many type mismatch warnings for MPI functions.