Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Request_free() and Cancel() with REQUEST_NULL
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2010-02-11 10:58:35


...and 1.5. :-)

On Feb 11, 2010, at 10:53 AM, George Bosilca wrote:

> This has been corrected on the trunk (https://svn.open-mpi.org/trac/ompi/changeset/20537). Unfortunately, the corresponding patch didn't make it into the 1.4.1. I'll create a ticket to push it into the 1.4.2.
>
> george.
>
> On Feb 11, 2010, at 10:15 , Lisandro Dalcin wrote:
>
> > Why Request_free() and Cancel() do not fail when REQUEST_NULL is
> > passed? Am I missing something?
> >
> > #include <mpi.h>
> >
> > int main(int argc, char *argv[])
> > {
> > MPI_Request req;
> > MPI_Init(&argc, &argv);
> > req = MPI_REQUEST_NULL;
> > MPI_Request_free(&req);
> > req = MPI_REQUEST_NULL;
> > MPI_Cancel(&req);
> > MPI_Finalize();
> > return 0;
> > }
> >
> >
> > PS: The code below was tested with 1.4.1
> >
> > --
> > Lisandro Dalcin
> > ---------------
> > Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
> > Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
> > Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
> > PTLC - Güemes 3450, (3000) Santa Fe, Argentina
> > Tel/Fax: +54-(0)342-451.1594
> >
> > _______________________________________________
> > devel mailing list
> > devel_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/