Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
2d2065cd
Commit
2d2065cd
authored
Jul 03, 2016
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding message when there is early termination due to incomplete wait operation at MPI sim layer
parent
c05eb56e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/network-workloads/model-net-mpi-replay.c
src/network-workloads/model-net-mpi-replay.c
+5
-0
src/networks/model-net/torus.c
src/networks/model-net/torus.c
+2
-1
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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