Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
ad1e90b5
Commit
ad1e90b5
authored
Jul 18, 2016
by
Noah
Browse files
Adding commit_f to slimfly synthetic workload to comply with new ROSS API
parent
f27745b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network-workloads/model-net-synthetic-slimfly.c
View file @
ad1e90b5
...
...
@@ -114,6 +114,7 @@ tw_lptype svr_lp = {
(
pre_run_f
)
NULL
,
(
event_f
)
svr_event
,
(
revent_f
)
svr_rev_event
,
(
commit_f
)
NULL
,
(
final_f
)
svr_finalize
,
(
map_f
)
codes_mapping
,
sizeof
(
svr_state
),
...
...
@@ -474,12 +475,12 @@ int main(
num_nodes
=
num_groups
*
num_routers_per_grp
*
num_servers_per_rep
;
num_nodes_per_grp
=
num_routers_per_grp
*
num_servers_per_rep
;
total_routers
=
num_routers_per_grp
*
num_routers_per_grp
*
2
;
printf
(
"before lpio
\n
"
);
if
(
lp_io_prepare
(
"modelnet-test"
,
LP_IO_UNIQ_SUFFIX
,
&
handle
,
MPI_COMM_WORLD
)
<
0
)
{
return
(
-
1
);
}
printf
(
"after lpio
\n
"
);
//WORST_CASE Initialization array
if
(
traffic
==
WORST_CASE
)
{
...
...
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