-
Notifications
You must be signed in to change notification settings - Fork 10
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
install metalibm error #14
Comments
Hi! The options that we used for our experiments are in the https://github.com/malyzajko/daisy/blob/approx/scripts/approx/ folder, e.g. the rundaisy.sh script will just run Daisy. The scripts synthesis_*.sh will run our entire experiments, including evaluation/compilation of the generated files with Xilinx, but you could comment out that part, or have a look at the options that we used. In your second run, it did run Metalibm, but this is different code and approach than what was in our ATVA'19 paper. If you want to use the --metalibm flag (from our CAV'19), I think master is probably better, as that code was updated later. |
Thank you for your detailed reply. I am now trying to run the code of the main branch. The use of metalibm has bothered me for several days, It would be better if you could provide a Linux image file with the environment installed. |
I unfortunately do not have such a Linux image, nor a Linux machine right now. If it is easier, feel free to contact me via email (eva@mpi-sws.org) to try to debug the issues. |
OK,Thank you very much. In the branch of approx, the readme file in Scripts/approx folder mention that "The scripts were successfully run in the Ubuntu 18.1 virtual machine", maybe the author of ATVA'19 paper can offer Linux image(about VMware or VisualBox) about the work which is exactly what I want. |
All we can do is follow exactly the instructions in the artifact evaluation README file: https://github.com/malyzajko/daisy/tree/approx/scripts/approx/README.md, using the VM from Zenodo. Did you try this, and did this fail at some point? |
Thank you for trying to solve the problem. I've tried, and the reason for the failure is similar to that described at the beginning of the issue.
|
That is not an installation issue then. You are not running the code from the ATVA'19 paper with the command you are using (the --metalibm command is running the code from our CAV'19 paper on floating-point approximations, both use Metalibm). If you want to run the ATVA code, which is the one the approx branch is meant for, you need to run e.g.: Note, you need to use --approx flag. Also note the different benchmark file that was used for the ATVA experiments. Please see this folder for the full scripts that were used for the experiments in the ATVA paper: https://github.com/malyzajko/daisy/tree/approx/scripts/approx (There is also a README file that was used for artifact evaluation.) |
However, one thing that may have happened, is that for our CAV'19 and ATVA'19 papers, we use two different (modified) versions of Metalibm. Hence, if you installed the version for the --metalibm flag, then it will likely not work with the --approx flag. |
OK, thanks. I'll try it. |
I run the code of ATVA'19 paper, the error is as follows. How can I know the specific error.
|
Comment out the lines 189-192 in Main.scala, then you will see the specific error. |
OK, thanks. |
I have successfully run the code of the main branch.
|
I suspect this error is because you have the main-branch version of Metalibm installed, and not the one needed for the approx branch - Daisy cannot parse the output produced from Metalibm, which is the part (among others) that we modified for the ATVA paper. |
Before installing Daisy, I already installed metalibm in Linux, so the problem may be here.I really very much appreciate your guidance and help. |
Hello,I have successfully run the code of the main branch.
|
Hi! |
hello, I want to use the code of branch "approx" and I install all the environment.
But when I use command
run --approx --apfixed --lang=C --precision=Float64 --functions=axisRotationX testcases/approx/Benchmarks_large.scala --no-refinement
, an error occurred.I have install metalibm.
How can I know the specific error?
The text was updated successfully, but these errors were encountered: