Xyzsam/gem5-Aladdin missing build director
peterhchen opened this issue · 13 comments
The following site:
https://gitlab.engr.illinois.edu/ayooshb2/gem5-aladdin
has the “build” directory
Xyzsam/gem5-aladdin image doesn’t contain the “build” directory. Your documents say
scons build/…
can not build. Very confusing
Scons will create the directory by itself if it's the first time gem5 is being built. See https://www.gem5.org/documentation/learning_gem5/part1/building/. Are you having some other specific issue?
Also, https://gitlab.engr.illinois.edu/ayooshb2/gem5-aladdin was forked from us 3 years ago, so it's very out of date at this point.
There's a lot of questions here, I'll try to answer them one at a time...
- Need user guide for simple example: please see https://github.com/harvard-acc/gem5-aladdin#running-gem5-aladdin
- How do the python scripts invoke the cpp code? This is fundamental to how gem5 works. Please read the gem5 documentation here to get started; they do a great job explaining how Python and C++ work together. As an example, you can read this to see how to build a new SimObject, which spans both C++ and Python. Respectfully, explaining this is not our job, it belongs to gem5.
- Videos? Sorry, no videos, and we have no plans to make any.
scons build
should work; if not, try "python2.7which scons
build/X86/gem5.opt", as suggested here.- "We have around 5-20 workers in our groups suffering how to use gem5-aladdin": I'm thankful for your interest, and I'm happy to help with the learning curve, but you would need to include more information. Just saying "scons build produces errors" is not a useful bug report.
- "Provide more scenarios code examples/configuration": again, this is not useful. What scenarios are you interested in? We have a lot of demos in the integration tests and a sophisticated deep learning framework called SMAUG.
Again, many more questions and requests:
- A simple installation script: gem5-aladdin is not a tool to be installed. There is no complicated build or setup process. The docker image prepares all your dependencies and environment variables for you and all you need to do is to type
scons build/X86/gem5.opt
and wait. - You want a run.sh: every single integration test has a run.sh for you to run. Example:
src/aladdin/integration-test/with-cpu/test_load_store/run.sh
. This has been made very clear in the not-so-long README, which I have linked above. - You refer to attached ppts, but there are no attachments that I can see.
- Confusing website: what website are you referring to? gem5-aladdin does not have an official website. https://gitlab.engr.illinois.edu/ayooshb2/gem5-aladdin is not maintained by us; we hold no responsibility for any confusing or misleading statements they may or may not have posted.
- Videos: as I have said before, we have no plans to make any videos, end of story.
In summary, it appears that you are having some trouble getting started with the simulator, but after all this time, I have no idea what your problems are. You have attached no simulator logs, no command line input/output, no artifacts, and no instructions for reproducing any bug or issue you hare facing. This is not how you file a bug report. harvard-acc/smaug#102 provides an excellent example of how bug reports should be filed: include all the steps and modifications you made to the code so I can reproduce it. In that case, I was able to reproduce the bug in less than 10 minutes, and I spent several days investigating that bug and resolving it.
Let me also reiterate that I investigate every single issue filed for gem5-aladdin, LLVM-Tracer, and SMAUG, despite the fact that I have long since graduated from my Ph.D., and maintaining this research infrastructure is something I do in my spare time because I am grateful that people are still interested and actively using this code. I am happy to fix bugs in the code; however, this issue has not indicated thus far any specific problems that I can take action on. All that you have asked for is a YouTube video series, and I have no plans to make any such videos.
If you have specific questions about anything, I am happy to answer them. But please do not ask for videos again, and please do not post bug reports like this; it is a waste of everyone's time.
Attachments sent via an email response do not appear in Github issues. Please go to the Github issue page itself and attach them there.