Closed peterhchen closed 3 years ago
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.
Need a user guide for simple hands on example
docker run xyzsam/gem5-Aladdin
cd /workspace/gem5-alluding/build/X86
gem5.opt *.py
scons build… works. It cause error.
Peter H. Chen
On Fri, Oct 22, 2021 at 10:58 AM Sam Xi @.***> wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-949848950, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD4IAN7YI77LROYK2ALUIGQ27ANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
Provide a Script for gem5-Aladdin installation Or simple
pip install gem5-Aladdin
a simple example to run gem5-Aladdin
Provide more scenarios code examples/configuration
On Fri, Oct 22, 2021 at 10:58 AM Sam Xi @.***> wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-949848950, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD4IAN7YI77LROYK2ALUIGQ27ANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
Attached document is for Putty to common zone and docker run for gem5-aladdin. We have around 5-20 workers in our groups suffering how to use gem5-aladdin.
On Fri, Oct 22, 2021 at 10:58 AM Sam Xi @.***> wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-949848950, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD4IAN7YI77LROYK2ALUIGQ27ANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
There's a lot of questions here, I'll try to answer them one at a time...
scons build
should work; if not, try "python2.7 which scons
build/X86/gem5.opt", as suggested here.Make simple example just like attached in previous ppt. Every member in our group follow it snd can understand. Describe it snd capture the image what you did.
Your web site text descriptions causes lot of confusing. We follow them and not working. We all gave up.
On Fri, Oct 22, 2021 at 3:14 PM Sam Xi @.***> wrote:
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 https://www.gem5.org/documentation/learning_gem5/introduction/ to get started; they do a great job explaining how Python and C++ work together. As an example, you can read this https://www.gem5.org/documentation/learning_gem5/part2/helloobject/ 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.7 which scons build/X86/gem5.opt", as suggested here https://www.gem5.org/documentation/learning_gem5/part1/building.
- "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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-949988485, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD4K6DCKXFTW55UOHITUIHO37ANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
Make 5-20 video series. At the introduction video. Introduce the folder structure. How you make. User will compare why we got the write message and you do not. That way, user can gain the confidence about how to use the tool.
Show the user case by case. What do you want to achieve in each case Just like gem5 does. I can follow gem5 video.
On Fri, Oct 22, 2021 at 3:14 PM Sam Xi @.***> wrote:
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 https://www.gem5.org/documentation/learning_gem5/introduction/ to get started; they do a great job explaining how Python and C++ work together. As an example, you can read this https://www.gem5.org/documentation/learning_gem5/part2/helloobject/ 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.7 which scons build/X86/gem5.opt", as suggested here https://www.gem5.org/documentation/learning_gem5/part1/building.
- "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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-949988485, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD4K6DCKXFTW55UOHITUIHO37ANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
Simple installation example:
For docker image:
docker pull grm5-Aladdin
docker run -it gem5-Aladdin
cd /workspace/Aladdin/src/…
chmid 755 run.sh
./run.sh
Install gem5-Aladdin:
pip install grm5-Aladdin
Or need compile (it is too complicated)
bash setup_env.sh (setup LD_LIBRARY_PATH…)
cd ….
make If error message, then search for post issues and discuss how to fix.
Make 10-20 video series on YouTube
On Fri, Oct 22, 2021 at 3:14 PM Sam Xi @.***> wrote:
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 https://www.gem5.org/documentation/learning_gem5/introduction/ to get started; they do a great job explaining how Python and C++ work together. As an example, you can read this https://www.gem5.org/documentation/learning_gem5/part2/helloobject/ 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.7 which scons build/X86/gem5.opt", as suggested here https://www.gem5.org/documentation/learning_gem5/part1/building.
- "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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-949988485, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD4K6DCKXFTW55UOHITUIHO37ANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
Again, many more questions and requests:
scons build/X86/gem5.opt
and wait.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.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. https://github.com/harvard-acc/smaug/issues/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.
Attached is the document I made for our group
On Sat, Oct 23, 2021 at 9:54 AM Sam Xi @.***> wrote:
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 https://github.com/harvard-acc/smaug/issues/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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-950180510, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD2AZRJFUQVPWRWUZ43UILSDLANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
Attachments sent via an email response do not appear in Github issues. Please go to the Github issue page itself and attach them there.
I will cover the company IP address before I post on GitHub.
On Sat, Oct 23, 2021 at 10:30 AM Sam Xi @.***> wrote:
Attachments sent via an email response do not appear in Github issues. Please go to the Github issue page itself and attach them there.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-950185705, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD4QO5ZFCCXNCBYZJILUILWKFANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
I put the document in issues: run grm5-Aladdin On Sat, Oct 23, 2021 at 10:30 AM Sam Xi @.***> wrote:
Attachments sent via an email response do not appear in Github issues. Please go to the Github issue page itself and attach them there.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harvard-acc/ALADDIN/issues/47#issuecomment-950185705, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADBSBD4QO5ZFCCXNCBYZJILUILWKFANCNFSM5GQR56EA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Sincerely Yours, Peter H. Chen
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