On 27 August 2014 02:38, Jeff Squyres (jsquyres) <jsquy...@cisco.com> wrote:
> If you have reproducers, yes, that would be most helpful -- thanks.
>

OK, here you have something to start. To be fair, this is a reduction
with zero count. I have many other tests for reductions with zero
count that are failing.

Does Open MPI ban zero-count reduction calls, or any failure is actually a bug?

$ cat ireduce_scatter_block.c
#include <mpi.h>
int main(int argc, char *argv[])
{
  MPI_Request request;
  MPI_Init(&argc, &argv);
  MPI_Ireduce_scatter_block(NULL, NULL, 0, MPI_INT,
                            MPI_SUM, MPI_COMM_SELF, &request);
  MPI_Wait(&request, MPI_STATUS_IGNORE);
  MPI_Finalize();
  return 0;
}

$ mpicc ireduce_scatter_block.c
$ ./a.out
malloc debug: Request for 0 bytes (coll_libnbc_ireduce_scatter_block.c, 67)

Reply via email to