@@ -409,9 +409,9 @@ bcast_kary_tree_top(void *buff, int count,
409409 */
410410
411411 if (rank != root ) {
412- ack_thr = segment_nb ;
412+ trig_thr = segment_nb ;
413413 if (is_sync ) {
414- if ((ret = PtlCTWait (request -> u .bcast .trig_ct_h , ack_thr , & ct )) != 0 ) {
414+ if ((ret = PtlCTWait (request -> u .bcast .trig_ct_h , trig_thr , & ct )) != 0 ) {
415415 opal_stderr ("PtlCTWait failed" , __FILE__ , __LINE__ , ret );
416416 }
417417 }
@@ -421,7 +421,7 @@ bcast_kary_tree_top(void *buff, int count,
421421 mca_coll_portals4_component .finish_pt_idx ,
422422 0 , 0 , NULL , (uintptr_t ) request ,
423423 request -> u .bcast .trig_ct_h ,
424- ack_thr )) != 0 ) {
424+ trig_thr )) != 0 ) {
425425 return opal_stderr ("PtlTriggeredPut failed" , __FILE__ , __LINE__ , ret );
426426 }
427427
@@ -696,8 +696,9 @@ bcast_pipeline_top(void *buff, int count,
696696 */
697697
698698 if (rank != root ) {
699+ trig_thr = segment_nb ;
699700 if (is_sync ) {
700- if ((ret = PtlCTWait (request -> u .bcast .trig_ct_h , segment_nb , & ct )) != 0 ) {
701+ if ((ret = PtlCTWait (request -> u .bcast .trig_ct_h , trig_thr , & ct )) != 0 ) {
701702 opal_stderr ("PtlCTWait failed" , __FILE__ , __LINE__ , ret );
702703 }
703704 }
@@ -707,7 +708,7 @@ bcast_pipeline_top(void *buff, int count,
707708 mca_coll_portals4_component .finish_pt_idx ,
708709 0 , 0 , NULL , (uintptr_t ) request ,
709710 request -> u .bcast .trig_ct_h ,
710- segment_nb )) != 0 ) {
711+ trig_thr )) != 0 ) {
711712 return opal_stderr ("PtlTriggeredPut failed" , __FILE__ , __LINE__ , ret );
712713 }
713714 }
@@ -831,7 +832,7 @@ ompi_coll_portals4_ibcast_intra(void *buff, int count,
831832 return OMPI_ERROR ;
832833 }
833834
834- puts ( "ibcast " );
835+ opal_output_verbose ( 10 , ompi_coll_base_framework . framework_output , "ibcast_intra " );
835836 return (OMPI_SUCCESS );
836837}
837838
@@ -860,5 +861,6 @@ ompi_coll_portals4_ibcast_intra_fini(ompi_coll_portals4_request_t *request)
860861 ompi_request_complete (& request -> super , true);
861862 OPAL_THREAD_UNLOCK (& ompi_request_lock );
862863
864+ opal_output_verbose (10 , ompi_coll_base_framework .framework_output , "ibcast_intra_fini" );
863865 return (OMPI_SUCCESS );
864866}
0 commit comments