File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1650,9 +1650,9 @@ int ompi_osc_rdma_shared_query(
1650
1650
int actual_rank = rank ;
1651
1651
ompi_osc_rdma_module_t * module = GET_MODULE (win );
1652
1652
1653
- peer = ompi_osc_rdma_module_peer (module , actual_rank );
1653
+ peer = ompi_osc_module_get_peer (module , actual_rank );
1654
1654
if (NULL == peer ) {
1655
- return OMPI_ERR_BAD_PARAM ;
1655
+ return OMPI_ERR_NOT_SUPPORTED ;
1656
1656
}
1657
1657
1658
1658
/* currently only supported for allocated windows */
@@ -1667,7 +1667,7 @@ int ompi_osc_rdma_shared_query(
1667
1667
if (MPI_PROC_NULL == rank ) {
1668
1668
/* iterate until we find a rank that has a non-zero size */
1669
1669
for (int i = 0 ; i < ompi_comm_size (module -> comm ) ; ++ i ) {
1670
- peer = ompi_osc_rdma_module_peer (module , i );
1670
+ peer = ompi_osc_module_get_peer (module , i );
1671
1671
ompi_osc_rdma_peer_extended_t * ex_peer = (ompi_osc_rdma_peer_extended_t * ) peer ;
1672
1672
if (!ompi_osc_rdma_peer_local_base (peer )) {
1673
1673
continue ;
You can’t perform that action at this time.
0 commit comments