Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Damir Mustafin
lo3
Commits
66de3b3a
Commit
66de3b3a
authored
Jan 30, 2020
by
a-chmil
Browse files
fixed mistyping
parent
08d5124f
Changes
3
Hide whitespace changes
Inline
Side-by-side
scripts/luna
View file @
66de3b3a
...
...
@@ -688,7 +688,7 @@ def main():
cmd
=
[
os
.
path
.
join
(
conf
[
'LUNA_HOME'
],
'bin'
,
rts
),
os
.
path
.
join
(
conf
[
'BUILD_DIR'
],
'libucodes.so'
)]
+
conf
[
'ARGV'
]
if
conf
[
'BALANCE'
]:
cmd
+=
'
-b
'
cmd
+=
'-b'
env
=
dict
(
os
.
environ
)
env
[
'LD_LIBRARY_PATH'
]
=
env
.
get
(
'LD_LIBRARY_PATH'
,
''
)
\
+
':'
+
os
.
path
.
join
(
conf
[
'LUNA_HOME'
],
'lib'
)
...
...
src/rts/config.cpp
View file @
66de3b3a
...
...
@@ -16,7 +16,7 @@ Config::Config(int argc, char **argv)
while
(
i
<
argc
)
{
std
::
string
arg
(
argv
[
i
]);
if
(
mode
==
UNSET
)
{
if
(
mode
_
==
UNSET
)
{
if
(
arg
==
"--help"
)
{
mode_
=
HELP
;
break
;
...
...
src/rts/rts.cpp
View file @
66de3b3a
...
...
@@ -328,9 +328,9 @@ void RTS::steal_req(int tag, unsigned int proc_count)
if
(
comm_
->
size
()
-
1
>=
proc_count
)
{
comm_
->
bcast
(
tag
);
}
else
{
int
rank
=
comm_
->
rank
;
int
rank
=
comm_
->
rank
()
;
for
(
int
i
=
0
;
i
<
proc_count
;
i
++
)
{
comm_
->
send
((
i
+
rank
)
%
size
(),
tag
,
nullptr
,
0
);
comm_
->
send
((
i
+
rank
)
%
comm_
->
size
(),
tag
,
nullptr
,
0
);
}
}
}
...
...
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