Lisandro,

i fixed it on master at https://github.com/open-mpi/ompi/commit/318a1a40a4ab345f417b8932326d4dd2e68d82bc

could you git it a try ?

Cheers,

Gilles

On 7/26/2015 9:26 AM, Gilles Gouaillardet wrote:
Lisandro,

I think I see what is going wrong and will fix it

Thanks for the report,

Gilles

On Saturday, July 25, 2015, Lisandro Dalcin <dalc...@gmail.com <mailto:dalc...@gmail.com>> wrote:

    Using a debug build of 1.8.7, I'm still getting this malloc(0)
    warning:

    malloc debug: Request for 0 bytes
    (coll_libnbc_ireduce_scatter_block.c, 67)

    The simple code below should reproduce it:

    $ 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
    $ mpiexec -n 1 ./a.out
    malloc debug: Request for 0 bytes
    (coll_libnbc_ireduce_scatter_block.c, 67)


    --
    Lisandro Dalcin
    ============
    Research Scientist
    Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
    Numerical Porous Media Center (NumPor)
    King Abdullah University of Science and Technology (KAUST)
    http://numpor.kaust.edu.sa/

    4700 King Abdullah University of Science and Technology
    al-Khawarizmi Bldg (Bldg 1), Office # 4332
    Thuwal 23955-6900, Kingdom of Saudi Arabia
    http://www.kaust.edu.sa

    Office Phone: +966 12 808-0459
    _______________________________________________
    devel mailing list
    de...@open-mpi.org <javascript:;>
    Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
    Link to this post:
    http://www.open-mpi.org/community/lists/devel/2015/07/17696.php



_______________________________________________
devel mailing list
de...@open-mpi.org
Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
Link to this post: 
http://www.open-mpi.org/community/lists/devel/2015/07/17711.php

Reply via email to