help running examples

44 views
Skip to first unread message

Hanan

unread,
Nov 28, 2021, 11:05:33 AM11/28/21
to SPDZ/SCALE-MAMBA Discussion Group
Hi

I have followed the instructions in section 3.1.1 ("Installing and running using nix-shell"), and I am getting an error message when trying to compile the example.

The steps:
1. cloned the repo
2. ran `curl -L https://nixos.org/nix/install | sh` followed by `nix-shell`. 
3. everything seems to compile without any error messages
4. copied CONFIG to CONFIG.mine commenting out OSSL and ROOT lines, and adding a line: "ROOT = .."
5. executing `./compile.sh Programs/test_fix_array` results in the error message that the file "Data/SharingData.txt" is missing

I have seen, later in the documentation references to running Setup.x and Player.x
Are they necessary for this step?
If so, what are the proper parameters for running them to get the examples running

thanks

Nigel Smart

unread,
Nov 28, 2021, 12:24:01 PM11/28/21
to sp...@googlegroups.com
Yep. You need to either run Setup.x or copy one of the
default set ups over.

As for what are the correct parameters, it depends on
how many parties you want to work with, and what you
will tolerate as a the unumber of bad parties

Nigel
> --
> You received this message because you are subscribed to the Google
> Groups "SPDZ/SCALE-MAMBA Discussion Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to spdz+uns...@googlegroups.com
> <mailto:spdz+uns...@googlegroups.com>.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/spdz/b638e084-cba7-4124-ad2a-34a6c4111998n%40googlegroups.com
> <https://groups.google.com/d/msgid/spdz/b638e084-cba7-4124-ad2a-34a6c4111998n%40googlegroups.com?utm_medium=email&utm_source=footer>.
OpenPGP_signature

Hanan

unread,
Nov 28, 2021, 5:26:24 PM11/28/21
to SPDZ/SCALE-MAMBA Discussion Group
Thanks
I followed the instructions in section 3.4, named "Idiot's Installation". Perhaps, to lower the bar for the common idiot, these instructions should be pushed up to section 3.1 as default settings.
The examples are working, and I can proceed with my research

thanks again

abdelrahaman aly

unread,
Dec 8, 2021, 2:15:27 AM12/8/21
to SPDZ/SCALE-MAMBA Discussion Group
It may be of help, As Nigel points out,  if you go and check on the Auto-Test-Data, has a bunch of "ready-to-go" configurations that you could use. It also has a super cool README.txt with an explanation of what is it there and how is it about. If you use them, don't forget to also copy the Certs you can find there (Auto-Test-Data) to SM Cert-Store. 

Kr,
Abdel.
Reply all
Reply to author
Forward
0 new messages