Skip to content
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

Xyzsam/gem5-Aladdin missing build director #47

Closed
peterhchen opened this issue Oct 22, 2021 · 13 comments
Closed

Xyzsam/gem5-Aladdin missing build director #47

peterhchen opened this issue Oct 22, 2021 · 13 comments

Comments

@peterhchen
Copy link

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

@xyzsam
Copy link
Member

xyzsam commented Oct 22, 2021

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.

@peterhchen
Copy link
Author

peterhchen commented Oct 22, 2021 via email

@peterhchen
Copy link
Author

peterhchen commented Oct 22, 2021 via email

@peterhchen
Copy link
Author

peterhchen commented Oct 22, 2021 via email

@xyzsam
Copy link
Member

xyzsam commented Oct 22, 2021

There's a lot of questions here, I'll try to answer them one at a time...

  1. Need user guide for simple example: please see https://github.com/harvard-acc/gem5-aladdin#running-gem5-aladdin
  2. 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.
  3. Videos? Sorry, no videos, and we have no plans to make any.
  4. scons build should work; if not, try "python2.7 which scons build/X86/gem5.opt", as suggested here.
  5. "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.
  6. "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.

@peterhchen
Copy link
Author

peterhchen commented Oct 23, 2021 via email

@peterhchen
Copy link
Author

peterhchen commented Oct 23, 2021 via email

@peterhchen
Copy link
Author

peterhchen commented Oct 23, 2021 via email

@xyzsam
Copy link
Member

xyzsam commented Oct 23, 2021

Again, many more questions and requests:

  1. 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.
  2. 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.
  3. You refer to attached ppts, but there are no attachments that I can see.
  4. 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.
  5. 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.

@xyzsam xyzsam closed this as completed Oct 23, 2021
@peterhchen
Copy link
Author

peterhchen commented Oct 23, 2021 via email

@xyzsam
Copy link
Member

xyzsam commented Oct 23, 2021

Attachments sent via an email response do not appear in Github issues. Please go to the Github issue page itself and attach them there.

@peterhchen
Copy link
Author

peterhchen commented Oct 23, 2021 via email

@peterhchen
Copy link
Author

peterhchen commented Oct 23, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants