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
fd5d8ad2
Commit
fd5d8ad2
authored
Nov 29, 2016
by
Matthieu Dorier
Browse files
corrected some issues related to non-matching sizes
parent
2a74260a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/network-workloads/model-net-mpi-replay.c
View file @
fd5d8ad2
...
...
@@ -643,10 +643,12 @@ static int rm_matching_send(nw_state * ns,
int
index
=
0
;
qlist_for_each
(
ent
,
&
ns
->
arrival_queue
){
qi
=
qlist_entry
(
ent
,
mpi_msgs_queue
,
ql
);
if
((
qi
->
num_bytes
==
qitem
->
num_bytes
)
&&
(
qi
->
tag
==
qitem
->
tag
||
qitem
->
tag
==
-
1
)
if
(
//(qi->num_bytes == qitem->num_bytes) // it is not a requirement in MPI that the send and receive sizes match
// &&
(
qi
->
tag
==
qitem
->
tag
||
qitem
->
tag
==
-
1
)
&&
((
qi
->
source_rank
==
qitem
->
source_rank
)
||
qitem
->
source_rank
==
-
1
))
{
qitem
->
num_bytes
=
qi
->
num_bytes
;
matched
=
1
;
break
;
}
...
...
src/workload/methods/codes-dumpi-trace-nw-wrkld.c
View file @
fd5d8ad2
...
...
@@ -699,7 +699,7 @@ int dumpi_trace_nw_workload_load(const char* params, int app_id, int rank)
callbacks
.
on_recv_init
=
(
dumpi_recv_init_call
)
handleDUMPIIgnore
;
callbacks
.
on_start
=
(
dumpi_start_call
)
handleDUMPIIgnore
;
callbacks
.
on_startall
=
(
dumpi_startall_call
)
handleDUMPIIgnore
;
callbacks
.
on_sendrecv
=
(
dumpi_sendrecv_call
)
handleDUMPI
Ignore
;
callbacks
.
on_sendrecv
=
(
dumpi_sendrecv_call
)
handleDUMPI
Sendrecv
;
callbacks
.
on_sendrecv_replace
=
(
dumpi_sendrecv_replace_call
)
handleDUMPIIgnore
;
callbacks
.
on_type_contiguous
=
(
dumpi_type_contiguous_call
)
handleDUMPIIgnore
;
callbacks
.
on_barrier
=
(
dumpi_barrier_call
)
handleDUMPIIgnore
;
...
...
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