@@ -844,7 +844,7 @@ int ADIOI_Build_agg_reqs(ADIO_File fd, int rw_type, int nprocs,
844844    {
845845	if  (client_comm_sz_arr [i ] >  0 )
846846	{
847- 	    MPI_Type_hindexed (client_ol_ct_arr [i ], client_blk_arr [i ],
847+ 	    MPI_Type_create_hindexed (client_ol_ct_arr [i ], client_blk_arr [i ],
848848			      client_disp_arr [i ], MPI_BYTE ,
849849			      & (client_comm_dtype_arr [i ]));
850850	    MPI_Type_commit (& (client_comm_dtype_arr [i ]));
@@ -863,7 +863,7 @@ int ADIOI_Build_agg_reqs(ADIO_File fd, int rw_type, int nprocs,
863863	if  (agg_ol_ct  ==  1 )
864864	    MPI_Type_contiguous  (agg_blk_arr [0 ], MPI_BYTE , agg_dtype_p );
865865	else  if  (agg_ol_ct  >  1 )
866- 	    MPI_Type_hindexed (agg_ol_ct , agg_blk_arr , agg_disp_arr , MPI_BYTE ,
866+ 	    MPI_Type_create_hindexed (agg_ol_ct , agg_blk_arr , agg_disp_arr , MPI_BYTE ,
867867			      agg_dtype_p );
868868
869869	MPI_Type_commit (agg_dtype_p );
@@ -1203,7 +1203,7 @@ int ADIOI_Build_client_reqs(ADIO_File fd,
12031203    {
12041204	if  (agg_comm_sz_arr [i ] >  0 )
12051205	{
1206- 	    MPI_Type_hindexed (agg_ol_ct_arr [i ], agg_blk_arr [i ],
1206+ 	    MPI_Type_create_hindexed (agg_ol_ct_arr [i ], agg_blk_arr [i ],
12071207                              agg_disp_arr [i ], MPI_BYTE ,
12081208                              & (agg_comm_dtype_arr [i ]));
12091209            MPI_Type_commit (& (agg_comm_dtype_arr [i ]));
@@ -2063,7 +2063,7 @@ int ADIOI_Build_client_req(ADIO_File fd,
20632063    /* Create the aggregator MPI_Datatype */ 
20642064    if  (agg_comm_sz  >  0 )
20652065    {
2066- 	MPI_Type_hindexed (agg_ol_ct , agg_blk_arr , agg_disp_arr , MPI_BYTE ,
2066+ 	MPI_Type_create_hindexed (agg_ol_ct , agg_blk_arr , agg_disp_arr , MPI_BYTE ,
20672067			  agg_comm_dtype_p );
20682068	MPI_Type_commit (agg_comm_dtype_p );
20692069    }
0 commit comments