-
Notifications
You must be signed in to change notification settings - Fork 279
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
Divide two MemValue objects? #1538
Comments
You should be to use operators just like for basic types. Futhermore, calling |
I tried but I got following error : I compiled with ./compile.py fairness -M -CDR 64 -l -X . I tried to do compile without -R 64, it gets compiled and exectued but the result is not a floating point number? |
This is because you're calling field division. What version are you using? The behaviour has changed in version 0.3.8 to be more intuitive: https://github.com/data61/MP-SPDZ/releases/tag/v0.3.8 |
I am testing in 0.3.7, will try with 0.3.8, thanks! |
getting some error when trying to install 0.3.8 version: In file included from /usr/include/openssl/conf.h:19: error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"^ I have openssl 1.1.1h and in your documentation it says OpenSSL, tested against 1.1.1, so it should have worked right? |
What system are you using, and what version of boost in particular? MP-SPDZ itself doesn't touch the variable that causes this error message? |
ubuntu 22.04 with boost 1.80 |
Ubuntu 22.04 doesn't come with boost 1.80. Maybe try removing it. MP-SPDZ installs boost when running |
how can I convet MemValue to sfix or sfloat ? |
By construction, i.e., |
getting same error does this also only work in 0.3.8? (having some issues installing it) |
Can you post the full trace? |
Default bit length for compilation: 63 |
What are the types of the variables in |
n is sint and remaining all MemValue() |
MemValue is just a container type, so how have they been initialized? |
I am using them as counters for certain triggers |
I see. If you want to make this work in the older version, you will need to convert any of them to |
thanks!! will give it a shot!! |
How can I divide two MemValue objects? if not can I convert them to some other objects? what options would I need when compiling?
The text was updated successfully, but these errors were encountered: