Closed karannewatia closed 2 years ago
Can you share what you called on the command line?
Here's how I compiled the two scripts, where 'mult' is the name of the second MPC. I ran it similarly for the first one.
./compile.py -P 38639198081814229462160136773013017198593 mult
Here's how I ran them:
./sy-shamir-party.x -N 5 -T 2 -p 0 mult & ./sy-shamir-party.x -N 5 -T 2 -p 1 mult & ./sy-shamir-party.x -N 5 -T 2 -p 2 mult & ./sy-shamir-party.x -N 5 -T 2 -p 3 mult & ./sy-shamir-party.x -N 5 -T 2 -p 4 mult
(5 players, threshold of 2)
Thank you for providing this information. You should find that b0e7857cbc29dfa12d5339abf114e83f10b9baf9 fixes it.
Hi,
I'm getting an error when writing shares in an MPC, then reading those shares and performing computations on those shares in a different MPC.
Here's an example:
First MPC code:
Second MPC code:
Here's the output of one the players:
So, it seems that even though the correct result is being printed, the second MPC throws an aborted :(core dumped) error for some reason.
I'm using the same number of players for both MPCs, and I also use the same prime modulus for both of them. Do you know if I'm doing something incorrectly in one of the MPCs, or if there is a bug on your end?
Thank you in advance for your help!