Skip to content

Commit 34b93a1

Browse files
committed
fcoll/two_phase: do not use removed function (MPI_Address)
Signed-off-by: Nathan Hjelm <[email protected]>
1 parent 783348e commit 34b93a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ompi/mca/fcoll/two_phase/fcoll_two_phase_file_read_all.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ static int two_phase_read_and_exch(mca_io_ompio_file_t *fh,
689689
}
690690
if (req_off < real_off + real_size) {
691691
count[i]++;
692-
PMPI_Address(read_buf+req_off-real_off,
692+
PMPI_Get_address(read_buf+req_off-real_off,
693693
&(others_req[i].mem_ptrs[j]));
694694

695695
send_size[i] += (int)(OMPIO_MIN(real_off + real_size - req_off,

ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ static int two_phase_exch_and_write(mca_io_ompio_file_t *fh,
781781
size,i,
782782
count[i]);
783783
#endif
784-
PMPI_Address(write_buf+req_off-off,
784+
PMPI_Get_address(write_buf+req_off-off,
785785
&(others_req[i].mem_ptrs[j]));
786786
#if DEBUG_ON
787787
printf("%d : mem_ptrs : %ld\n", fh->f_rank,

0 commit comments

Comments
 (0)