Commit 795430eb authored by Neil McGlohon's avatar Neil McGlohon

Fix logging file closure

parent 0429f59c
......@@ -2949,14 +2949,15 @@ int modelnet_mpi_replay(MPI_Comm comm, int* argc, char*** argv )
}
tw_run();
fclose(workload_agg_log);
fclose(workload_meta_log);
if(enable_debug)
fclose(workload_log);
if(enable_msg_tracking)
if(enable_msg_tracking) {
fclose(msg_size_log);
fclose(workload_agg_log);
fclose(workload_meta_log);
}
long long total_bytes_sent, total_bytes_recvd;
double max_run_time, avg_run_time;
double max_comm_run_time, avg_comm_run_time;
......
Markdown is supported
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