chenxiang2019 / domino

An attempt of running domino program following SIGCOMM'16 "Packet Transactions".
MIT License
2 stars 0 forks source link

Hi! I am learning the Domino, and there are two questions. #1

Open Caoyvming opened 3 years ago

Caoyvming commented 3 years ago

Firstly: I have already installed the whole environment of DominoCompiler under the guide in your README.md (more detailed than MITs). But, when I try to run "./compile.sh domino_programs/flowlets.c banzai_atoms/pair.sk 30 10_", the Terminal returns that: "Usage: ./compile.sh domino_program atom_template pipeline_depth pipeline_width run_preproc ". What does "run_preproc" mean? It is a file or a option in compile.sh?

Sencondly: I just start learn Domino in http://web.mit.edu/domino/, and have not grasp the main points about the language. I think with some detailed example of Domino, I can learn fast. So can you offer some tutorail links about Domino?

chenxiang2019 commented 3 years ago

Hi, thank you for your questions. For your first question, since this repository was completed three years ago, I have forgot many details of running Banzai and Domino. But the detailed commit logs in the domino-example repository indicate that the author submitted a commit two years ago, and the commit shows that run_preproc means running preprocessor. It seems that this parameter is a boolean variable that decides whether to run a preprocessor. In this case, I think you can try to set run_preproc to 0 or 1 to make the compiler work. Another method is to clone the old version of domino, and follow the instructions in this repository to setup domino. As for your second problem, I'm sorry that I cannot provide more suggestions on domino. At that time when I was writing these instructions, I was just curious about how domino work in reality, but didn't dive into the details of domino. I think you can directly drop an email to the first author (now Prof. Anirudh Sivaraman at NYU) of domino.