Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nothing after python3 test.py #5

Open
GeminiBigbang opened this issue Feb 25, 2019 · 8 comments
Open

nothing after python3 test.py #5

GeminiBigbang opened this issue Feb 25, 2019 · 8 comments

Comments

@GeminiBigbang
Copy link

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
Copy link
Author

does this code must run under multicore CPU?

@fritzalder
Copy link
Contributor

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.

@GeminiBigbang
Copy link
Author

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.

@fritzalder
Copy link
Contributor

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..

@GeminiBigbang
Copy link
Author

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"

@fritzalder
Copy link
Contributor

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

@GeminiBigbang
Copy link
Author

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".

@yangningning
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants