Commit b82824c0 authored by Neil McGlohon's avatar Neil McGlohon

Fixup: move mapping context switch statement to correct scope

parent 66c3a27a
......@@ -2959,6 +2959,14 @@ int modelnet_mpi_replay(MPI_Comm comm, int* argc, char*** argv )
workload_meta_log = fopen("mpi-workload-meta-log", "w+");
if(!workload_agg_log || !workload_meta_log)
{
printf("\n Error logging MPI operations... quitting ");
MPI_Finalize();
return -1;
}
}
switch(map_ctxt)
{
case GROUP_RATIO:
......@@ -2978,14 +2986,6 @@ int modelnet_mpi_replay(MPI_Comm comm, int* argc, char*** argv )
break;
}
if(!workload_agg_log || !workload_meta_log)
{
printf("\n Error logging MPI operations... quitting ");
MPI_Finalize();
return -1;
}
}
if(enable_sampling)
model_net_enable_sampling(sampling_interval, sampling_end_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