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
darshan
darshan
Commits
49ebb1b4
Commit
49ebb1b4
authored
Aug 17, 2016
by
Shane Snyder
Browse files
make sure to write records in current version
parent
d4dc84f4
Changes
8
Hide whitespace changes
Inline
Side-by-side
darshan-util/darshan-bgq-logutils.c
View file @
49ebb1b4
...
...
@@ -120,7 +120,7 @@ static int darshan_log_put_bgq_rec(darshan_fd fd, void* bgq_buf, int ver)
int
ret
;
ret
=
darshan_log_put_mod
(
fd
,
DARSHAN_BGQ_MOD
,
rec
,
sizeof
(
struct
darshan_bgq_record
),
ver
);
sizeof
(
struct
darshan_bgq_record
),
DARSHAN_BGQ_VER
);
if
(
ret
<
0
)
return
(
-
1
);
...
...
darshan-util/darshan-hdf5-logutils.c
View file @
49ebb1b4
...
...
@@ -85,7 +85,7 @@ static int darshan_log_put_hdf5_file(darshan_fd fd, void* hdf5_buf, int ver)
int
ret
;
ret
=
darshan_log_put_mod
(
fd
,
DARSHAN_HDF5_MOD
,
file
,
sizeof
(
struct
darshan_hdf5_file
),
ver
);
sizeof
(
struct
darshan_hdf5_file
),
DARSHAN_HDF5_VER
);
if
(
ret
<
0
)
return
(
-
1
);
...
...
darshan-util/darshan-lustre-logutils.c
View file @
49ebb1b4
...
...
@@ -94,7 +94,7 @@ static int darshan_log_put_lustre_record(darshan_fd fd, void* lustre_buf, int ve
int
ret
;
ret
=
darshan_log_put_mod
(
fd
,
DARSHAN_LUSTRE_MOD
,
rec
,
LUSTRE_RECORD_SIZE
(
rec
->
counters
[
LUSTRE_STRIPE_WIDTH
]),
ver
);
LUSTRE_RECORD_SIZE
(
rec
->
counters
[
LUSTRE_STRIPE_WIDTH
]),
DARSHAN_LUSTRE_VER
);
if
(
ret
<
0
)
return
(
-
1
);
...
...
darshan-util/darshan-mpiio-logutils.c
View file @
49ebb1b4
...
...
@@ -85,7 +85,7 @@ static int darshan_log_put_mpiio_file(darshan_fd fd, void* mpiio_buf, int ver)
int
ret
;
ret
=
darshan_log_put_mod
(
fd
,
DARSHAN_MPIIO_MOD
,
file
,
sizeof
(
struct
darshan_mpiio_file
),
ver
);
sizeof
(
struct
darshan_mpiio_file
),
DARSHAN_MPIIO_VER
);
if
(
ret
<
0
)
return
(
-
1
);
...
...
darshan-util/darshan-null-logutils.c
View file @
49ebb1b4
...
...
@@ -102,7 +102,7 @@ static int darshan_log_put_null_record(darshan_fd fd, void* null_buf, int ver)
/* append NULL record to darshan log file */
ret
=
darshan_log_put_mod
(
fd
,
DARSHAN_NULL_MOD
,
rec
,
sizeof
(
struct
darshan_null_record
),
ver
);
sizeof
(
struct
darshan_null_record
),
DARSHAN_NULL_VER
);
if
(
ret
<
0
)
return
(
-
1
);
...
...
darshan-util/darshan-pnetcdf-logutils.c
View file @
49ebb1b4
...
...
@@ -85,7 +85,7 @@ static int darshan_log_put_pnetcdf_file(darshan_fd fd, void* pnetcdf_buf, int ve
int
ret
;
ret
=
darshan_log_put_mod
(
fd
,
DARSHAN_PNETCDF_MOD
,
file
,
sizeof
(
struct
darshan_pnetcdf_file
),
ver
);
sizeof
(
struct
darshan_pnetcdf_file
),
DARSHAN_PNETCDF_VER
);
if
(
ret
<
0
)
return
(
-
1
);
...
...
darshan-util/darshan-posix-logutils.c
View file @
49ebb1b4
...
...
@@ -120,7 +120,7 @@ static int darshan_log_put_posix_file(darshan_fd fd, void* posix_buf, int ver)
int
ret
;
ret
=
darshan_log_put_mod
(
fd
,
DARSHAN_POSIX_MOD
,
file
,
sizeof
(
struct
darshan_posix_file
),
ver
);
sizeof
(
struct
darshan_posix_file
),
DARSHAN_POSIX_VER
);
if
(
ret
<
0
)
return
(
-
1
);
...
...
darshan-util/darshan-stdio-logutils.c
View file @
49ebb1b4
...
...
@@ -99,7 +99,7 @@ static int darshan_log_put_stdio_record(darshan_fd fd, void* stdio_buf, int ver)
/* append STDIO record to darshan log file */
ret
=
darshan_log_put_mod
(
fd
,
DARSHAN_STDIO_MOD
,
rec
,
sizeof
(
struct
darshan_stdio_file
),
ver
);
sizeof
(
struct
darshan_stdio_file
),
DARSHAN_STDIO_VER
);
if
(
ret
<
0
)
return
(
-
1
);
...
...
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