Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-orbit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Katerina Roukounaki
cloud-orbit
Commits
4d691332
Commit
4d691332
authored
Jan 14, 2015
by
Aggelos Giantsios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Amend the slaves list
parent
a8fb41f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
dist.py
dist.py
+4
-10
No files found.
dist.py
View file @
4d691332
...
@@ -16,15 +16,9 @@ iwps = [False, True]
...
@@ -16,15 +16,9 @@ iwps = [False, True]
cores
=
[
1
]
cores
=
[
1
]
workersPerCore
=
1
workersPerCore
=
1
master
=
{
"host"
:
"127.0.0.1"
,
"port"
:
5050
}
master
=
{
"host"
:
"127.0.0.1"
,
"port"
:
5050
}
slaves
=
[
{
"host"
:
"127.0.0.1"
,
"port"
:
5051
}
slaves
=
[]
,
{
"host"
:
"127.0.0.1"
,
"port"
:
5052
}
for
port
in
range
(
5051
,
5051
+
16
):
,
{
"host"
:
"127.0.0.1"
,
"port"
:
5053
}
slaves
.
append
({
"host"
:
"127.0.0.1"
,
"port"
:
port
})
,
{
"host"
:
"127.0.0.1"
,
"port"
:
5054
}
,
{
"host"
:
"127.0.0.1"
,
"port"
:
5055
}
,
{
"host"
:
"127.0.0.1"
,
"port"
:
5056
}
,
{
"host"
:
"127.0.0.1"
,
"port"
:
5057
}
,
{
"host"
:
"127.0.0.1"
,
"port"
:
5058
}
]
print_all
(
"Parallel Orbit"
)
print_all
(
"Parallel Orbit"
)
print_all
(
"----------------------------------------------------------------------"
)
print_all
(
"----------------------------------------------------------------------"
)
...
@@ -37,7 +31,7 @@ print_all("Master @ %s" % master)
...
@@ -37,7 +31,7 @@ print_all("Master @ %s" % master)
print_all
(
"Slaves @
%
s"
%
slaves
)
print_all
(
"Slaves @
%
s"
%
slaves
)
print_all
(
"======================================================================"
)
print_all
(
"======================================================================"
)
for
n
in
range
(
1
,
len
(
slaves
)
+
1
):
for
n
in
range
(
2
,
len
(
slaves
)
+
1
,
2
):
for
iwp
in
iwps
:
for
iwp
in
iwps
:
for
vsn
in
versions
:
for
vsn
in
versions
:
for
core
in
cores
:
for
core
in
cores
:
...
...
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