Re: [OMPI users] fortran and MPI_Barrier, not working?

2009-11-15 Thread Ricardo Reis
Olá Gus Álvaro would be a better name for me... Oh G Eterno! ;) On Sat, 14 Nov 2009, Gus Correa wrote: I think MPI doesn't ensure that the output will come ordered according to process rank, as in your expected output list. Even MPI_Barrier doesn't sync the output, I suppose. It sy

Re: [OMPI users] fortran and MPI_Barrier, not working?

2009-11-14 Thread Gus Correa
Alberto, digo, Alvaro, digo, Fernando, digo, Ricardo Reis ... Salve, oh pa'! I think MPI doesn't ensure that the output will come ordered according to process rank, as in your expected output list. Even MPI_Barrier doesn't sync the output, I suppose. It syncs only the communication among the pro

[OMPI users] fortran and MPI_Barrier, not working?

2009-11-14 Thread Ricardo Reis
Hi I'm testing this in a debian box, openmpi 1.3-2, compiled with gcc suite (all from packages). After compiling and running the code I'm baffled with the output, it seems MPI_Barrier is not working. Maybe it is such a basic error I'm doing that I can't figure it out... See the code below,