Abdelrahaman Aly
2013-08-06 16:30:20 UTC
Hi Guys!
Sorry bother you with something like this, but I was wondering whether
there is a ceiling on the number of nested operations you can perform on a
single variable i.e. (multiplications and comparisons). That is because
even though I manage to synchronize and shut down the runtime, my callback
function is never executed. Right now I'm working with some matrices and
executing something around 800 operations on the variable I'm trying to
open. SO I thought that might be the cause.
The following are the closing statements from my protocol. As I mentioned
the sync and the shutdown are executed without problems.. but the callback
function is never called and the process stays like in idle.
opened_result=runtime.open(F[0][1]+one)
opened_list = gather_shares([opened_result])
opened_list.addCallback(self.do_result)
#syncronization process, executed only one time during the hole
excecution
print 'sync starting'
runtime.schedule_callback(opened_list, lambda _:
runtime.synchronize())
print "done sync"
# connections between the players.
runtime.schedule_callback(opened_list, lambda _: runtime.shutdown())
print "done shutdown"
Any help would be gratly appreciated. Once again sorry bothering you guys
during summer.
Thanks in advance.
Abdelrahaman Aly
PhD Candidate - Engineering Sciences
U.C.L - C.O.R.E
Sorry bother you with something like this, but I was wondering whether
there is a ceiling on the number of nested operations you can perform on a
single variable i.e. (multiplications and comparisons). That is because
even though I manage to synchronize and shut down the runtime, my callback
function is never executed. Right now I'm working with some matrices and
executing something around 800 operations on the variable I'm trying to
open. SO I thought that might be the cause.
The following are the closing statements from my protocol. As I mentioned
the sync and the shutdown are executed without problems.. but the callback
function is never called and the process stays like in idle.
opened_result=runtime.open(F[0][1]+one)
opened_list = gather_shares([opened_result])
opened_list.addCallback(self.do_result)
#syncronization process, executed only one time during the hole
excecution
print 'sync starting'
runtime.schedule_callback(opened_list, lambda _:
runtime.synchronize())
print "done sync"
# connections between the players.
runtime.schedule_callback(opened_list, lambda _: runtime.shutdown())
print "done shutdown"
Any help would be gratly appreciated. Once again sorry bothering you guys
during summer.
Thanks in advance.
Abdelrahaman Aly
PhD Candidate - Engineering Sciences
U.C.L - C.O.R.E