Skip to content
Snippets Groups Projects
Commit 937e029b authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Commented-out i/o performance analysis code that should not exist in the master version.

parent be2a9028
No related branches found
No related tags found
1 merge request!460Improvements to i/o and parallel-i/o
...@@ -338,10 +338,9 @@ void writeArray_chunk(struct engine* e, hid_t h_data, hid_t h_plist_id, ...@@ -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 megaBytes = N * props.dimension * typeSize / (1024 * 1024); */
/* int total = 0; */ /* int total = 0; */
/* MPI_Reduce(&megaBytes, &total, 1, MPI_INT, MPI_SUM, 0, MPI_COMM_WORLD); */ /* MPI_Reduce(&megaBytes, &total, 1, MPI_INT, MPI_SUM, 0, MPI_COMM_WORLD); */
/* if (engine_rank == 0) */
if (engine_rank == 0) /* message("H5Dwrite for '%s' (%d MB) took %.3f %s (speed = %f MB/s).", */
message("H5Dwrite for '%s' (%d MB) took %.3f %s (speed = %f MB/s).", /* props.name, total, ms, clocks_getunit(), total / (ms / 1000.)); */
props.name, total, ms, clocks_getunit(), total / (ms / 1000.));
/* Free and close everything */ /* Free and close everything */
free(temp); free(temp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment