GitLab maintenance scheduled for Today, 2020-02-27, from 17:00 to 18:00 CT - Services will be unavailable during this time.

Commit 2d2065cd authored by Misbah Mubarak's avatar Misbah Mubarak

adding message when there is early termination due to incomplete wait operation at MPI sim layer

parent c05eb56e
......@@ -1384,6 +1384,11 @@ void nw_test_finalize(nw_state* s, tw_lp* lp)
written = sprintf(s->output_buf, "# Format <LP ID> <Terminal ID> <Total sends> <Total Recvs> <Bytes sent> <Bytes recvd> <Send time> <Comm. time> <Compute time>");
printf("\n Incomplete wait operation Rank %ld ", s->nw_id);
print_waiting_reqs(s->wait_op->req_ids, s->wait_op->count);
if(alloc_spec == 1)
struct codes_jobmap_id lid;
......@@ -1430,7 +1430,8 @@ static void packet_arrive_rc(nodes_state * s,
total_time = msg->saved_total_time;
//total_time = msg->saved_total_time;
total_time -= (tw_now(lp) - msg->travel_start_time);
total_hops -= msg->my_N_hop;
s->total_hops -= msg->my_N_hop;
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