Re: [OMPI users] An error occured in MPI_Bcast; MPI_ERR_TYPE: invalid datatype

2010-05-22 Thread Pankatz, Klaus
Okay, that was easy... Thanks! Am 21.05.2010 um 16:21 schrieb Eugene Loh: > 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 >>

Re: [OMPI users] An error occured in MPI_Bcast; MPI_ERR_TYPE: invalid datatype

2010-05-21 Thread Tom Rosmond
Your fortran call to 'mpi_bcast' needs a status parameter at the end of the argument list. Also, I don't think 'MPI_INT' is correct for fortran, it should be 'MPI_INTEGER'. With these changes the program works OK. T. Rosmond On Fri, 2010-05-21 at 11:40 +0200, Pankatz, Klaus wrote: > Hi folks,

Re: [OMPI users] An error occured in MPI_Bcast; MPI_ERR_TYPE: invalid datatype

2010-05-21 Thread Eugene Loh
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

[OMPI users] An error occured in MPI_Bcast; MPI_ERR_TYPE: invalid datatype

2010-05-21 Thread Pankatz, Klaus
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