Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] bug in MCA_PML_OB1_RECV_REQUEST_UNPACK()
From: George Bosilca (bosilca_at_[hidden])
Date: 2009-05-27 12:12:54


You're absolutely right. The patch is already in the trunk (commit
r21300), and will be in the next release.

   Thanks,
     george.

On May 27, 2009, at 11:55 , Roberto Ammendola wrote:

>
> Dear all,
> i think i found a bug in the ob1 level, while using a multi-segment
> frag
> on receive side. I found that the unpack function add the offset of
> the
> mca_pml_ob1_frag_hdr_t header in every segment, while only the first
> one
> should have. Is that correct?
> That's the very simple correction:
>
> --- ompi/mca/pml/ob1/pml_ob1_recvreq.h (revision 21297)
> +++ ompi/mca/pml/ob1/pml_ob1_recvreq.h (working copy)
> @@ -263,6 +263,7 @@
> iov[iov_count].iov_base = (IOVBASE_TYPE*)
> \
> ((unsigned char*)segment->seg_addr.pval + offset);
> \
> iov_count++;
> \
> + offset = 0;
> \
> }
> \
> }
> \
> PERUSE_TRACE_COMM_OMPI_EVENT (PERUSE_COMM_REQ_XFER_CONTINUE,
> \
>
>
> greetings
> roberto
>
> --
> ______________________________________________________________________
>
> Roberto Ammendola INFN - Roma II - APE group
> tel: +39-0672594504 email: roberto.ammendola_at_[hidden] // \
> Via della Ricerca Scientifica 1 - 00133 Roma \\_/ //
> __________________________________________ ''-.._.-''-.._.. -(||)(')
> '''
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel