@@ -136,7 +136,9 @@ int mca_coll_hcoll_allgatherv(const void *sbuf, int scount,
136136 hcoll_module -> previous_allgatherv_module );
137137 return rc ;
138138 }
139- rc = hcoll_collectives .coll_allgatherv ((void * )sbuf ,scount ,stype ,rbuf ,rcount ,displs ,rtype ,hcoll_module -> hcoll_context );
139+ rc = hcoll_collectives .coll_allgatherv ((void * )sbuf , scount , stype , rbuf ,
140+ (int * )rcount , (int * )displs , rtype ,
141+ hcoll_module -> hcoll_context );
140142 if (HCOLL_SUCCESS != rc ){
141143 HCOL_VERBOSE (20 ,"RUNNING FALLBACK ALLGATHERV" );
142144 rc = hcoll_module -> previous_allgatherv (sbuf ,scount ,sdtype ,
@@ -558,8 +560,9 @@ int mca_coll_hcoll_iallgatherv(const void *sbuf, int scount,
558560 hcoll_module -> previous_iallgatherv_module );
559561 return rc ;
560562 }
561- rc = hcoll_collectives .coll_iallgatherv ((void * )sbuf ,scount ,stype ,rbuf ,rcount ,displs ,rtype ,
562- hcoll_module -> hcoll_context , rt_handle );
563+ rc = hcoll_collectives .coll_iallgatherv ((void * )sbuf , scount , stype ,
564+ rbuf , (int * )rcount , (int * )displs , rtype ,
565+ hcoll_module -> hcoll_context , rt_handle );
563566 if (HCOLL_SUCCESS != rc ){
564567 HCOL_VERBOSE (20 ,"RUNNING FALLBACK NON-BLOCKING ALLGATHER" );
565568 rc = hcoll_module -> previous_iallgatherv (sbuf ,scount ,sdtype ,
@@ -724,9 +727,9 @@ int mca_coll_hcoll_igatherv(const void* sbuf, int scount,
724727
725728
726729#if HCOLL_API >= HCOLL_VERSION (3 ,7 )
727- int mca_coll_hcoll_ialltoallv (const void * sbuf , int * scounts , int * sdisps ,
730+ int mca_coll_hcoll_ialltoallv (const void * sbuf , const int * scounts , const int * sdisps ,
728731 struct ompi_datatype_t * sdtype ,
729- void * rbuf , int * rcounts , int * rdisps ,
732+ void * rbuf , const int * rcounts , const int * rdisps ,
730733 struct ompi_datatype_t * rdtype ,
731734 struct ompi_communicator_t * comm ,
732735 ompi_request_t * * request ,
0 commit comments