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
SWIFT
SWIFTsim
Commits
937e029b
Commit
937e029b
authored
Nov 28, 2017
by
Matthieu Schaller
Browse files
Commented-out i/o performance analysis code that should not exist in the master version.
parent
be2a9028
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parallel_io.c
View file @
937e029b
...
...
@@ -338,10 +338,9 @@ void writeArray_chunk(struct engine* e, hid_t h_data, hid_t h_plist_id,
/* int megaBytes = N * props.dimension * typeSize / (1024 * 1024); */
/* int total = 0; */
/* MPI_Reduce(&megaBytes, &total, 1, MPI_INT, MPI_SUM, 0, MPI_COMM_WORLD); */
if
(
engine_rank
==
0
)
message
(
"H5Dwrite for '%s' (%d MB) took %.3f %s (speed = %f MB/s)."
,
props
.
name
,
total
,
ms
,
clocks_getunit
(),
total
/
(
ms
/
1000
.));
/* if (engine_rank == 0) */
/* message("H5Dwrite for '%s' (%d MB) took %.3f %s (speed = %f MB/s).", */
/* props.name, total, ms, clocks_getunit(), total / (ms / 1000.)); */
/* Free and close everything */
free
(
temp
);
...
...
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