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
7e0566b7
Commit
7e0566b7
authored
Sep 03, 2015
by
Kevin Harms
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fixes after testing
parent
835e28d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
darshan-bgq.c
darshan-runtime/lib/darshan-bgq.c
+5
-5
darshan-bgq-logutils.c
darshan-util/darshan-bgq-logutils.c
+6
-6
No files found.
darshan-runtime/lib/darshan-bgq.c
View file @
7e0566b7
...
...
@@ -76,7 +76,7 @@ static void capture(struct darshan_bgq_record *rec)
rec
->
counters
[
BGQ_CSJOBID
]
=
Kernel_GetJobID
();
rec
->
counters
[
BGQ_RANKSPERNODE
]
=
Kernel_ProcessCount
();
rec
->
counters
[
BGQ_INODES
]
=
MPIX_IO_node
();
rec
->
counters
[
BGQ_INODES
]
=
MPIX_IO_node
_id
();
r
=
Kernel_GetPersonality
(
&
person
,
sizeof
(
person
));
if
(
r
==
0
)
...
...
@@ -193,8 +193,8 @@ static void bgq_begin_shutdown()
static
int
cmpr
(
const
void
*
p1
,
const
void
*
p2
)
{
const
int
*
a
=
(
in
t
*
)
p1
;
const
int
*
b
=
(
in
t
*
)
p2
;
const
uint64_t
*
a
=
(
uint64_
t
*
)
p1
;
const
uint64_t
*
b
=
(
uint64_
t
*
)
p2
;
return
((
*
a
==
*
b
)
?
0
:
((
*
a
<
*
b
)
?
-
1
:
1
));
}
...
...
@@ -230,10 +230,10 @@ static void bgq_get_output_data(
DARSHAN_MPI_CALL
(
MPI_Gather
)(
&
bgq_runtime
->
record
.
counters
[
BGQ_INODES
],
1
,
MPI_INT
,
MPI_
LONG_LONG_
INT
,
ion_ids
,
1
,
MPI_INT
,
MPI_
LONG_LONG_
INT
,
0
,
mod_comm
);
if
(
my_rank
==
0
)
...
...
darshan-util/darshan-bgq-logutils.c
View file @
7e0566b7
...
...
@@ -56,9 +56,9 @@ static int darshan_log_get_bgq_file(void** psx_buf_p, int* bytes_left,
/* swap bytes if necessary */
DARSHAN_BSWAP64
(
&
file
->
f_id
);
DARSHAN_BSWAP64
(
&
file
->
rank
);
for
(
i
=
0
;
i
<
POSIX
_NUM_INDICES
;
i
++
)
for
(
i
=
0
;
i
<
BGQ
_NUM_INDICES
;
i
++
)
DARSHAN_BSWAP64
(
&
file
->
counters
[
i
]);
for
(
i
=
0
;
i
<
POSIX
_F_NUM_INDICES
;
i
++
)
for
(
i
=
0
;
i
<
BGQ
_F_NUM_INDICES
;
i
++
)
DARSHAN_BSWAP64
(
&
file
->
fcounters
[
i
]);
}
...
...
@@ -78,16 +78,16 @@ static void darshan_log_print_bgq_file(void *file_rec, char *file_name,
struct
darshan_bgq_record
*
bgq_file_rec
=
(
struct
darshan_bgq_record
*
)
file_rec
;
for
(
i
=
0
;
i
<
POSIX
_NUM_INDICES
;
i
++
)
for
(
i
=
0
;
i
<
BGQ
_NUM_INDICES
;
i
++
)
{
DARSHAN_COUNTER_PRINT
(
darshan_module_names
[
DARSHAN_
POSIX
_MOD
],
DARSHAN_COUNTER_PRINT
(
darshan_module_names
[
DARSHAN_
BGQ
_MOD
],
bgq_file_rec
->
rank
,
bgq_file_rec
->
f_id
,
bgq_counter_names
[
i
],
bgq_file_rec
->
counters
[
i
],
file_name
,
mnt_pt
,
fs_type
);
}
for
(
i
=
0
;
i
<
POSIX
_F_NUM_INDICES
;
i
++
)
for
(
i
=
0
;
i
<
BGQ
_F_NUM_INDICES
;
i
++
)
{
DARSHAN_F_COUNTER_PRINT
(
darshan_module_names
[
DARSHAN_
POSIX
_MOD
],
DARSHAN_F_COUNTER_PRINT
(
darshan_module_names
[
DARSHAN_
BGQ
_MOD
],
bgq_file_rec
->
rank
,
bgq_file_rec
->
f_id
,
bgq_f_counter_names
[
i
],
bgq_file_rec
->
fcounters
[
i
],
file_name
,
mnt_pt
,
fs_type
);
}
...
...
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