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 (compil

[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 probl

Re: [OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output

2010-05-11 Thread Pankatz, Klaus
printf("not using Open MPI\n"); #endif into your source code. Pankatz, Klaus wrote: > Allright, I've ran a mpirun -np 4 env. And I see OMPI_COMM_WORLD_RANK > 0 to 3. So far so good. > OMPI_COMM_WORLD_SIZE=4 everytime, I think thats correct. > OMP

Re: [OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output

2010-04-29 Thread Pankatz, Klaus
n you reconfigure it? If you can, you could run it with -mca ess_base_verbose 5 to see if it is picking up the correct modules. It really looks like your application was built with an older version, or compiled against something like mpich. On Apr 23, 2010, at 8:54 AM, Pankatz, Klaus wrote: Al

Re: [OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output

2010-04-23 Thread Pankatz, Klaus
ou do an "mpirun -np 4 env" you should seeOMPI_COMM_WORLD_RANK range 0 thru 3. I am curious if you even see OMPI_* env-vars and if you do is this one 0 for all procs? --td Pankatz, Klaus wrote: Yeah, I sure that I use the right mpirun. which mpirun leads to /usr/users/pankatz/OPE

Re: [OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output

2010-04-23 Thread Pankatz, Klaus
are using the right mpirun? --td Pankatz, Klaus wrote: Yes, I did that. It ist basically the same problem with a Fortran version of this little program. With that I used the mpif90 command of openMPI. Von: users-boun...@open-mpi.org<mailto:users-b

Re: [OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output

2010-04-23 Thread Pankatz, Klaus
-marburg.de] Gesendet: Freitag, 23. April 2010 14:15 An: Open MPI Users Betreff: Re: [OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output Hi, Am 23.04.2010 um 14:06 schrieb Pankatz, Klaus: > Hi all, > > there's a problem with openMPI

[OMPI users] mpirun -np 4 hello_world; on a eight processor shared memory machine produces wrong output

2010-04-23 Thread Pankatz, Klaus
Hi all, there's a problem with openMPI on my machine. When I simply try to run this little hello_world-program on multiple processors, the output isn't as expected: * C code: #include #include #include int main(int argc, char **argv) { int size,rank; char hostname[50]; MPI_Init(&a