Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
935f3eca
Commit
935f3eca
authored
May 11, 2018
by
Neil McGlohon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nearly working nonminleaf and progadaptive
parent
2d1aaa02
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
247 additions
and
460 deletions
+247
-460
src/network-workloads/model-net-synthetic-dfly-plus.c
src/network-workloads/model-net-synthetic-dfly-plus.c
+7
-1
src/networks/model-net/dragonfly-plus.C
src/networks/model-net/dragonfly-plus.C
+240
-459
No files found.
src/network-workloads/model-net-synthetic-dfly-plus.c
View file @
935f3eca
...
...
@@ -34,7 +34,7 @@ static char lp_io_dir[256] = {'\0'};
static
lp_io_handle
io_handle
;
static
unsigned
int
lp_io_use_suffix
=
0
;
static
int
do_lp_io
=
0
;
static
int
num_msgs
=
2
0
;
static
int
num_msgs
=
4
0
;
static
tw_stime
sampling_interval
=
800000
;
static
tw_stime
sampling_end_time
=
1600000
;
...
...
@@ -248,6 +248,12 @@ static void handle_kickoff_event(
int
rand_node_intra_id
=
tw_rand_integer
(
lp
->
rng
,
0
,
num_nodes_per_grp
-
1
);
local_dest
=
(
rand_group
*
num_nodes_per_grp
)
+
rand_node_intra_id
;
int
dest_group_calc
=
local_dest
/
num_nodes_per_grp
;
assert
(
rand_group
==
dest_group_calc
);
assert
(
rand_group
!=
my_group_id
);
assert
(
dest_group_calc
!=
my_group_id
);
// printf("\n LP %ld sending to %ld num nodes %d ", local_id, local_dest, num_nodes);
}
assert
(
local_dest
<
num_nodes
);
...
...
src/networks/model-net/dragonfly-plus.C
View file @
935f3eca
This diff is collapsed.
Click to expand it.
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