Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Peter-Bernd Otte
Workload Manager
Commits
6febf349
Commit
6febf349
authored
May 02, 2019
by
Peter-Bernd Otte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output.txt fixed dir
parent
dd93f591
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
wkmgr.py
wkmgr.py
+1
-1
No files found.
wkmgr.py
View file @
6febf349
...
...
@@ -76,7 +76,7 @@ if rank == 0:
print
(
"ToDo: "
+
worklist
[
i
])
print
(
"Wait for process..."
)
rec
=
comm
.
recv
(
tag
=
2
)
# get the rank of free worker
comm
.
send
({
"workstr"
:
args
.
execname
+
" "
+
args
.
inputdir
+
"/"
+
worklist
[
i
]
+
" "
+
outputdir
+
"/outfile.txt"
,
"jobid"
:
i
,
"outputdir"
:
outputdir
},
dest
=
rec
)
comm
.
send
({
"workstr"
:
args
.
execname
+
" "
+
args
.
inputdir
+
"/"
+
worklist
[
i
]
+
" "
+
outputdir
+
"/
"
+
str
(
i
)
+
"/
outfile.txt"
,
"jobid"
:
i
,
"outputdir"
:
outputdir
},
dest
=
rec
)
sleep
(
args
.
delay
/
1000
)
for
i
in
range
(
1
,
size
):
# End all workers by sending an empty task
comm
.
send
({
"workstr"
:
""
},
i
)
...
...
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