Re: [OMPI users] Sending large boradcasts

2011-01-04 Thread Brock Palen
On Jan 4, 2011, at 8:34 AM, Jeff Squyres wrote: > On Jan 3, 2011, at 5:14 PM, David Singleton wrote: > >> That message should only be 2MB. Are you sure its not a mismatch of >> message lengths in MPI_Bcast calls? > > +1 -- this is MB, not GB. The error message implies that one (or more?) MPI

Re: [OMPI users] Sending large boradcasts

2011-01-04 Thread Jeff Squyres
On Jan 3, 2011, at 5:14 PM, David Singleton wrote: > That message should only be 2MB. Are you sure its not a mismatch of > message lengths in MPI_Bcast calls? +1 -- this is MB, not GB. The error message implies that one (or more?) MPI processes provided a size that was too small to receive. O

Re: [OMPI users] Sending large boradcasts

2011-01-03 Thread David Singleton
Hi Brock, That message should only be 2MB. Are you sure its not a mismatch of message lengths in MPI_Bcast calls? David On 01/04/2011 03:47 AM, Brock Palen wrote: I have a user who reports that sending a broadcast of 540*1080 of reals (just over 2GB) fails with this: *** An error occurred

Re: [OMPI users] Sending large boradcasts

2011-01-03 Thread Gustavo Correa
Hi Brock He's probably hitting the MPI address boundary of 2GB. A workaround is to declare a user defined type (MPI_TYPE_CONTIGUOUS, or MPI_TYPE_VECTOR), to bundle a bunch of primitive data (e.g. reals), then send (broadcast for him/her) a smaller number of those types. See this thread: http://