-
Notifications
You must be signed in to change notification settings - Fork 4
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
Make "Artifact" section from ASPLOS'20 paper work #32
Comments
Hi @andreybokhanko , We have noticed this problem and will update the Dockerfile with the proper Python dependencies soon. In the meanwhile, if you are more interested in using CPF rather than reproducing our results in the Perspective paper, I highly encourage you to follow the instructions here bootstrap and build the most up-to-date CPF and its dependencies from scratch. Then in run |
Hi @vgene , Thanks for the quick response! Yes, ultimately I'm interested in actually using CPF -- I wanted to check your Perspective results to verify that they work in my environment / use case. Unfortunately, master branch of cpf also fails in my environment (Ubuntu 20.04, gcc 9.3.0) on building llvm step. I used unmodified Makefile.example file from your bootstrap directory. Perhaps there is a problem in my environment. Could you, please, provide a Docker file for an environment that successfully builds current CPF master? Yours, |
To Compile
Dockerfile for the HeadA Dockerfile for the current environment is a great idea and we will make sure it's available by the end of this week. Fixed Dockerfile for Perspective ArtifactA fix for the Perspective paper artifact is available, @gchan510 will post it today |
Please use this Dockerfile, it contains updates for Python 3.8.
The
|
I tried the dockerfile that @gchan510 posted (along with I suggest to keep this issue open until the updated dockerfile + requirement.txt would be committed and updated instructions for artifacts reproduction be published. |
@andreybokhanko Awesome! Also note that there's a dockerfile now in the master branch. You can try to use that to build the latest CPF. |
Unfortunately, this fails for me for current ToT version (git sha1 is a5d5a43). Build finishes successfully, but executing |
Thank you for the feedback! Were you using the Dockerfile? It seems like a setup issue, the latest regression is passing https://github.com/PrincetonUniversity/cpf/runs/2725055202?check_suite_focus=true. We will double check the compilation inside docker. Could you give a brief summary of the setup including OS version, gcc and glibc version? |
Yes, this is from a container using the Dockerfile you supplied -- so this is Ubuntu 20.04, gcc 9.3.0, glibc 2.31, etc. |
Hi,
Sorry if this is a wrong place to submit such an issue -- in this case, let me know which one would be more appropriate.
After a lot of trial and error, I discovered that instructions from your "A. Artifact Appendix" section of ASPLO'20 paper (https://liberty.princeton.edu/Publications/asplos20_perspective.pdf) don't work.
Specifically, "docker build" command fails with the following error:
This can be solved by adding "RUN apt-get update" as the first RUN line; however, then we stumble on installation of required python packages:
Apparently, a lot of packages (most crucially, scipy) require Python 3.7 as the minimum, while Ubuntu 16.04 comes with Python 3.5.
I failed to solve this problem with Ubuntu 16.04 and switched to Ubuntu 20.04 (which doesn't have gcc-5, so corresponding lines have to be removed). Dockerfile that works for me is:
Unfortunately, even with this dockerfile the final step, that is supposed to run benchmarking, doesn't work:
I'm not an expert in "ck" framework, so stumbled here.
Please kindly help me to move forward or -- preferably -- post fixed instructions somewhere.
Yours,
Andrey
===
Advanced Software Technology Lab
Huawei
The text was updated successfully, but these errors were encountered: