Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
57
Issues
57
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
52c1c54a
Commit
52c1c54a
authored
Oct 03, 2018
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
soften error handling in lustre module
Fixes
#243
parent
b4377269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
darshan-lustre.c
darshan-runtime/lib/darshan-lustre.c
+10
-3
No files found.
darshan-runtime/lib/darshan-lustre.c
View file @
52c1c54a
...
...
@@ -242,9 +242,16 @@ static void lustre_shutdown(
{
rec_ref
=
darshan_lookup_record_ref
(
lustre_runtime
->
record_id_hash
,
&
shared_recs
[
i
],
sizeof
(
darshan_record_id
));
assert
(
rec_ref
);
rec_ref
->
record
->
base_rec
.
rank
=
-
1
;
/* As in other modules, it should not be possible to lose a
* record after we have already performed a collective to
* identify that it is shared with other ranks. We print an
* error msg and continue rather than asserting in this case,
* though, see #243.
*/
if
(
rec_ref
)
rec_ref
->
record
->
base_rec
.
rank
=
-
1
;
else
fprintf
(
stderr
,
"WARNING: unexpected condition in Darshan, possibly triggered by memory corruption. Darshan log may be incorrect.
\n
"
);
}
/* sort the array of files descending by rank so that we get all of the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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