CASP-Systems-BU / Secrecy

A relational Multi-Party Computation framework for analytics in untrusted clouds
Apache License 2.0
23 stars 6 forks source link

make: *** No rule to make target `test_planner_q1.out'. Stop. #3

Open qizhi-zhang opened 1 year ago

qizhi-zhang commented 1 year ago

Hi, I try to run the code like

image

But, i got the error like

image

Could you give me some hints about it please?

mfaisal97 commented 1 year ago

Hello,

Thank you so much for reaching out, we have updated the readme.

Our starting point is a file called planner.cpp.

You can compile and run as in the new readme file as follows after setting up the framework:

      cd build
      make planner
      mpirun -np 3 ./planner ../examples/queries/q1.txt ../examples/schemas/q1_schema.txt 128 128  // Will compile and run Q1 with 128 and 128 rows per input tables

You can check examples for more queries and schemas.

qizhi-zhang commented 1 year ago

Thanks for your quick response. I tried cd build make planner mpirun -np 3 ./planner ../examples/queries/q1.txt ../examples/schemas/q1_schema.txt 128 128 // Will compile and run Q1 with 128 and 128 rows per input tables

I see there are three running progresses "planner", but I find that there is not communication between progresses.
Does the executable file "planner" only generate the planner, but don't execute the plan?

If I wish execute a SQL like "select a.key, sum(b.value) from a join b on a.id=b.id", how can I do it?

Thanks you very much !