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
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment