Re: [OMPI users] MPI_Allgather problem

2012-01-27 Thread Jeff Squyres
On Jan 27, 2012, at 5:12 AM, Brett Tully wrote: > Looking at the change log for 1.5.1 I see: > - Use memmove (instead of memcpy) when necessary (e.g., source and > destination overlap). Checking the logs, it looks like that fix was in 1.4.3, too. Do you know if your application has sends/receiv

Re: [OMPI users] MPI_Allgather problem

2012-01-27 Thread TERRY DONTJE
ompi_info should tell you the current version of Open MPI your path is pointing to. Are you sure your path is pointing to the area that the OpenFOAM package delivered Open MPI into? --td On 1/27/2012 5:02 AM, Brett Tully wrote: Interesting. In the same set of updates, I installed OpenFOAM from

Re: [OMPI users] MPI_Allgather problem

2012-01-27 Thread Brett Tully
Looking at the change log for 1.5.1 I see: - Use memmove (instead of memcpy) when necessary (e.g., source and destination overlap). It seems as though this might be a likely candidate for a change that might fix my problems if I am indeed using 1.5.3 following the installation of OpenFOAM? On Fri

Re: [OMPI users] MPI_Allgather problem

2012-01-27 Thread Brett Tully
Interesting. In the same set of updates, I installed OpenFOAM from their Ubuntu deb package and it claims to ship with openmpi. I just downloaded their Third-party source tar and unzipped it to see what version of openmpi they are using, and it is 1.5.3. However, when I do man openmpi, or ompi_info

Re: [OMPI users] MPI_Allgather problem

2012-01-26 Thread Jeff Squyres
What version did you upgrade to? (we don't control the Ubuntu packaging) I see a bullet in the soon-to-be-released 1.4.5 release notes: - Fix obscure cases where MPI_ALLGATHER could crash. Thanks to Andrew Senin for reporting the problem. But that would be surprising if this is what fixed yo

Re: [OMPI users] MPI_Allgather problem

2012-01-26 Thread Brett Tully
As of two days ago, this problem has disappeared and the tests that I had written and run each night are now passing. Having looked through the update log of my machine (Ubuntu 11.10) it appears as though I got a new version of mpi-default-dev (0.6ubuntu1). I would like to understand this problem i

Re: [OMPI users] MPI_Allgather problem

2011-12-13 Thread Brett Tully
Yes, your output is what I was expecting. Actually, your output is what I get if I compile the code I attached in my first email. However, our application is actually doing some 'smart' stuff when you dynamically allocate memory by putting headers around the memory block -- I am guessing that this

Re: [OMPI users] MPI_Allgather problem

2011-12-09 Thread teng ma
I guess your output is from different ranks. YOu can add rank infor inside print to tell like follows: (void) printf("rank %d: gathered[%d].node = %d\n", rank, i, gathered[i].node); >From my side, I did not see anything wrong from your code in Open MPI 1.4.3. after I add rank, the output is ran