Common MPI Mistakes
Forgetting ierr in (FORTRAN)
Declaring status incorrectly (FORTRAN)
- array of integers of size MPI_STATUS_SIZE
Declaring string variable incorrectly (FORTRAN)
- character*10 a not character a(10)
Expecting argv, argc to be passed to all processes (C)
Doing things before MPI_Init or after MPI_Finalize()
Matching MPI_Bcast with MPI_Recv
Assuming that your MPI implementation is thread safe