from your code: MPI_Info_set (info[4],host, "n1050"); MPI_Info_set (info[5],host, "n1051"); MPI_Info_set (info[5],host, "n1052"); MPI_Info_set (info[5],host, "n1053"); you not set info[6] and info[7] because it crash!