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
AutoPerf
autoperf
Commits
7e0aa8d4
Commit
7e0aa8d4
authored
Mar 25, 2021
by
Shane Snyder
Browse files
remove version field from apmpi header
parent
d90b6875
Changes
4
Hide whitespace changes
Inline
Side-by-side
apmpi/darshan-apmpi-log-format.h
View file @
7e0aa8d4
...
...
@@ -238,7 +238,6 @@ struct darshan_apmpi_header_record
{
struct
darshan_base_record
base_rec
;
int64_t
magic
;
uint32_t
version
;
uint32_t
sync_flag
;
double
apmpi_f_variance_total_mpitime
;
double
apmpi_f_variance_total_mpisynctime
;
...
...
apmpi/lib/darshan-apmpi.c
View file @
7e0aa8d4
...
...
@@ -404,7 +404,6 @@ static void apmpi_runtime_initialize()
#else
apmpi_runtime
->
header_record
->
sync_flag
=
0
;
#endif
apmpi_runtime
->
header_record
->
version
=
APMPI_VER
;
}
apmpi_runtime
->
rec_id
=
darshan_core_gen_record_id
(
"APMPI"
);
//record name
...
...
apmpi/util/apmpi-backend.py
View file @
7e0aa8d4
...
...
@@ -19,7 +19,6 @@ struct darshan_apmpi_header_record
{
struct darshan_base_record base_rec;
int64_t magic;
uint32_t version;
uint32_t sync_flag;
double apmpi_f_variance_total_mpitime;
double apmpi_f_variance_total_mpisynctime;
...
...
@@ -56,7 +55,6 @@ def log_get_apmpi_record(log, mod_type, dtype='dict'):
rec
[
'rank'
]
=
hdr
[
0
].
base_rec
.
rank
rec
[
'magic'
]
=
hdr
[
0
].
magic
rec
[
'sync_flag'
]
=
hdr
[
0
].
sync_flag
rec
[
'version'
]
=
hdr
[
0
].
version
rec
[
'variance_total_mpitime'
]
=
hdr
[
0
].
apmpi_f_variance_total_mpitime
rec
[
'variance_total_mpisynctime'
]
=
hdr
[
0
].
apmpi_f_variance_total_mpisynctime
else
:
...
...
apmpi/util/darshan-apmpi-logutils.c
View file @
7e0aa8d4
...
...
@@ -134,7 +134,6 @@ static int darshan_log_get_apmpi_rec(darshan_fd fd, void** buf_p)
DARSHAN_BSWAP64
(
&
(
hdr_rec
->
base_rec
.
id
));
DARSHAN_BSWAP64
(
&
(
hdr_rec
->
base_rec
.
rank
));
DARSHAN_BSWAP64
(
&
(
hdr_rec
->
magic
));
DARSHAN_BSWAP32
(
&
(
hdr_rec
->
version
));
DARSHAN_BSWAP32
(
&
(
hdr_rec
->
sync_flag
));
DARSHAN_BSWAP64
(
&
(
hdr_rec
->
apmpi_f_variance_total_mpitime
));
DARSHAN_BSWAP64
(
&
(
hdr_rec
->
apmpi_f_variance_total_mpisynctime
));
...
...
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