Skip to content

Commit 24cecf2

Browse files
committed
fix to call MPI_File_get_position_shared for MPI_File_iread_shared_c
1 parent 798e31d commit 24cecf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

darshan-runtime/lib/darshan-mpiio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2068,7 +2068,7 @@ int DARSHAN_DECL(MPI_File_iread_shared_c)(MPI_File fh, void * buf, MPI_Count cou
20682068

20692069
MAP_OR_FAIL(PMPI_File_iread_shared_c);
20702070

2071-
MPI_File_get_position(fh, &offset);
2071+
MPI_File_get_position_shared(fh, &offset);
20722072
tm1 = MPIIO_WTIME();
20732073
ret = __real_PMPI_File_iread_shared_c(fh, buf, count,
20742074
datatype, request);

0 commit comments

Comments
 (0)