@@ -753,7 +753,7 @@ int DARSHAN_DECL(MPI_File_read_all_begin)(MPI_File fh, void * buf, int count, MP
753753
754754 MAP_OR_FAIL (PMPI_File_read_all_begin );
755755
756- MPI_File_get_position_shared (fh , & offset );
756+ MPI_File_get_position (fh , & offset );
757757 tm1 = MPIIO_WTIME ();
758758 ret = __real_PMPI_File_read_all_begin (fh , buf , count , datatype );
759759 tm2 = MPIIO_WTIME ();
@@ -779,7 +779,7 @@ int DARSHAN_DECL(MPI_File_write_all_begin)(MPI_File fh, void * buf, int count, M
779779
780780 MAP_OR_FAIL (PMPI_File_write_all_begin );
781781
782- MPI_File_get_position_shared (fh , & offset );
782+ MPI_File_get_position (fh , & offset );
783783
784784 tm1 = MPIIO_WTIME ();
785785 ret = __real_PMPI_File_write_all_begin (fh , buf , count , datatype );
@@ -916,7 +916,7 @@ int DARSHAN_DECL(MPI_File_iread)(MPI_File fh, void * buf, int count, MPI_Datatyp
916916
917917 MAP_OR_FAIL (PMPI_File_iread );
918918
919- MPI_File_get_position_shared (fh , & offset );
919+ MPI_File_get_position (fh , & offset );
920920 tm1 = MPIIO_WTIME ();
921921 ret = __real_PMPI_File_iread (fh , buf , count , datatype , request );
922922 tm2 = MPIIO_WTIME ();
@@ -938,7 +938,7 @@ int DARSHAN_DECL(MPI_File_iread_all)(MPI_File fh, void * buf, int count, MPI_Dat
938938
939939 MAP_OR_FAIL (PMPI_File_iread_all );
940940
941- MPI_File_get_position_shared (fh , & offset );
941+ MPI_File_get_position (fh , & offset );
942942 tm1 = MPIIO_WTIME ();
943943 ret = __real_PMPI_File_iread_all (fh , buf , count , datatype , request );
944944 tm2 = MPIIO_WTIME ();
0 commit comments