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
ff9590ed
Commit
ff9590ed
authored
Sep 12, 2017
by
Misbah Mubarak
Browse files
fixing the next event issuance for mpi recv
parent
25ec49f2
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/network-workloads/model-net-mpi-replay.c
View file @
ff9590ed
...
...
@@ -1940,7 +1940,7 @@ void nw_test_event_handler(nw_state* s, tw_bf * bf, nw_message * m, tw_lp * lp)
m_callback
->
msg_type
=
MPI_SEND_ARRIVED_CB
;
m_callback
->
fwd
.
msg_send_time
=
tw_now
(
lp
)
-
m
->
fwd
.
sim_start_time
;
tw_event_send
(
e_callback
);
/* request id pending completion */
if
(
m
->
fwd
.
matched_req
>=
0
)
{
...
...
src/networks/model-net/dragonfly-custom.C
View file @
ff9590ed
...
...
@@ -2166,7 +2166,7 @@ void dragonfly_custom_router_final(router_state * s,
written
=
0
;
if
(
!
s
->
router_id
)
{
written
=
sprintf
(
s
->
output_buf
,
"# Format <LP ID> <Group ID> <Router ID> <
Busy time
per router port(s)>"
);
written
=
sprintf
(
s
->
output_buf
,
"# Format <LP ID> <Group ID> <Router ID> <
Link Traffic
per router port(s)>"
);
written
+=
sprintf
(
s
->
output_buf
+
written
,
"# Router ports in the order: %d green links, %d black links %d global channels
\n
"
,
p
->
num_router_cols
*
p
->
num_row_chans
,
p
->
num_router_rows
*
p
->
num_col_chans
,
p
->
num_global_channels
);
}
...
...
src/workload/methods/codes-dumpi-trace-nw-wrkld.c
View file @
ff9590ed
...
...
@@ -422,6 +422,7 @@ int handleDUMPIISend(const dumpi_isend *prm, uint16_t thread, const dumpi_time *
wrkld_per_rank
.
u
.
send
.
count
=
prm
->
count
;
wrkld_per_rank
.
u
.
send
.
data_type
=
prm
->
datatype
;
wrkld_per_rank
.
u
.
send
.
num_bytes
=
prm
->
count
*
get_num_bytes
(
myctx
,
prm
->
datatype
);
assert
(
wrkld_per_rank
.
u
.
send
.
num_bytes
>=
0
);
wrkld_per_rank
.
u
.
send
.
req_id
=
prm
->
request
;
wrkld_per_rank
.
u
.
send
.
dest_rank
=
prm
->
dest
;
...
...
@@ -506,6 +507,7 @@ int handleDUMPIRecv(const dumpi_recv *prm, uint16_t thread,
wrkld_per_rank
.
u
.
recv
.
data_type
=
prm
->
datatype
;
wrkld_per_rank
.
u
.
recv
.
num_bytes
=
prm
->
count
*
get_num_bytes
(
myctx
,
prm
->
datatype
);
assert
(
wrkld_per_rank
.
u
.
recv
.
num_bytes
>=
0
);
wrkld_per_rank
.
u
.
recv
.
req_id
=
-
1
;
wrkld_per_rank
.
u
.
recv
.
source_rank
=
prm
->
source
;
wrkld_per_rank
.
u
.
recv
.
dest_rank
=
-
1
;
...
...
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