Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
2d2065cd
Commit
2d2065cd
authored
Jul 03, 2016
by
Misbah Mubarak
Browse files
adding message when there is early termination due to incomplete wait operation at MPI sim layer
parent
c05eb56e
Changes
2
Show whitespace changes
Inline
Side-by-side
src/network-workloads/model-net-mpi-replay.c
View file @
2d2065cd
...
...
@@ -1384,6 +1384,11 @@ void nw_test_finalize(nw_state* s, tw_lp* lp)
if
(
!
s
->
nw_id
)
written
=
sprintf
(
s
->
output_buf
,
"# Format <LP ID> <Terminal ID> <Total sends> <Total Recvs> <Bytes sent> <Bytes recvd> <Send time> <Comm. time> <Compute time>"
);
if
(
s
->
wait_op
)
{
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
;
...
...
src/networks/model-net/torus.c
View file @
2d2065cd
...
...
@@ -1430,7 +1430,8 @@ static void packet_arrive_rc(nodes_state * s,
N_finished_packets
--
;
s
->
finished_packets
--
;
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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment