Commit 66de3b3a authored by a-chmil's avatar a-chmil
Browse files

fixed mistyping

parent 08d5124f
......@@ -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')
......
......@@ -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;
......
......@@ -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);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment