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.ammend...@roma2.infn.it   // \
     Via della Ricerca Scientifica 1 - 00133 Roma             \\_/ //
__________________________________________  ''-.._.-''-.._.. -(||)(')
                                                              '''

Reply via email to