Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shane Snyder
darshan
Commits
f18d0c3f
Commit
f18d0c3f
authored
Apr 06, 2015
by
Philip Carns
Browse files
fix missing rank in mpiio module
parent
37d58849
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/lib/darshan-mpiio.c
View file @
f18d0c3f
...
...
@@ -156,6 +156,7 @@ int MPI_File_open(MPI_Comm comm, char *filename, int amode, MPI_Info info, MPI_F
file
=
mpiio_file_by_name_setfh
(
filename
,
fh
);
if
(
file
)
{
file
->
file_record
->
rank
=
my_rank
;
DARSHAN_COUNTER_F_INC_NO_OVERLAP
(
file
->
file_record
,
tm1
,
tm2
,
file
->
last_mpi_meta_end
,
DARSHAN_MPIIO_F_META_TIME
);
if
(
DARSHAN_COUNTER_F_VALUE
(
file
->
file_record
,
DARSHAN_MPIIO_F_OPEN_TIMESTAMP
)
==
0
)
DARSHAN_COUNTER_F_SET
(
file
->
file_record
,
DARSHAN_MPIIO_F_OPEN_TIMESTAMP
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment