Re: [OMPI users] silent failure for large allgather

2019-08-11 Thread Jeff Hammond via users
On Tue, Aug 6, 2019 at 9:54 AM Emmanuel Thomé via users < users@lists.open-mpi.org> wrote: > Hi, > > In the attached program, the MPI_Allgather() call fails to communicate > all data (the amount it communicates wraps around at 4G...). I'm running > on an omnipath cluster (2018 hardware), openmpi

Re: [OMPI users] When is it save to free the buffer after MPI_Isend?

2019-08-11 Thread Jeff Hammond via users
The snippets suggest you were storing a reference to an object on the stack. Stack variables go out of scope when the function returns. Using a reference to them out-of-scope is illegal but often fails nondeterministically. Good compilers will issue a warning about this under the right conditions (