@@ -745,7 +745,7 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Allreduce_intra_composition_delta(const void
745745 MPI_Aint lb , true_extent , extent ;
746746 int num_offsets = MPIR_CVAR_ALLREDUCE_LOCAL_COPY_OFFSETS ;
747747 int local_copy_rank = MPIR_Comm_rank (comm_ptr -> node_comm );
748- int local_copy_offset = 0 ;
748+ MPI_Aint local_copy_offset = 0 ;
749749 int local_copy_group = 0 ;
750750 int shm_size_per_lead = MPIR_CVAR_ALLREDUCE_SHM_PER_LEADER ;
751751
@@ -801,8 +801,8 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Allreduce_intra_composition_delta(const void
801801 & chunk_size_floor , & chunk_size_ceil );
802802
803803 for (iter = 0 ; iter < num_chunks ; iter ++ ) {
804- int chunk_count = (iter == 0 ) ? chunk_size_floor : chunk_size_ceil ;
805- int per_leader_count = chunk_count / num_leads ;
804+ MPI_Aint chunk_count = (iter == 0 ) ? chunk_size_floor : chunk_size_ceil ;
805+ MPI_Aint per_leader_count = chunk_count / num_leads ;
806806 if (my_leader_rank == (num_leads - 1 )) {
807807 /* If chunk_count is not perfectly divisible by num_leaders. The last leader gets the
808808 * leftover count as well */
@@ -850,9 +850,9 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Allreduce_intra_composition_delta(const void
850850 * from shm_buffer of every leader into shm_buffer of leader 0 */
851851 if (MPIDI_COMM (comm_ptr , intra_node_leads_comm ) != NULL ) {
852852
853- int j ;
853+ MPI_Aint j ;
854854 MPI_Aint cache_tile_size , cache_chunk_count ;
855- int leader_offset = my_leader_rank * (chunk_count / num_leads ) * extent ;
855+ MPI_Aint leader_offset = my_leader_rank * (chunk_count / num_leads ) * extent ;
856856 cache_tile_size = MPIR_CVAR_ALLREDUCE_CACHE_PER_LEADER ;
857857 MPI_Aint cache_chunk_size_floor = 0 , cache_chunk_size_ceil = 0 ;
858858
@@ -1141,10 +1141,10 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Reduce_intra_composition_gamma(const void *se
11411141 * the data for ranks sitting on other nodes into a shared memory buffer. Next each rank participates
11421142 * as a leader in inter-node Alltoall */
11431143MPL_STATIC_INLINE_PREFIX int MPIDI_Alltoall_intra_composition_alpha (const void * sendbuf ,
1144- int sendcount ,
1144+ MPI_Aint sendcount ,
11451145 MPI_Datatype sendtype ,
11461146 void * recvbuf ,
1147- int recvcount ,
1147+ MPI_Aint recvcount ,
11481148 MPI_Datatype recvtype ,
11491149 MPIR_Comm * comm_ptr ,
11501150 int coll_attr )
@@ -1340,19 +1340,19 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Alltoallw_intra_composition_alpha(const void
13401340}
13411341
13421342MPL_STATIC_INLINE_PREFIX int MPIDI_Allgather_intra_composition_alpha (const void * sendbuf ,
1343- int sendcount ,
1343+ MPI_Aint sendcount ,
13441344 MPI_Datatype sendtype ,
13451345 void * recvbuf ,
1346- int recvcount ,
1346+ MPI_Aint recvcount ,
13471347 MPI_Datatype recvtype ,
13481348 MPIR_Comm * comm_ptr ,
13491349 int coll_attr )
13501350{
13511351 int mpi_errno = MPI_SUCCESS ;
13521352 int node_comm_size = MPIR_Comm_size (comm_ptr -> node_comm );
13531353 int my_node_comm_rank = MPIR_Comm_rank (comm_ptr -> node_comm );
1354- MPI_Aint type_size , extent , true_extent , lb ;
1355- int is_contig , offset ;
1354+ MPI_Aint type_size , extent , true_extent , lb , offset ;
1355+ int is_contig ;
13561356
13571357 if (sendcount < 1 && sendbuf != MPI_IN_PLACE )
13581358 goto fn_exit ;
0 commit comments