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

Running #2

Open
thiline opened this issue Dec 27, 2020 · 9 comments
Open

Running #2

thiline opened this issue Dec 27, 2020 · 9 comments

Comments

@thiline
Copy link

thiline commented Dec 27, 2020

Could you please explain a bit how to run this ? Thank you

@jnayak1
Copy link
Owner

jnayak1 commented Jan 2, 2021

Hey I just saw this. I haven't run it for over 3 years. Let me see if I can get it running again.

@jnayak1
Copy link
Owner

jnayak1 commented Jan 2, 2021

@thiline were you able to follow the instructions at the bottom of the README? Let me know if you need any additional info

@thiline
Copy link
Author

thiline commented Jan 3, 2021

@thiline were you able to follow the instructions at the bottom of the README? Let me know if you need any additional info

I could not follow that instruction. I would like to have additional info how to run the commands in Running section.

@thiline
Copy link
Author

thiline commented Jan 19, 2021

@jnayak1 When I tried to follow the instructions at the bottom I got below messages. Could you please help me with this how to run it correctly and get the expected output ? Thank you

parallels@parallels-Parallels-Virtual-Platform:/SMPC/kmp-mpc/kmp-mpc$ ./a.out 1234 -- text.txt &
[1] 4220
parallels@parallels-Parallels-Virtual-Platform:
/SMPC/kmp-mpc/kmp-mpc$ ./a.out 1234 localhost pattern.txt
[1]+ Segmentation fault (core dumped) ./a.out 1234 -- text.txt
Segmentation fault (core dumped)

@jnayak1
Copy link
Owner

jnayak1 commented Jan 23, 2021

@thiline Obliv-C and sqrtOram are prerequisites. Did you get those up and running and confirm they are working? After that, you need to export the path to them

@jnayak1
Copy link
Owner

jnayak1 commented Jan 23, 2021

Make sure you can run the test programs found in https://github.com/samee/obliv-c/tree/obliv-c/test/oblivc first

@jnayak1
Copy link
Owner

jnayak1 commented Jan 23, 2021

I'll try to see if I can dockerize this. I have some time today so I will work on getting it running.

@jnayak1
Copy link
Owner

jnayak1 commented Jan 23, 2021

samee/sqrtOram#5

I see that you were able to run sqrtOram. I am having the same difficulty referenced in this issue. How'd you solve it?

@jnayak1
Copy link
Owner

jnayak1 commented Jan 23, 2021

Never mind. I just cloned https://github.com/drn98/sqrtOram instead.
Now when I run kmp-mpc, I am getting the same segmentation fault you are. I put some fprintf messages in the programs and it looks like it is failing when creating the oram. This is the line that is failing:
https://github.com/jnayak1/kmp-mpc/blob/master/kmp.oc#L28

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

2 participants