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
Cristian Simarro
darshan
Commits
1c701eff
Commit
1c701eff
authored
Apr 01, 2015
by
Philip Carns
Browse files
mpi-io module works on file handles, not fds
parent
8a1f77e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/lib/darshan-mpiio.c
View file @
1c701eff
...
...
@@ -87,7 +87,7 @@ struct mpiio_runtime_file
struct
mpiio_runtime_file_ref
{
struct
mpiio_runtime_file
*
file
;
int
f
d
;
MPI_File
f
h
;
UT_hash_handle
hlink
;
};
...
...
@@ -98,7 +98,7 @@ struct mpiio_runtime
int
file_array_size
;
int
file_array_ndx
;
struct
mpiio_runtime_file
*
file_hash
;
struct
mpiio_runtime_file_ref
*
f
d
_hash
;
struct
mpiio_runtime_file_ref
*
f
h
_hash
;
void
*
red_buf
;
int
shared_rec_count
;
};
...
...
@@ -270,9 +270,9 @@ static void mpiio_shutdown()
{
struct
mpiio_runtime_file_ref
*
ref
,
*
tmp
;
HASH_ITER
(
hlink
,
mpiio_runtime
->
f
d
_hash
,
ref
,
tmp
)
HASH_ITER
(
hlink
,
mpiio_runtime
->
f
h
_hash
,
ref
,
tmp
)
{
HASH_DELETE
(
hlink
,
mpiio_runtime
->
f
d
_hash
,
ref
);
HASH_DELETE
(
hlink
,
mpiio_runtime
->
f
h
_hash
,
ref
);
free
(
ref
);
}
...
...
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