Re: [OMPI users] Program does not finish after MPI_Finalize()

2010-05-24 Thread Yves Caniou
Indeed, it's right. I work on a bigger program, but executions hanged most of the time. So I cut and cut and cut to finally obtain this. And it still hangs 2 times on 3 at least, and I don't know why. Le Monday 24 May 2010 14:48:43 Jeff Squyres, vous avez écrit : > Just to make sure I understand

Re: [OMPI users] Program does not finish after MPI_Finalize()

2010-05-24 Thread Jeff Squyres
Just to make sure I understand -- you're running the hello world app you pasted in an earlier email with just 1 MPI process on the local machine, and you're seeing hangs. Is that right? (there was a reference in a prior email to 2 different architectures -- that's why I'm clarifying) On May

Re: [OMPI users] Program does not finish after MPI_Finalize()

2010-05-24 Thread Yves Caniou
I rechecked, but didn't see anything wrong. Here is how I set my environment. Tkx. $>mpicc --v Using built-in specs. COLLECT_GCC=//home/p10015/gcc/bin/x86_64-unknown-linux-gnu-gcc-4.5.0 COLLECT_LTO_WRAPPER=/hsfs/home4/p10015/gcc/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.0/lto-wrapper Target:

Re: [OMPI users] Program does not finish after MPI_Finalize()

2010-05-24 Thread Ralph Castain
It looks to me like you are getting version confusion - your path and ld_library_path aren't pointing to the place where you installed 1.4.1 and you are either getting someone else's mpiexec or getting 1.2.x instead. Could also be that mpicc isn't the one from 1.4.1 either. Check to ensure that

[OMPI users] Program does not finish after MPI_Finalize()

2010-05-24 Thread Yves Caniou
Dear All, (follows a previous mail) I don't understand the strange behavior of this small code: sometimes it ends, sometimes not. The output of MPI_Finalized is 1 (for each processes if n>1), but the code doesn't end. I am forced to use Ctrl-C. I compiled it with the command line: "mpicc --std=