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
e5d4e04e
Commit
e5d4e04e
authored
Nov 09, 2016
by
Matthieu Dorier
Browse files
modified model-net
parent
a0521d0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network-workloads/model-net-mpi-replay.c
View file @
e5d4e04e
...
...
@@ -1143,7 +1143,7 @@ void nw_test_init(nw_state* s, tw_lp* lp)
return
;
}
if
(
strcmp
(
workload_type
,
"dumpi"
)
==
0
||
strcmp
(
workload_type
,
"cortex"
)
==
0
){
if
(
strcmp
(
workload_type
,
"dumpi"
)
==
0
){
strcpy
(
params_d
.
file_name
,
file_name_of_job
[
lid
.
job
]);
params_d
.
num_net_traces
=
num_traces_of_job
[
lid
.
job
];
params
=
(
char
*
)
&
params_d
;
...
...
@@ -1151,14 +1151,13 @@ void nw_test_init(nw_state* s, tw_lp* lp)
s
->
local_rank
=
lid
.
rank
;
// printf("network LP nw id %d app id %d local rank %d generating events, lp gid is %ld \n", s->nw_id,
// s->app_id, s->local_rank, lp->gid);
}
#ifdef ENABLE_CORTEX
if
(
strcmp
(
workload_type
,
"cortex"
)
==
0
)
{
fprintf
(
stderr
,
"
\n\n
### Cortex Script is %s"
"
\n
### Cortex Class is %s
\n\n
"
,
cortex_file
,
cortex_class
);
strcpy
(
params_d
.
cortex_script
,
cortex_file
);
strcpy
(
params_d
.
cortex_class
,
cortex_class
);
}
#endif
}
wrkld_id
=
codes_workload_load
(
"dumpi-trace-workload"
,
params
,
s
->
app_id
,
s
->
local_rank
);
...
...
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