Re: [viff-devel] millionaires example does not work on three different machines
Thank you for your reply. My three machines do not share the homedir, so I did "python generate-config-files.py -n 3 IP1:9001 IP2:9002 IP3:9003" for each of the machines (that is, I have 9 ini files.) This time I did generate-config-files.py only on IP1 machine, and copied all ini files to the other two machines, but I still got the same problem. (I am doing without certificates using --no-ssl option) Have you tried it on the machines that do not share the homedir? Thank you. Kyung On Mon, Sep 27, 2010 at 6:24 AM, Sigurd Torkel Meldgaard wrote: > It might be because you are using the initfiles that are made for localhost > > if I do: > > [...@camel01:~/viff/apps]$ generate-config-files.py -n 3 camel01:9001 > camel02:9002 camel03:9003 > [...@camel01:~/viff/apps]$ generate-certificates.py player-1.ini > player-2.ini player-3.ini > [...@camel01:~/viff/apps]$ python millionaires.py player-1.ini > > And on the other machines (with a shared homedir) > > [...@camel02:~/viff/apps]$ python millionaires.py player-2.ini > [...@camel03:~/viff/apps]$ python millionaires.py player-3.ini > > Everything seems to work fine. > > Hope that helps > > /Sigurd > > On Mon, Sep 27, 2010 at 3:20 AM, Kyung-Wook Hwang > wrote: >> Hello, >> >> My name is Kyung Hwang, a Ph.D. candidate at Columbia University. >> >> I set up and tried to test VIFF's millionaires example. It works great >> when I ran it on a single linux machine. However, it does not work on >> three different machines. >> >> I am quite sure that all the three machines were correctly configured >> and they were actually connected to one another when I ran >> millionaires.py because they waited for all the three machines to >> start VIFF, and after they were all connected, each of them resumed >> its process and printed out its input information, for example, as >> follows (for player-1): "I am Millionaire 1 and I am worth 19 >> millions." >> >> However, that is it and it does not proceed any further, and it does >> not show the computation results which are supposed to be as follows: >> >> From poorest to richest: >> Millionaire 1 (19 millions) >> Millionaire 3 >> Millionaire 2 >> Synchronizing shutdown... done. >> Closing connections... done. >> Stopping reactor... done. >> >> >> It looked to me that each of those three players was trying to do the >> computation (or comparison) and somehow it kept waiting for the other >> players' shares or responses.. >> >> I looked at the bug report board, but I could not find related reports. >> >> Please take a look at this issue. I will look forward to hearing from you. >> >> Thank you. >> >> Kyung >> ___ >> viff-devel mailing list (http://viff.dk/) >> viff-devel@viff.dk >> http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk >> > ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
Re: [viff-devel] millionaires example does not work on three different machines
It might be because you are using the initfiles that are made for localhost if I do: [...@camel01:~/viff/apps]$ generate-config-files.py -n 3 camel01:9001 camel02:9002 camel03:9003 [...@camel01:~/viff/apps]$ generate-certificates.py player-1.ini player-2.ini player-3.ini [...@camel01:~/viff/apps]$ python millionaires.py player-1.ini And on the other machines (with a shared homedir) [...@camel02:~/viff/apps]$ python millionaires.py player-2.ini [...@camel03:~/viff/apps]$ python millionaires.py player-3.ini Everything seems to work fine. Hope that helps /Sigurd On Mon, Sep 27, 2010 at 3:20 AM, Kyung-Wook Hwang wrote: > Hello, > > My name is Kyung Hwang, a Ph.D. candidate at Columbia University. > > I set up and tried to test VIFF's millionaires example. It works great > when I ran it on a single linux machine. However, it does not work on > three different machines. > > I am quite sure that all the three machines were correctly configured > and they were actually connected to one another when I ran > millionaires.py because they waited for all the three machines to > start VIFF, and after they were all connected, each of them resumed > its process and printed out its input information, for example, as > follows (for player-1): "I am Millionaire 1 and I am worth 19 > millions." > > However, that is it and it does not proceed any further, and it does > not show the computation results which are supposed to be as follows: > > From poorest to richest: > Millionaire 1 (19 millions) > Millionaire 3 > Millionaire 2 > Synchronizing shutdown... done. > Closing connections... done. > Stopping reactor... done. > > > It looked to me that each of those three players was trying to do the > computation (or comparison) and somehow it kept waiting for the other > players' shares or responses.. > > I looked at the bug report board, but I could not find related reports. > > Please take a look at this issue. I will look forward to hearing from you. > > Thank you. > > Kyung > ___ > viff-devel mailing list (http://viff.dk/) > viff-devel@viff.dk > http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk > ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk
[viff-devel] millionaires example does not work on three different machines
Hello, My name is Kyung Hwang, a Ph.D. candidate at Columbia University. I set up and tried to test VIFF's millionaires example. It works great when I ran it on a single linux machine. However, it does not work on three different machines. I am quite sure that all the three machines were correctly configured and they were actually connected to one another when I ran millionaires.py because they waited for all the three machines to start VIFF, and after they were all connected, each of them resumed its process and printed out its input information, for example, as follows (for player-1): "I am Millionaire 1 and I am worth 19 millions." However, that is it and it does not proceed any further, and it does not show the computation results which are supposed to be as follows: >From poorest to richest: Millionaire 1 (19 millions) Millionaire 3 Millionaire 2 Synchronizing shutdown... done. Closing connections... done. Stopping reactor... done. It looked to me that each of those three players was trying to do the computation (or comparison) and somehow it kept waiting for the other players' shares or responses.. I looked at the bug report board, but I could not find related reports. Please take a look at this issue. I will look forward to hearing from you. Thank you. Kyung ___ viff-devel mailing list (http://viff.dk/) viff-devel@viff.dk http://lists.viff.dk/listinfo.cgi/viff-devel-viff.dk