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
Xin Wang
codes-dev
Commits
e220ef21
Commit
e220ef21
authored
Jul 31, 2013
by
Philip Carns
Browse files
Kevin's configuration updates from CODES repo
parent
5bbe5fbc
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/models/networks/model-net/model-net.c
View file @
e220ef21
...
...
@@ -165,7 +165,7 @@ void model_net_add_lp_type(int net_id)
lp_type_register
(
"modelnet_simplenet"
,
model_net_get_lp_type
(
net_id
));
break
;
DEFAULT
:
default
:
{
printf
(
"
\n
Invalid net_id specified "
);
exit
(
-
1
);
...
...
tests/modelnet-test.c
View file @
e220ef21
...
...
@@ -156,7 +156,7 @@ int main(
{
printf
(
"
\n
Usage: mpirun <args> --sync=2/3 mapping_file_name.conf"
);
MPI_Finalize
();
return
;
return
0
;
}
MPI_Comm_rank
(
MPI_COMM_WORLD
,
&
rank
);
MPI_Comm_size
(
MPI_COMM_WORLD
,
&
nprocs
);
...
...
@@ -170,7 +170,9 @@ int main(
model_net_add_lp_type
(
net_id
);
svr_add_lp_type
();
codes_mapping_setup
(
argv
[
2
]);
configuration_load
(
argv
[
2
],
MPI_COMM_WORLD
,
&
config
);
codes_mapping_setup
();
g_tw_mapping
=
CUSTOM
;
g_tw_custom_initial_mapping
=&
codes_mapping_init
;
g_tw_custom_lp_global_to_local_map
=&
codes_mapping_to_lp
;
...
...
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