Pankatz, Klaus wrote:
Hi folks,openMPI 1.4.1 seems to have another problem with my machine, or something on it.This little program here (compiled with mpif90) startet with mpiexec -np 4 a.out produces the following output: Suriprisingly the same thing written in C-Code (compiled with mpiCC) works without a problem.
Not so surprising since it's C code! For Fortran: MPI_INT -> MPI_INTEGERand add an ierror argument to your MPI_Bcast call (the way you have for MPI_Comm_rank/size).