@@ -748,7 +748,7 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Allreduce_intra_composition_delta(const void
748748 MPI_Aint lb , true_extent , extent ;
749749 int num_offsets = MPIR_CVAR_ALLREDUCE_LOCAL_COPY_OFFSETS ;
750750 int local_copy_rank = MPIR_Comm_rank (comm_ptr -> node_comm );
751- int local_copy_offset = 0 ;
751+ MPI_Aint local_copy_offset = 0 ;
752752 int local_copy_group = 0 ;
753753 int shm_size_per_lead = MPIR_CVAR_ALLREDUCE_SHM_PER_LEADER ;
754754
@@ -804,8 +804,8 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Allreduce_intra_composition_delta(const void
804804 & chunk_size_floor , & chunk_size_ceil );
805805
806806 for (iter = 0 ; iter < num_chunks ; iter ++ ) {
807- int chunk_count = (iter == 0 ) ? chunk_size_floor : chunk_size_ceil ;
808- int per_leader_count = chunk_count / num_leads ;
807+ MPI_Aint chunk_count = (iter == 0 ) ? chunk_size_floor : chunk_size_ceil ;
808+ MPI_Aint per_leader_count = chunk_count / num_leads ;
809809 if (my_leader_rank == (num_leads - 1 )) {
810810 /* If chunk_count is not perfectly divisible by num_leaders. The last leader gets the
811811 * leftover count as well */
@@ -853,9 +853,9 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Allreduce_intra_composition_delta(const void
853853 * from shm_buffer of every leader into shm_buffer of leader 0 */
854854 if (MPIDI_COMM (comm_ptr , intra_node_leads_comm ) != NULL ) {
855855
856- int j ;
856+ MPI_Aint j ;
857857 MPI_Aint cache_tile_size , cache_chunk_count ;
858- int leader_offset = my_leader_rank * (chunk_count / num_leads ) * extent ;
858+ MPI_Aint leader_offset = my_leader_rank * (chunk_count / num_leads ) * extent ;
859859 cache_tile_size = MPIR_CVAR_ALLREDUCE_CACHE_PER_LEADER ;
860860 MPI_Aint cache_chunk_size_floor = 0 , cache_chunk_size_ceil = 0 ;
861861
@@ -1144,10 +1144,10 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Reduce_intra_composition_gamma(const void *se
11441144 * the data for ranks sitting on other nodes into a shared memory buffer. Next each rank participates
11451145 * as a leader in inter-node Alltoall */
11461146MPL_STATIC_INLINE_PREFIX int MPIDI_Alltoall_intra_composition_alpha (const void * sendbuf ,
1147- int sendcount ,
1147+ MPI_Aint sendcount ,
11481148 MPI_Datatype sendtype ,
11491149 void * recvbuf ,
1150- int recvcount ,
1150+ MPI_Aint recvcount ,
11511151 MPI_Datatype recvtype ,
11521152 MPIR_Comm * comm_ptr ,
11531153 int coll_attr )
@@ -1343,19 +1343,19 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_Alltoallw_intra_composition_alpha(const void
13431343}
13441344
13451345MPL_STATIC_INLINE_PREFIX int MPIDI_Allgather_intra_composition_alpha (const void * sendbuf ,
1346- int sendcount ,
1346+ MPI_Aint sendcount ,
13471347 MPI_Datatype sendtype ,
13481348 void * recvbuf ,
1349- int recvcount ,
1349+ MPI_Aint recvcount ,
13501350 MPI_Datatype recvtype ,
13511351 MPIR_Comm * comm_ptr ,
13521352 int coll_attr )
13531353{
13541354 int mpi_errno = MPI_SUCCESS ;
13551355 int node_comm_size = MPIR_Comm_size (comm_ptr -> node_comm );
13561356 int my_node_comm_rank = MPIR_Comm_rank (comm_ptr -> node_comm );
1357- MPI_Aint type_size , extent , true_extent , lb ;
1358- int is_contig , offset ;
1357+ MPI_Aint type_size , extent , true_extent , lb , offset ;
1358+ int is_contig ;
13591359
13601360 if (sendcount < 1 && sendbuf != MPI_IN_PLACE )
13611361 goto fn_exit ;
0 commit comments