Closed Lucieno closed 5 years ago
Regarding the Millionaire's Problem: Try to start server and client in the same second. E.g. with
./bin/millionaire_prob_test -r 0 &; ./bin/millionaire_prob_test -r 1
Then, both parties should have the same values, since the RNG is seeded with time(NULL)
.
How I compile:
cmake .. -DABY_BUILD_EXE=On
Version no.commit e237e648fc008994adb02ebfd3701aa310ceadcd
How I run: Server
./bin/bench_operations -r 0
Client./bin/bench_operations -r 1
And they are on the same machine but different terminals.Error messages:
Almost all the results on both server and client side are wrong.
Also, millionaire_prob_test has produce wrong results. Server:
Client:
I ran the same commands on two different machines and repaeted them many times. One of machine is running on CentOS 7 (with gcc-8 and cmake 3.12.1) and the other on Ubuntu 16.04 (with gcc-8 and cmake 3.12.1), so it is not likely a problem caused by machine/package configuration.