The problem seems to be that Parallel_send_values, Parallel_send_ivalues, and Parallel_send_characters do not define mpierr as type integer. It seems one hits this problem if _not_ using MPIF4 (I happened to have just run into this problem while trying to build with an OpenMPI build that support i8).