minionn icon indicating copy to clipboard operation
minionn copied to clipboard

nothing after python3 test.py

Open GeminiBigbang opened this issue 6 years ago • 8 comments

Hi, i have finished to input the command about ABY and SEAL, and there is no errors during the install. but when i input "python3 test.py",the terminal show nothing but several command as follow: $cd lib $python3 test.py Compiling /home/yyy/minionn/minionn-master/lib/minionn.cpp running build_ext building 'minionn' extension creating /tmp/tmps8_d88cd/home creating /tmp/tmps8_d88cd/home/yyy creating /tmp/tmps8_d88cd/home/yyy/minionn creating /tmp/tmps8_d88cd/home/yyy/minionn/minionn-master creating /tmp/tmps8_d88cd/home/yyy/minionn/minionn-master/lib

and i waited a long time but there isn't any change. i don't know why....

GeminiBigbang avatar Feb 25 '19 13:02 GeminiBigbang

does this code must run under multicore CPU?

GeminiBigbang avatar Feb 26 '19 13:02 GeminiBigbang

Try disabling parallel compilation in lib/minionn.cpp line 20 or so. Set: cfg['parallel'] = False instead of True. Then, you should get better error messages what went wrong.

fritzalder avatar Feb 26 '19 14:02 fritzalder

i changed my VM to be 4 core,but still cannot run test.py and test_mpc_xxx.py successfully, the same command as the question described showed on the terminal.

GeminiBigbang avatar Feb 27 '19 02:02 GeminiBigbang

The error has nothing to do with the amount of cores you give your VM. Tell me what disabling the cfg['parallel'] brings, maybe I can help you then..

fritzalder avatar Feb 27 '19 10:02 fritzalder

i delete that line“cfg['parallel'] = True.” and after running test.py ,the last line in terminal is "error: command 'x86_64-linux-gun-gcc' failed with exit status 1"

GeminiBigbang avatar Feb 27 '19 11:02 GeminiBigbang

Have you checked the other threat on a similar issue? Apparently SEAL requires GNUC >= 6, maybe thats what happens here.

fritzalder avatar Feb 28 '19 11:02 fritzalder

my gcc version is 7.3.0, so is g++. i have deleted the line“cfg['parallel'] = True.” and the error is"error: command 'x86_64-linux-gun-gcc' failed with exit status 1".

GeminiBigbang avatar Feb 28 '19 12:02 GeminiBigbang

I also encountered the same problem. How did you finally solve it,Author?

yangningning avatar Mar 22 '19 02:03 yangningning